Skip to main content

Command

Wallet:

Add New Wallet:

kiichaind keys add wallet

Restore executing wallet:

kiichaind keys add wallet --recover

List All Wallets:

kiichaind keys list

Delete wallet:

kiichaind keys delete wallet

Check Balance:

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

Validator:

Create Validator:

Create file: validator.json

{
"pubkey": {"@type":"/cosmos.crypto.ed25519.PubKey","key":"xxxxxxxxxxxxxxx"},
"amount": "1000000akii",
"moniker": "Node39 Guide",
"identity": "",
"website": "",
"security": "",
"details": ",
"commission-rate": "0.05",
"commission-max-rate": "0.05",
"commission-max-change-rate": "0.01",
"min-self-delegation": "1"
}

Create Validator

kiichaind tx staking create-validator /path/to/validator.json \
--chain-id kiichain_1783-1 \
--from wallet \
--gas auto \
--gas-adjustment 1.7 \
--gas-prices 350000000akii \
-y

Edit Validator

kiichaind tx staking edit-validator \
--new-moniker="Node39.TOP" \
--identity=xxxx \
--details="xxxx" \
--chain-id=kiichain_1783-1 \
--commission-rate=0.1 \
--from wallet \
--gas auto \
--gas-adjustment 1.7 \
--gas-prices 350000000akii \
-y
-y

Check sync | False -> done.

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

Delegate:

kiichaind tx staking delegate $(kiichaind keys show wallet --bech val -a) 1000000akii \
--chain-id kiichain_1783-1 \
--from wallet \
--gas auto \
--gas-adjustment 1.7 \
--gas-prices 350000000akii \
-y

Withdraw rewards and commission:

kiichaind tx distribution withdraw-rewards $(kiichaind keys show wallet --bech val -a) \
--commission \
--chain-id kiichain_1783-1 \
--from wallet \
--gas auto \
--gas-adjustment 1.7 \
--gas-prices 350000000akii \
-y

Unjail:

--chain-id kiichain_1783-1 \
--from wallet \
--gas auto \
--gas-adjustment 1.7 \
--gas-prices 350000000akii \
-y

Unbond:

kiichaind tx staking unbond $(kiichaind keys show wallet --bech val -a) 1000000akii \
--chain-id kiichain_1783-1 \
--from wallet \
--gas auto \
--gas-adjustment 1.7 \
--gas-prices 350000000akii \
-y

Vote:

yes/no/no_with_veto/abstain

kiichaind tx gov vote 20 yes \
--chain-id kiichain_1783-1 \
--from wallet \
--gas auto \
--gas-adjustment 1.7 \
--gas-prices 350000000akii \
-y

System:

Reload Service:

sudo systemctl daemon-reload

Enable Service:

sudo systemctl enable kiichaind

Disable Service:

sudo systemctl disable kiichaind

Start Service:

sudo systemctl start kiichaind

Stop Service:

sudo systemctl stop kiichaind

Restart Service:

sudo systemctl restart kiichaind

Check Service Status:

sudo systemctl status kiichaind

Check Service Logs:

sudo journalctl -u kiichaind -fo cat