I don't believe so. There is a difference between a wallet and an account:
Account: An account is similar to a deposit box and should be registered on the blockchain
Every transactions to your account name is sent to an address which is
controlled by a derived key from the account private key
Wallet: The wallet is a set of account names and corresponding private keys.
When you first created an account name, the private key for that account key
is derived from the wallet private key and can thus be recalculated from the wallet private key.
What I'm essentially asking is if it's possible to decouple a registered account from the wallet file and transfer it into another, newly created wallet file.
possible . assuming you have 2 accounts , rabbit and dog ,
Step 1 : File menu , export wallet , save it to somewhere safe .
Step 2 : export all of the private keys of each account .
go to
Advanced option under the menu of account names , select the tab of "Console" , type the following instructions and hit Enter on keyboard
wallet_dump_private_key rabbit
then you'll get a long address , copy and save it , that's the private key for "rabbit" . Assuming it's XXXXXXXXXXXXXXXXXXXXXXX.
Do the above operation again for account "dog"
wallet_dump_private_key dog
then you'll get a long address , copy and save it , that's the private key for "dog" . . Assuming it's YYYYYYYYYYYYYYYYYY.
Now , you have two private keys for 2 accounts .
Step3 : Find the datadir of BitShares . If you're using Windows system , hit Start ----Run----- , type in %appdata%/bitshares , click ok .
Then you'll be in the datadir . rename the "wallet" file folder to another name like "wallet-original" .
Step4 : Restart the BitShares wallet , and set an password for the new empty wallet .
Step5 : Go to the console like in step 2. But input the following instruction instead , and hit Enter
wallet_import_private_key XXXXXXXXXXXXXXXXXXXXXXXX
xxxxxxxxxxxx is the private key of the first account "rabbit" . If you see OK , then you can check if the name is in the wallet . If is , wait for the scanning .When it's finished , check if the balance is right . If is , then it's ok to export from File menu , save as "rabbit.json" . Finally , exit the wallet from file menu .
Step6: Find the datadir of BitShares . If you're using Windows system , hit Start ----Run----- , type in %appdata%/bitshares , click ok .
Then you'll be in the datadir . rename the "wallet" file folder to another name like "wallet-rabbit" .
Step 7 : Restart the BitShares wallet , and set an password for the new empty wallet .
Step8 : Go to the console input the following instruction , and hit Enter
wallet_import_private_key YYYYYYYYYYYYYYYYYYYYYYYYY
YYYYYYYYYYYYYYYY is the private key of the second account "dog" . If you see OK , then you can check if the name is in the wallet . If is , wait for the scanning .When it's finished , check if the balance is right . If is , then it's ok to export from File menu , save as "dog.json" . Finally , exit the wallet from file menu .
Now , you have 3 json wallet backups . Each contains different accounts . And the current running wallet is "dog" .