Cheat Sheet

Check Logs

sudo journalctl -f -u initiad

Start service

sudo systemnctl start initiad

Restart Service

sudo systemnctl restart initiad

withdraw all reward

initiad tx distribution withdraw-all-rewards --from $WALLET --chain-id initiation-1 --gas auto --gas-adjustment 1.5 --fees <amount> 

Withdraw rewards and commission from your validator

initiad tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id initiation-1 --gas auto --gas-adjustment 1.5 --fees <amount> -y 

Check wallet balance

initiad query bank balances $WALLET

Delegate to the validator itself

initiad tx mstaking delegate $(initiad keys show $WALLET --bech val -a) <amount>  --from $WALLET --chain-id initiation-1 --gas auto --gas-adjustment 1.5 --fees <amount> -y 

Redelegate to other validators

initiad tx mstaking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> <amount>  --from $WALLET --chain-id initiation-1 --gas auto --gas-adjustment 1.5 --fees <amount> -y 

Unbond

initiad tx mstaking unbond $(initiad keys show $WALLET --bech val -a) <amount>  --from $WALLET --chain-id initiation-1 --gas auto --gas-adjustment 1.5 --fees <amount> -y 

Transfer Funds

initiad tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> <amount>  --gas auto --gas-adjustment 1.5 --fees <amount> -y 

KEY MANAGEMENT

Create Wallet

initiad keys add $WALLET

Recover Existing Wallet

initiad keys add $WALLET --recover

Check All Available Wallet

initiad keys list

Check wallet funds

initiad q bank balances $WALLET_ADDRESS 

VALIDATOR INFORMATION

create a validator

initiad tx mstaking create-validator \--amount <amount>  \--from $WALLET \--commission-rate 0.1 \--commission-max-rate 0.2 \--commission-max-change-rate 0.01 \--security-contact ""\--pubkey $(initiad tendermint show-validator) \--moniker $MONIKER \--identity "" \--details "a validator blockchain" \--chain-id initiation-1 \--gas auto \--gas-adjustment 1.5 \--fees <amount>

edit existing validator

initiad tx mstaking edit-validator \--commission-rate 0.1 \--new-moniker $MONIKER \--identity "" \--details "a validator blockchain" \--from $WALLET \--chain-id initiation-1 \--gas auto \--gas-adjustment 1.5 \--fees <amount> \-y 

validator status/info

initiad status 2>&1 | jq

Unjail validator

initiad tx slashing unjail --from $WALLET --chain-id initiation-1 --gas auto --gas-adjustment 1.5 --fees <amount> -y 

Last updated