Here are my notes on creating a wallet with the cli:
interesting links
https://github.com/BitShares/bitshares_toolkit/wiki/Bitshares-commands:-Wallethttp://wiki.bitshares.org/index.php/Useful_Wallet_Commands#List_walletsCompile the bitsharesx as described in the readme, but don't build the web wallet or qt interface.
Then:
cd programs/client
./bitshares_client
wallet_create $name
-> will ask for password
close
-> will close the wallet
open
-> will ask for wallet name to open. Stays locked
unlock
-> will ask for password to unlock wallet
Now we need to create an account (
http://wiki.bitshares.org/index.php/BitShares_X_Glossary#Account )
wallet_account_create
-> will ask for name
-> will return public info to share with payers in the form btsx:$myaccountname:GFDSJGKSDFHGZE234R2ANFD
ask some btsx to register you name. The address to give is the last part, in this case: GFDSJGKSDFHGZE234R2ANFD
Then check you balance:
balance
-> will show you the balance of your accounts
wallet_account_register to register account on blockchain
wallet_account_transaction_history to list transactions
For backups:
wallet_export_to_json /path/file.json
wallet_create_from_json /path/file.json
I tested exporting, importing on a blank install, changing passphrase. All seems fine.