BitShares Forum
Main => General Discussion => Topic started by: rb2 on August 31, 2014, 08:36:30 am
-
Hii,
Is there a user guide or simple howto for the CLI wallet?
I've seen http://wiki.bitshares.org/index.php/Useful_Wallet_Commands
but it is more a reference listing commands, and not a howto explaining steps to take to safely use the CLI wallet.
Thx
-
I've also been looking for a helpful beginners tutorial to the CLI.
-
Here are my notes on creating a wallet with the cli:
interesting links
https://github.com/BitShares/bitshares_toolkit/wiki/Bitshares-commands:-Wallet
http://wiki.bitshares.org/index.php/Useful_Wallet_Commands#List_wallets
Compile 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.
-
I can't do anything, unsure if it's because of the incredible spam or what, but
--- there are now 87 active connections to the p2p network
--- there are now 88 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 90 active connections to the p2p network
--- there are now 91 active connections to the p2p network
--- there are now 90 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 88 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 90 active connections to the p2p network
--- there are now 91 active connections to the p2p network
--- there are now 90 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 88 active connections to the p2p network
--- there are now 87 active connections to the p2p network
--- there are now 88 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 90 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 88 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 88 active connections to the p2p network
--- there are now 87 active connections to the p2p network
--- there are now 86 active connections to the p2p network
--- there are now 85 active connections to the p2p network
--- there are now 84 active connections to the p2p network
--- there are now 85 active connections to the p2p network
--- there are now 84 active connections to the p2p network
--- there are now 83 active connections to the p2p network
--- there are now 84 active connections to the p2p network
--- there are now 83 active connections to the p2p network
--- there are now 82 active connections to the p2p network
--- there are now 83 active connections to the p2p network
(wallet closed) >>> wallet_create
wallet_name: Bog
new_passphrase: --- there are now 84 active connections to the p2p network
--- there are now 85 active connections to the p2p network
--- there are now 84 active connections to the p2p network
--- there are now 85 active connections to the p2p network
--- there are now 86 active connections to the p2p network
--- there are now 87 active connections to the p2p network
--- there are now 88 active connections to the p2p network
wallet_name: Bog
Command aborted
--- there are now 89 active connections to the p2p network
--- there are now 90 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 88 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 90 active connections to the p2p network
--- there are now 89 active connections to the p2p network
that's over like 1 second
-
Thanks for the help, I'd also like to know how to quieten the announcement of the number of active connections.
-
I can't do anything, unsure if it's because of the incredible spam or what, but
--- there are now 87 active connections to the p2p network
--- there are now 88 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 90 active connections to the p2p network
--- there are now 91 active connections to the p2p network
--- there are now 90 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 88 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 90 active connections to the p2p network
--- there are now 91 active connections to the p2p network
--- there are now 90 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 88 active connections to the p2p network
--- there are now 87 active connections to the p2p network
--- there are now 88 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 90 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 88 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 88 active connections to the p2p network
--- there are now 87 active connections to the p2p network
--- there are now 86 active connections to the p2p network
--- there are now 85 active connections to the p2p network
--- there are now 84 active connections to the p2p network
--- there are now 85 active connections to the p2p network
--- there are now 84 active connections to the p2p network
--- there are now 83 active connections to the p2p network
--- there are now 84 active connections to the p2p network
--- there are now 83 active connections to the p2p network
--- there are now 82 active connections to the p2p network
--- there are now 83 active connections to the p2p network
(wallet closed) >>> wallet_create
wallet_name: Bog
new_passphrase: --- there are now 84 active connections to the p2p network
--- there are now 85 active connections to the p2p network
--- there are now 84 active connections to the p2p network
--- there are now 85 active connections to the p2p network
--- there are now 86 active connections to the p2p network
--- there are now 87 active connections to the p2p network
--- there are now 88 active connections to the p2p network
wallet_name: Bog
Command aborted
--- there are now 89 active connections to the p2p network
--- there are now 90 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 88 active connections to the p2p network
--- there are now 89 active connections to the p2p network
--- there are now 90 active connections to the p2p network
--- there are now 89 active connections to the p2p network
that's over like 1 second
just ignore the spam .. the input will continue as intended ..
you may reduce the number of connections in the config.json file in your bitsharesX home directory (see "getinfo")
-
Hii,
Is there a user guide or simple howto for the CLI wallet?
I've seen http://wiki.bitshares.org/index.php/Useful_Wallet_Commands
but it is more a reference listing commands, and not a howto explaining steps to take to safely use the CLI wallet.
Thx
That wiki entry isn't the most useful, but was just a real basic attempt at grouping cli commands. The problem is they change etc, and so it is questionable how much effort should be put into that sort of documentation.
Now a basic CLI how to could be done, but you'd sort of need to define what you are attempting to do ? Most people who use the CLI are going to be delegates, and those who aren't delegates will use the GUI. So I would be at a loss as to where to start up such a how-to.
-
Now a basic CLI how to could be done, but you'd sort of need to define what you are attempting to do ? Most people who use the CLI are going to be delegates, and those who aren't delegates will use the GUI. So I would be at a loss as to where to start up such a how-to.
It's basically, how to import your PTS wallet, and how to vote. I'm asking for this because I can't get the linux GUI to compile, and no precompiled binaries are provided (yet).
-
Now a basic CLI how to could be done, but you'd sort of need to define what you are attempting to do ? Most people who use the CLI are going to be delegates, and those who aren't delegates will use the GUI. So I would be at a loss as to where to start up such a how-to.
It's basically, how to import your PTS wallet, and how to vote. I'm asking for this because I can't get the linux GUI to compile, and no precompiled binaries are provided (yet).
This was a first edition portion that refers to importing PTS wallet. http://wiki.bitshares.org/index.php/BitShares_X_How-To#Attempting_a_wallet_import_to_receive_BTSX_from_February_28th_snapshot (http://wiki.bitshares.org/index.php/BitShares_X_How-To#Attempting_a_wallet_import_to_receive_BTSX_from_February_28th_snapshot)
I am not sure about a nice voting walk-thru but I would suggest listening to the latest currently https://soundcloud.com/beyond-bitcoin-hangouts/bitshares-community-and-developer-hangout-9-5-2014 (https://soundcloud.com/beyond-bitcoin-hangouts/bitshares-community-and-developer-hangout-9-5-2014)
-
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.
My "client_version": "v0.4.25-RC1" has
wallet_backup_create
wallet_backup_restore
Also handling json copies.