Support multiple wallets
fizzy-drinks opened this issue · 1 comments
fizzy-drinks commented
As a user, I want to be able to switch between different wallets.
- Everyone starts with a
default
wallet, and all current commands still work the same; - Using
sw wallet
, a user is able to manage their wallets. Some sub-commands:sw wallet create NAME
: create a blank wallet with name NAMEsw wallet rename OLD NEW
: rename wallet OLD to NEWsw wallet use NAME
: switch to NAMEsw wallet merge SRC DST
: move SRC's contents to DST and destroy SRCsw wallet destroy NAME
: permanently delete wallet NAME and its contents (needs confirmation)
- Storage: save each wallet as
NAME.wallet
and load the wallet specified incurrent_wallet
, ordefault
fizzy-drinks commented
Moved proposal to 1.0 due to breaking change in keyring.json
. It's not currently possible to support multiple wallets without breaking previous versions of sw.