CLI-cheatsheet
CLI Cheatsheet
to check logs of your node
sudo journalctl -u axoned -f -o catto start your node service
sudo systemctl start axonedStop service
sudo systemctl stop axonedRestart node
sudo systemctl restart axonedto check sync status
axoned status 2>&1 | jq .SyncInfoNode info
axoned status 2>&1 | jq .NodeInfoshow node ID
axoned tendermint show-node-iddelete wallet
axoned keys delete $WALLETto 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 -yView evm priv key
axoned keys unsafe-export-eth-key $WALLETWithdraw 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_ADDRESSdelegate 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 -yunbound 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 -yvalidator 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=autoactive 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 | nlDelete 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