Useful commands
This section contains instructions on how to manage accounts, stake and unstake tokens, vote and more.

How to create keypair

1
// output to console
2
daobet-cli create key --to-console
3
4
// output to file
5
daobet-cli create key -f keys.txt
Copied!

How to get account info

1
daobet-cli get account alice
Copied!

How to transfer tokens

1
daobet-cli transfer alice bob "25.0000 BET" "Description"
Copied!

How to check balance

1
daobet-cli get currency balance eosio.token <your_account_name>
Copied!

How to stake

This is an example of staking 5 tokens against system resources: NET, CPU, VOTE.
1
daobet-cli system delegatebw <your_account_name> <your_account_name> "5 BET" "5 BET" "5 BET"
Copied!

How to un-stake

1
daobet-cli system undelegatebw <your_account_name> <your_account_name> "5 BET" "5 BET" "5 BET"
Copied!

How to get list of Validators

1
daobet-cli system listproducers
Copied!

How to vote for Validator

1
daobet-cli system voteproducer prods <your_account_name> <validator_name>
Copied!
Copy link
Contents