CLI-cheatsheet
CLI Cheatsheet
to check logs of your node
sudo journalctl -u axoned -f -o cat
to start your node service
sudo systemctl start axoned
Stop service
sudo systemctl stop axoned
Restart node
sudo systemctl restart axoned
to check sync status
axoned status 2>&1 | jq .SyncInfo
Node info
axoned status 2>&1 | jq .NodeInfo
show node ID
axoned tendermint show-node-id
delete wallet
axoned keys delete $WALLET
to check wallet balance
axoned q bank balances $(axoned keys show $WALLET -a)
transfer funds to another wallet
axoned tx bank send wallet $WALLET 1000000uaxone --from wallet --chain-id axone-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.01uaxone -y
View evm priv key
axoned keys unsafe-export-eth-key $WALLET
Withdraw all rewards
axoned tx distribution withdraw-all-rewards --from wallet --chain-id axone-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.01uaxone -y
withdraw rewards and comission from your validator
axoned tx distribution withdraw-rewards $(axoned keys show wallet --bech val -a) --commission --from wallet --chain-id axone-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.01uaxone -y
check your balance
axoned query bank balances $WALLET_ADDRESS
delegate to your self
axoned tx staking delegate $(axoned keys show wallet --bech val -a) 1000000uaxone --from wallet --chain-id axone-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.01uaxone -y
redelegate stake to another validator
axoned tx staking redelegate $(axoned keys show wallet --bech val -a) 1000000uaxone --from wallet --chain-id axone-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.01uaxone -y
unbound stake
axoned tx staking unbond $(axoned keys show wallet --bech val -a) 1000000uaxone --from wallet --chain-id axone-1 --gas auto --gas-adjustment 1.5 --gas-prices 0.01uaxone -y
validator details
axoned q staking validator $(axonedkeys show $WALLET --bech val -a)
jailing info
axoned q slashing signing-info $(axoned tendermint show-validator)
unjail validator
axoned tx slashing unjail --from $WALLET --chain-id axone-1 --gas-prices=0.25ahp --gas-adjustment=1.5 --gas=auto
active set validator
hippod q staking validators -oj | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " " + .description.moniker' | sort -gr | nl
Delete Node
cd $HOME && sudo systemctl stop axoned && sudo systemctl disable axoned && sudo rm /etc/systemd/system/axoned.service && sudo systemctl daemon-reload && sudo rm -rf $(which axoned) && sudo rm -rf $HOME/.axoned && sudo rm -rf $(which axoned)
Last updated