This article presents the commands that are most often used when working with Cosmos nodes.

IMPORTANT! Everything in "< >" need to be changed to your values

Create wallet

archwayd keys add <wallet-name>

SAVE MNEMONIC FROM OUTPUT!

List of all your wallets

archwayd keys list

Check your valoper addr

archwayd keys show <wallet-name> --bech val -a

Check balance

archwayd q bank balances <wallet-addr>

Send tokens

archwayd tx bank send <wallet-name> <wallet-addr> <amount-of-tokens>utorii --chain-id=torii-1 --gas auto -y

Delegate tokens

archwayd tx staking delegate <valoper-addr> <amount-of-tokens>utorii --from <wallet-name> --chain-id=torii-1 --gas auto -y

List of active validators

archwayd query staking validators --limit 2000 -o json | jq -r '.validators[] | select(.status=="BOND_STATUS_BONDED") | [.operator_address, .status, (.tokens|tonumber / pow(10; 6)), .description.moniker] | @csv' | column -t -s"," | sort -k3 -n -r

List of inactive validators

archwayd query staking validators --limit 2000 -o json | jq -r '.validators[] | select(.status=="BOND_STATUS_UNBONDED") | [.operator_address, .status, (.tokens|tonumber / pow(10; 6)), .description.moniker] | @csv' | column -t -s"," | sort -k3 -n -r

Create validator