Cheatsheets
If you have installed from our guide, you do not need to make any changes in the codes below unless stated otherwise.
Service Operationsβ
Checking Logsβ
journalctl -fu initiad -o cat
Starting Nodeβ
systemctl start initiad
Stopping the Nodeβ
systemctl stop initiad
Restarting the Nodeβ
systemctl restart initiad
Node Sync Statusβ
initiad status 2>&1 | jq .SyncInfo
Node Informationβ
initiad status 2>&1 | jq .NodeInfo
Learning Node IDβ
initiad tendermint show-node-id
Learning Node IP Addressβ
curl icanhazip.com
Your node peerβ
echo $(initiad tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.initia/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')
Wallet Managementβ
Viewing the List of Walletsβ
initiad keys list
Seeing Wallet Addressβ
initiad keys show $INITIA_WALLET --bech val -a
Importing Walletβ
initiad keys add $INITIA_WALLET --recover
Deleting Your Walletβ
initiad keys delete $INITIA_WALLET
Checking Wallet Balanceβ
initiad query bank balances $INITIA_WALLET_ADDRESS
Tokensβ
Transferring from One Wallet to Anotherβ
initiad tx bank send $INITIA_WALLET_ADDRESS SENDING_CUZDAN_ADRESI 100000000uusdc
Participating in Proposal Votingβ
initiad tx gov vote 1 yes --from $INITIA_WALLET --chain-id=$INITIA_CHAIN_ID --gas-prices 0.00001uusdc --gas-adjustment 1.5 --gas auto -y
Validatore Staking / Delegationβ
initiad tx mstaking delegate $INITIA_VALOPER_ADDRESS 100000000uusdc --from=$INITIA_WALLET --chain-id=$INITIA_CHAIN_ID --gas-prices 0.00001uusdc --gas-adjustment 1.5 --gas auto -y
Unbondingβ
initiad tx mstaking unbond $(initiad keys show $INITIA_WALLET --bech val -a) 1000000uusdc --from $INITIA_WALLET --chain-id indigo-1 --fees 3000uusdc -y
Staking / Redelegate from Current Validator to Other Validatorβ
srcValidatorAddress
: Address of the current staked validator
destValidatorAddress
: Address of the new validator to be staked
initiad tx mstaking redelegate srcValidatorAddress destValidatorAddress 100000000uusdc --from=$INITIA_WALLET --chain-id=$INITIA_CHAIN_ID --gas-prices 0.00001uusdc --gas-adjustment 1.5 --gas auto -y
Withdraw Rewardsβ
initiad tx distribution withdraw-all-rewards --from=$INITIA_WALLET --chain-id=$INITIA_CHAIN_ID --gas-prices 0.00001uusdc --gas-adjustment 1.5 --gas auto -y
Withdrawing Commission Rewardsβ
initiad tx distribution withdraw-rewards $INITIA_VALOPER_ADDRESS --from=$INITIA_WALLET --commission --chain-id=$INITIA_CHAIN_ID --gas-prices 0.00001uusdc --gas-adjustment 1.5 --gas auto -y
Validator operationsβ
Validator Informationβ
initiad status 2>&1 | jq .ValidatorInfo
Changing Validator Nameβ
Write your new validator/moniker name where it says 'NEW-NODE-NAME'. It should not contain TR characters.
initiad tx mstaking edit-validator \
--new-moniker=YENI-NODE-ADI \
--chain-id=$INITIA_CHAIN_ID \
--from=$INITIA_WALLET \
--node=https://rpc-t-initia.anatolianteam.com:443 \
--gas-prices=11uinit \
--gas-adjustment=1.5 \
--gas=auto \
--yes
Changing Validator Commission Rateβ
We change the value in the section that says 'commission-rate'.
initiad tx mstaking edit-validator --commission-rate "0.02" --moniker=$INITIA_NODENAME --from $INITIA_WALLET --chain-id $INITIA_CHAIN_ID --gas-prices 0.00001uusdc --gas-adjustment 1.5 --gas auto - y
Editing Your Validator Informationβ
Before changing this information, you must register at https://keybase.io/ and receive your 16-digit code (XXXX0000XXXX0000) as seen in the code below. Also profile picture etc. You can also adjust the settings.
$INITIA_NODENAME
and $INITIA_WALLET
: Your Validator (Moniker) and wallet name, you do not need to change it. Because we added it to variables.
initiad tx mstaking edit-validator \
--moniker=$INITIA_NODENAME \
--identity=XXXX0000XXXX0000\
--website="YOU CAN WRITE YOUR WEBSITE IF YOU EXIST" \
--details="YOU CAN WRITE A SENTENCE INTRODUCING YOURSELF IN THIS SECTION" \
--chain-id=$INITIA_CHAIN_ID \
--from=$INITIA_WALLET
--node=https://rpc-t-initia.anatolianteam.com:443 \
--gas-prices=11uinit \
--gas-adjustment=1.5 \
--gas=auto \
--yes
Validator Detailsβ
initiad q mstaking validator $(initiad keys show $INITIA_WALLET --bech val -a)
Jailing infoβ
initiad q slashing signing-info $(initiad tendermint show-validator)
Slashing parametersβ
initiad q slashing params
Recovering Validator from Jailβ
initiad tx slashing unjail --from $INITIA_WALLET --chain-id $INITIA_CHAIN_ID --gas-prices 0.00001uusdc --gas-adjustment 1.5 --gas auto -y
Active Validators Listβ
initiad q mstaking validators -oj --limit=2000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " " + .description.moniker' | sort -gr | nl
Checking Validator keyβ
[[ $(initiad q mstaking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(initiad status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"
Signing infoβ
initiad q slashing signing-info $(initiad tendermint show-validator)