CLI Cheatsheet
to check logs of your node
sudo journalctl -u hippod -f -o cat
to start your node service
sudo systemctl start hippod
Stop service
sudo systemctl stop hippod
Restart node
sudo systemctl restart hippod
to check sync status
hippod status 2>&1 | jq .SyncInfo
Node info
hippod status 2>&1 | jq .NodeInfo
show node ID
hippod tendermint show-node-id
delete wallet
hippod keys delete $WALLET
to check wallet balance
hippod q bank balances $(hippod keys show $WALLET -a)
transfer funds to another wallet
hippod tx bank send wallet <TO_WALLET_ADDRESS> 1000000ahp --from $WALLET --chain-id hippo-protocol-1 --gas-prices=0.25ahp --gas-adjustment=1.5 --gas=auto
View evm priv key
hippod keys unsafe-export-eth-key $WALLET
Withdraw all rewards
hippod tx distribution withdraw-all-rewards --from $WALLET --chain-id hippo-protocol-1 --gas-prices=0.25ahp --gas-adjustment=1.5 --gas=auto
withdraw rewards and comission from your validator
hippod tx distribution withdraw-rewards $(hippod keys show wallet --bech val -a) --commission --from $WALLET --chain-id hippo-protocol-1 --gas-prices=0.25ahp --gas-adjustment=1.5 --gas=auto
check your balance
hippod query bank balances $WALLET_ADDRESS
delegate to your self
hippod tx staking delegate $(hippod keys show wallet --bech val -a) 1000000ahp --from $WALLET --chain-id hippo-protocol-1 --gas-prices=0.25ahp --gas-adjustment=1.5 --gas=auto
redelegate stake to another validator
hippod staking redelegate $(hippod keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000ahp --from $WALLET --chain-id hippo-protocol-1 --gas-prices=0.ahp --gas-adjustment=1.5 --gas=auto
unbound stake
hippod tx staking unbond $(hippod keys show wallet --bech val -a) 1000000ahp --from $WALLET --chain-id hippo-protocol-1 --gas-prices=0.25ahp --gas-adjustment=1.5 --gas=auto
transfer funds
hippod tx bank send $WALLET <TO_WALLET_ADDRESS> 1000000ahp --from $WALLET --chain-id hippo-protocol-1 --gas-prices=0.25ahp --gas-adjustment=1.5 --gas=auto
validator details
hippod q staking validator $(hippod keys show $WALLET --bech val -a)
jailing info
hippod q slashing signing-info $(hippod tendermint show-validator)
unjail validator
hippod tx slashing unjail --from $WALLET --chain-id hippo-protocol-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
sudo systemctl stop hippod && sudo systemctl disable hippod && sudo rm /etc/systemd/system/hippod.service && sudo systemctl daemon-reload && rm -f $(which hippod) && rm -rf .hippo