BitShares Forum

Main => Technical Support => Topic started by: karnal on April 01, 2015, 12:32:54 pm

Title: Multiple wallets supported?
Post by: karnal on April 01, 2015, 12:32:54 pm
I'm thinking of separating accounts logically in wallets. Through the console it seems to be possible, though I am still finding out the necessary commands.

Does the GUI support operating like this as all ? Through 'Import wallet', I would suppose.
Title: Re: Multiple wallets supported?
Post by: karnal on April 01, 2015, 02:46:08 pm
Clearly it's not through 'Import wallet'.. I tried to run BitShares with -h, --help, both ignored.

Is it possible to point BitShares to a certain wallet on startup? Since doing it after startup does not appear to be possible (do correct me if this is wrong)
Title: Re: Multiple wallets supported?
Post by: karnal on April 01, 2015, 04:43:53 pm
Besides moving the wallet directory (mv default default.orig && mv new_wallet default) so that the client picks the new wallet up by default, does anyone have any other suggestions?


Doing it like this is a) impractical and b) might mess up some configuration file, resulting in having to sync the whole blockchain (I have wallet backups so data loss is not my concern here)
Title: Re: Multiple wallets supported?
Post by: wartablog on April 13, 2015, 07:42:26 am
no one responds    ???
Title: Re: Multiple wallets supported?
Post by: robrigo on April 13, 2015, 07:57:26 am
Hey Karnal,

You can include the argument flag:

 --data-dir /new/app/data/path

when starting the client on the CLI to change the application data directory that your wallet is pointed at.

On another note, I think you will be able to use the Recovery Key brainwallet mechanism in the web wallet to use the same wallet at different physical locations soon (so long as you have your brain key memorized).

Eventually the recovery key will be standardized to be usable across all clients AFAIK. Looking forward to moving my funds into a brain wallet specifically that can be used on the fly from both desktop and web wallets.
Title: Re: Multiple wallets supported?
Post by: svk on April 13, 2015, 12:33:26 pm
The easiest way to do this is to run the wallet in the browser by cloning the web_wallet from github. You can then simply modify the wallet_open command in wallet.coffee to take "my_wallet_name" instead of "default".
Title: Re: Multiple wallets supported?
Post by: karnal on April 13, 2015, 12:46:31 pm
Even easier (maybe) is using symlinks. In ~/.BitShares/wallets, I now have a default.old and default.new folder, and I just symlink default to whichever I want to use.

It's a bit hacky, but it works. Until it's implemented in the program, this will do  8)