CLI for Namada
Wallet Operations
Create a new key:
KEY_ALIAS="your_wallet"; namada wallet key gen --alias $KEY_ALIASRestore executed key:
namada wallet key restore --alias $KEY_ALIAS --hd-path defaultCheck your address wallet:
namada wallet address find --alias $KEY_ALIASCheck Wallet Balances:
namada client balance --owner $KEY_ALIASCheck All Wallet Address:
namada wallet key listSend a Transactions:
namada client transfer --source <SENDER_ADDRESS> --target <RECEIVER_ADDRESS> --token NAM --amount 10 --signing-keys $KEY_ALIASValidator Operations
check sync status and node info:
curl http://127.0.0.1:26657/status | jqcheck balance:
namada client balance --owner $ALIAScheck keys:
namada wallet key liststake funds:
namadac bond --source $ALIAS --validator $ALIAS --amount 100check your validator bond status:
namada client bonds --owner $ALIAScheck all bonded nodes:
namada client bonded-stakefind all the slashes:
namada client slashesnon-self unbonding:
namada client unbond --source aliace --validator $ALIAS --amount 1.2self-unbonding:
namada client unbond --validator $ALIAS --amount 0.3withdrawing unbonded tokens:
namada client withdraw --source aliace --validator $ALIASFind Your Validator:
namadac find-validator --tm-address=$(curl -s localhost:26657/status | jq -r .result.validator_info.address) --node localhost:26657Check epoch:
namada client epochSync and Consensus
check logs:
sudo journalctl -u namadad -fcheck sync status and node info:
curl http://127.0.0.1:26657/status | jqcheck consensus state:
curl -s localhost:26657/consensus_state | jq .result.round_state.height_vote_set[0].prevotes_bit_arrayfull consensus state:
curl -s localhost:12657/dump_consensus_stateyour validator votes (prevote):
curl -s http://localhost:26657/dump_consensus_state | jq '.result.round_state.votes[0].prevotes' | grep $(curl -s http://localhost:26657/status | jq -r '.result.validator_info.address[:12]')Last updated