Management
ADD NEW KEY
initiad keys add wallet
RECOVER EXISTING KEY
initiad keys add wallet --recover
LIST ALL KEYS
initiad keys list
DELETE KEY
initiad keys delete wallet
EXPORT KEY TO A FILE
initiad keys export wallet
IMPORT KEY FROM A FILE
initiad keys import wallet wallet.backup
QUERY WALLET BALANCE
initiad q bank balances $(initiad keys show wallet -a)
Please make sure you have adjusted moniker, identity, details and website to match your values.
CREATE NEW VALIDATOR
initiad tx mstaking create-validator \
--amount 1000000uinit \
--pubkey $(initiad tendermint show-validator) \
--moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id initiation-1 \
--commission-rate 0.05 \
--commission-max-rate 0.20 \
--commission-max-change-rate 0.05 \
--min-self-delegation 1 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.15uinit \
-y
EDIT EXISTING VALIDATOR
initiad tx mstaking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id initiation-1 \
--commission-rate 0.05 \
--from wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.15uinit \
-y
UNJAIL VALIDATOR
initiad tx slashing unjail \
--from wallet \
--chain-id initiation-1 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.15uinit \
-y
JAIL REASON
initiad query slashing signing-info $(initiad tendermint show-validator)
LIST ALL ACTIVE VALIDATORS
initiad q mstaking validators -oj --limit=3000 \
| jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' \
| jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' \
| sort -gr \
| nl
LIST ALL INACTIVE VALIDATORS
initiad q mstaking validators -oj --limit=3000 \
| jq '.validators[] | select(.status=="BOND_STATUS_UNBONDED")' \
| jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " \t " + .description.moniker' \
| sort -gr \
| nl
VIEW VALIDATOR DETAILS
initiad q mstaking validator $(initiad keys show wallet --bech val -a)
WITHDRAW REWARDS FROM ALL VALIDATORS
initiad tx distribution withdraw-all-rewards \
--from wallet \
--chain-id initiation-1 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.15uinit \
-y
WITHDRAW COMMISSION AND REWARDS FROM YOUR VALIDATOR
initiad tx distribution withdraw-rewards $(initiad keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id initiation-1 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.15uinit \
-y
DELEGATE TOKENS TO YOURSELF
initiad tx mstaking delegate $(initiad keys show wallet --bech val -a) 1000000uinit \
--from wallet \
--chain-id initiation-1 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.15uinit \
-y
DELEGATE TOKENS TO VALIDATOR
initiad tx mstaking delegate <TO_VALOPER_ADDRESS> 1000000uinit \
--from wallet \
--chain-id initiation-1 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.15uinit \
-y
REDELEGATE TOKENS TO ANOTHER VALIDATOR
initiad tx mstaking redelegate $(initiad keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000uinit \
--from wallet \
--chain-id initiation-1 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.15uinit \
-y
UNBOND TOKENS FROM YOUR VALIDATOR
initiad tx mstaking unbond $(initiad keys show wallet --bech val -a) 1000000uinit \
--from wallet \
--chain-id initiation-1 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.15uinit \
-y
SEND TOKENS TO THE WALLET
initiad tx bank send wallet <TO_WALLET_ADDRESS> 1000000uinit \
--from wallet \
--chain-id initiation-1 \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.15uinit \
-y
Last updated