syscoin / blockmarket-desktop-public

Public location for issue reporting on the Blockmarket Desktop public data, built using Syscoin blockchain technology.
http://blockchainfoundry.co
30 stars 25 forks source link

Backup function #271

Open Keyare opened 6 years ago

Keyare commented 6 years ago

Create a "Backup" feature (just a ui exporting wallet.dat to a user selected location) This will eliminate guiding the user to often hidden %appdata% folders which takes a lot of support time with the amount of incoming new users that are new to crypto, and spoiled by web wallets.

Keyare commented 6 years ago

Will also need to Figure out how this would work for the Web version.

dwasyluk commented 6 years ago

Need to discuss this with @jeroenvanwissen as it would most likely be handled in the wrapper layer for desktop. For Web it would be something more akin to exporting their private key but we need to figure out proper handling and security around that as well, just a lil different than the desktop scenario.

dwasyluk commented 6 years ago

There is a possibility of doing this with the dumpwallet and importwallet APIs already present in syscoin-api. We could make the experience even better (for read at least) if we can present an OS-dialog for file selection, this may require interaction with the wrapper layer. Because dumpwallet writes in a diffferent format than wallet.dat, we should use a custom extension for backups like .sys. Both of these functions appear to read/write from the location of the blockmarket executable.