Cheat Sheet
Wallet
Add New Wallet Key
hippod keys add wallet
Recover existing key
hippod keys add wallet --recover
List All Keys
hippod keys list
Query Wallet Balance
hippod q bank balances $(hippod keys show wallet -a)
Check sync status
hippod status 2>&1 | jq .sync_info.catching_up
Create Validator
Change your info "your_info"
hippod tx staking create-validator <(cat <<EOF
{
"pubkey": $(axoned comet show-validator),
"amount": "1000000000000000000ahp",
"moniker": "",
"identity": "",
"website": "",
"security": "",
"details": "",
"commission-rate": "0.1",
"commission-max-rate": "0.2",
"commission-max-change-rate": "0.01",
"min-self-delegation": "1"
}
EOF
) \
--from wallet \
--chain-id hippo-protocol-1 \
--gas-prices=5000000000000ahp \
--gas-adjustment=1.2 \
--gas=auto \
-y
Edit Existing Validator
hippod tx staking edit-validator \
--new-moniker="" \
--identity="" \
--website="" \
--details="" \
--chain-id=hippo-protocol-1 \
--commission-rate="0.15" \
--from=wallet \
--fees 1000000000000000000ahp
Delegate Token to your own validator
hippod tx staking delegate $(hippod keys show wallet --bech val -a) 1000000000000000000ahp --from wallet --chain-id hippo-protocol-1 --fees 1000000000000000000ahp
Withdraw alls
hippod tx distribution withdraw-all-rewards --from wallet --chain-id hippo-protocol-1 --fees 1000000000000000000ahp
Withdraw Rewards with Comission
hippod tx distribution withdraw-rewards $(hippod keys show wallet --bech val -a) --commission --from wallet --chain-id hippo-protocol-1 --fees 1000000000000000000ahp
Unjail validator
hippod tx slashing unjail --from wallet --chain-id hippo-protocol-1 --fees 1000000000000000000ahp
Services Management
# Reload Service
sudo systemctl daemon-reload
# Enable Service
sudo systemctl enable hippod
# Disable Service
sudo systemctl disable hippod
# Start Service
sudo systemctl start hippod
# Stop Service
sudo systemctl stop hippod
# Restart Service
sudo systemctl restart hippod
# Check Service Status
sudo systemctl status hippod
# Check Service Logs
sudo journalctl -u hippod -f --no-hostname -o cat
Backup Validator
cat $HOME/.hippo/config/priv_validator_key.json
Remove 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
rm -rf hippo