Useful Commands

Official docs: https://docs.namada.net/users/transparent-accounts Faucet: https://faucet.heliax.click/

Wallet operations

create a new keypair:

namadaw gen --alias $WALLET

restore existing wallet:

namada wallet derive --alias $WALLET --hd-path default

find your wallet address:

namadaw find --alias $WALLET

add some tokens using faucet:

https://faucet.heliax.click/

check balance:

namadac balance --owner $WALLET

check all known keys and addresses in the wallet:

namadaw list

send payment from one address to another:

namadac transfer --source $WALLET --target ${WALLET}1 --token NAAN --amount 1 --signing-keys $WALLET --memo $MEMO

remove keys:

namadaw remove --alias $WALLET --do-it

Staking

add a variable with the validator address:

export the variable:

delegate tokens:

check your user bonds:

check all bonded nodes:

add stake:

unbond the tokens:

wait for 6 epochs, then check when the unbonded tokens can be withdrawed:

withdraw unbonded tokens:

redelegate:

claim rewards:

query the pending reward tokens without claiming:

Multisign

generate key_1:

generate key_2 and etc:

chech your public key:

init non-multisig account (single signer):

init multisig account (at least 2 signers):

create a folder for a transaction:

create transaction:

sign the transaction:

save as a variable offline_signature 1:

save as a variable offline_signature 2:

submit transaction:

changing the multisig threshold:

check that the threshold has been updated correctly by running:

changing the public keys of a multisig account:

initialize an established account:

MASP

randomly generate a new spending key:

create a new payment address:

send a shielding transfer:

view balance:

generate another spending key:

create a payment address:

shielded transfers (once the user has a shielded balance, it can be transferred to another shielded address):

unshielding transfers (from a shielded to a transparent account):

Validator operations

check sync status and node info:

check balance:

check keys:

find your validator address:

stake funds:

self-bonding:

check your validator bond status:

check your user bonds:

check all bonded nodes:

find all the slashes:

non-self unbonding (validator alias can be used instead of address):

self-unbonding:

withdrawing unbonded tokens (available 6 epochs after unbonding):

find your validator status:

check epoch:

unjail, you need to wait 2 epochs:

deactivate validator:

reactivate validator:

Change consensus key:

Generate priv_validator_key:

change validator commission rate:

change validator metadata:

Governance

all proposals list:

edit proposal:

save wallet address:

import the variable into system:

vote:

Sync and Consensus

check logs:

check sync status and node info:

check consensus state:

full consensus state:

your validator votes (prevote):

Last updated