🔑 Key management
ADD NEW Key
kiichaind keys add walletRecover existing key
kiichaind keys add wallet --recoverList all keys
kiichaind keys listDelete key
kiichaind keys delete walletExport key to a file
kiichaind keys export walletImport key from a file
kiichaind keys import wallet wallet.backupQuery wallet balance
kiichaind q bank balances $(kiichaind keys show wallet -a)👷 Validator management
Please make sure you have adjusted moniker, identity, details and website to match your values.
Create Validator
cd $HOME
# Create validator.json file
echo "{\"pubkey\":{\"@type\":\"/cosmos.crypto.ed25519.PubKey\",\"key\":\"$(kiichaind comet show-validator | grep -Po '\"key\":\s*\"\K[^"]*')\"},
\"amount\": \"1000000000000000000akii\",
\"moniker\": \"mynode\",
\"identity\": \"\",
\"website\": \"\",
\"security\": \"\",
\"details\": \"I love Kiichain\",
\"commission-rate\": \"0.05\",
\"commission-max-rate\": \"0.2\",
\"commission-max-change-rate\": \"0.05\",
\"min-self-delegation\": \"1\"
}" > $HOME/.kiichain/validator.json
# Create a validator using the JSON configuration
kiichaind tx staking create-validator $HOME/.kiichain/validator.json \
--from wallet \
--chain-id oro_1336-1 \
--gas-prices=1000000000akii \
--gas-adjustment=1.5 \
--gas=autoEdit existing validator
kiichaind tx staking edit-validator \
--new-moniker="StoneGaze" \
--identity=xxxx \
--details="xxxx" \
--chain-id=oro_1336-1 \
--commission-rate=0.1 \
--from=wallet \
--fees 20000000000000000akii \
--gas-adjustment=1.5 \
--gas=auto \
-yUnjail validator
kiichaind tx slashing unjail --from wallet --chain-id oro_1336-1 --gas auto --gas-adjustment 1.3 --gas-prices=1000000000akiiJail reason
kiichaind query slashing signing-info $(kiichaind comet show-validator)List all active validators
kiichaind q staking 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 | nlList all inactive validators
kiichaind q staking 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 | nlView validator details
kiichaind q staking validator $(kiichaind keys show wallet --bech val -a)💲 Token management
Withdraw rewards from all validators
kiichaind tx distribution withdraw-all-rewards --from wallet --chain-id kiichain3 --gas-adjustment 1.4 --gas auto --gas-prices 0.025ukii -yWithdraw commission and rewards from your validator
kiichaind tx distribution withdraw-rewards $(kiichaind keys show wallet --bech val -a) --commission --from wallet --chain-id kiichain3 --gas-adjustment 1.4 --gas auto --gas-prices 0.025ukii -yDelegate tokens to yourself
kiichaind tx staking delegate $(kiichaind keys show wallet --bech val -a) 1000000ukii --from wallet --chain-id kiichain3 --gas-adjustment 1.4 --gas auto --gas-prices 0.025ukii -yDelegate tokens to validator
kiichaind tx staking delegate <TO_VALOPER_ADDRESS> 1000000ukii --from wallet --chain-id kiichain3 --gas-adjustment 1.4 --gas auto --gas-prices 0.025ukii -yRedelegate tokens to another validator
kiichaind tx staking redelegate $(kiichaind keys show wallet --bech val -a) <TO_VALOPER_ADDRESS> 1000000ukii --from wallet --chain-id kiichain3 --gas-adjustment 1.4 --gas auto --gas-prices 0.025ukii -yUnbond tokens from your validator
kiichaind tx staking unbond $(kiichaind keys show wallet --bech val -a) 1000000ukii --from wallet --chain-id kiichain3 --gas-adjustment 1.4 --gas auto --gas-prices 0.025ukii -ySend tokens to the wallet
kiichaind tx bank send wallet <TO_WALLET_ADDRESS> 1000000ukiie --from wallet --chain-id kiichain3 --gas-adjustment 1.4 --gas auto --gas-prices 0.02ukii -y🗳 Governance
List all proposals
kiichaind query gov proposalsView proposal by id
kiichaind query gov proposal 1Vote ‘Yes’
kiichaind tx gov vote 1 yes --from wallet --chain-id kiichain3 --gas-adjustment 1.4 --gas auto --gas-prices 0.025ukii -yVote ‘No’
kiichaind tx gov vote 1 no --from wallet --chain-id kiichain3 --gas-adjustment 1.4 --gas auto --gas-prices 0.025ukii -yVote ‘Abstain’
kiichaind tx gov vote 1 abstain --from wallet --chain-id kiichain3 --gas-adjustment 1.4 --gas auto --gas-prices 0.025ukii -yVote ‘NoWithVeto’
kiichaind tx gov vote 1 NoWithVeto --from wallet --chain-id kiichain3 --gas-adjustment 1.4 --gas auto --gas-prices 0.025ukii -y⚙️ Service Management
Reload service configuration
sudo systemctl daemon-reloadEnable service
sudo systemctl enable kiichaindDisable service
sudo systemctl disable kiichaindStart service
sudo systemctl start kiichaindStop service
sudo systemctl stop kiichaindRestart service
sudo systemctl restart kiichaindCheck service status
sudo systemctl status kiichaindCheck service logs
sudo journalctl -u kiichaind -fo cat