Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: CLI wallet howto?  (Read 569 times)

0 Members and 1 Guest are viewing this topic.

Offline rb2

  • Newbie
  • *
  • Posts: 16
    • View Profile
CLI wallet howto?
« 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

Offline jernau

  • Full Member
  • ***
  • Posts: 78
    • View Profile
Re: CLI wallet howto?
« Reply #1 on: August 31, 2014, 10:09:48 AM »
I've also been looking for a helpful beginners tutorial to the CLI.
PTS: PgiEykg2RATYwWYhFtyNRqwSxQyEApLSmW

Offline rb2

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: CLI wallet howto?
« Reply #2 on: August 31, 2014, 06:23:41 PM »
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.


Offline zvs

  • Full Member
  • ***
  • Posts: 193
    • View Profile
Re: CLI wallet howto?
« Reply #3 on: August 31, 2014, 11:44:46 PM »
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
Pls to join Primedice 3 and frolic about merrily whilst gambling awe-inspiring quantities of bitcoins. The power of Christ compels you.

I have a dogecoin p2pool at Nogleg.

Offline jernau

  • Full Member
  • ***
  • Posts: 78
    • View Profile
Re: CLI wallet howto?
« Reply #4 on: September 01, 2014, 09:29:47 AM »
Thanks for the help, I'd also like to know how to quieten the announcement of the number of active connections.
PTS: PgiEykg2RATYwWYhFtyNRqwSxQyEApLSmW

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12339
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: CLI wallet howto?
« Reply #5 on: September 01, 2014, 06:39:34 PM »
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")
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline gamey

  • Hero Member
  • *****
  • Posts: 2253
    • View Profile
Re: CLI wallet howto?
« Reply #6 on: September 01, 2014, 07:11:22 PM »
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.
I speak for myself and only myself.

Offline jernau

  • Full Member
  • ***
  • Posts: 78
    • View Profile
Re: CLI wallet howto?
« Reply #7 on: September 06, 2014, 06:28:55 AM »
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).
PTS: PgiEykg2RATYwWYhFtyNRqwSxQyEApLSmW

Offline gamey

  • Hero Member
  • *****
  • Posts: 2253
    • View Profile
Re: CLI wallet howto?
« Reply #8 on: September 06, 2014, 07:43:41 AM »
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

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
I speak for myself and only myself.

Offline fundomatic

  • Full Member
  • ***
  • Posts: 149
    • View Profile
Re: CLI wallet howto?
« Reply #9 on: December 11, 2014, 08:52:37 PM »

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.

 

Google+