Skip to main content

Command

Wallet:​

Add New Wallet:​

hippod keys add wallet

Restore executing wallet:​

hippod keys add wallet --recover

List All Wallets:​

hippod keys list

Delete wallet:​

hippod keys delete wallet

Check Balance:​

hippod q bank balances $(hippod keys show wallet -a)

Validator:​

Create Validator:​

hippod tx staking create-validator <(cat <<EOF
{
"pubkey": $(hippod comet show-validator),
"amount": "1000000000000000000ahp",
"moniker": "Node39-Guide",
"identity": "YOUR_KEYBASE_ID",
"website": "YOUR_WEBSITE_URL",
"security-contact": "YOUR_SECURITY_EMAIL",
"details": "YOUR_DETAILS",
"commission-rate": "0.05",
"commission-max-rate": "0.20",
"commission-max-change-rate": "0.05",
"min-self-delegation": "1"
}
EOF
) \
--from wallet \
--chain-id hippo-protocol-1 \
--gas 100000 \
--gas-adjustment 1.5 \
--gas-prices 270000000000000000ahp \
-y

Edit Validator:​

hippod tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--security-contact "YOUR_SECURITY_EMAIL" \
--commission-rate 0.05 \
--from your-wallet \
--chain-id hippo-protocol-1 \
--gas 200000 \
--gas-adjustment 1.5 \
--gas-prices 500000000000ahp \
-y

Check sync | False -> done.​

hippod status 2>&1 | jq .SyncInfo.catching_up

Delegate:​

hippod tx staking delegate $(hippod keys show wallet --bech val -a) 1000000ahp \
--from wallet \
--chain-id hippo-protocol-1 \
--gas 200000 \
--gas-adjustment 1.5 \
--gas-prices 500000000000ahp \
-y

Withdraw rewards and commission:​

hippod tx distribution withdraw-rewards $(hippod keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id hippo-protocol-1 \
--gas 200000 \
--gas-adjustment 1.5 \
--gas-prices 500000000000ahp \
-y

Unjail:​

hippod tx slashing unjail \
--from wallet \
--chain-id hippo-protocol-1 \
--gas 200000 \
--gas-adjustment 1.5 \
--gas-prices 500000000000ahp \
-y

Unbond:​

hippod tx staking unbond $(hippod keys show wallet --bech val -a) 1000000ahp \
--from wallet \
--chain-id hippo-protocol-1 \
--gas 200000 \
--gas-adjustment 1.5 \
--gas-prices 500000000000ahp \
-y

Vote:​

hippod tx gov vote proposal_id yes \
--from wallet \
--chain-id hippo-protocol-1 \
--gas 200000 \
--gas-adjustment 1.5 \
--gas-prices 500000000000ahp \
-y

System:​

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 -fo cat