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 \
--from wallet \
--keyring-backend test \
--chain-id oro_1336-1 \
--gas auto \
--fees 8000000000000000akii \
--node=https://kiichain-testnet-rpc.node39.top:443 \

Edit Validator​

kiichaind tx staking edit-validator \
--new-moniker="Node39.TOP" \
--identity=xxxx \
--details="xxxx" \
--chain-id=oro_1336-1 \
--commission-rate=0.1 \
--from=wallet \
--fees 8000000000000000akii \
--gas-adjustment=1.5 \
--gas=auto \
-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 \
--from wallet \
--keyring-backend test \
--chain-id=oro_1336-1 \
--fees 8000000000000000akii \
--node=https://kiichain-testnet-rpc.node39.top:443 \
-y

Withdraw rewards and commission:​

kiichaind tx distribution withdraw-rewards $(kiichaind keys show wallet --bech val -a) \
--commission \
--from wallet \
--keyring-backend test \
--chain-id=oro_1336-1 \
--fees 8000000000000000akii \
--node=https://kiichain-testnet-rpc.node39.top:443 \
-y

Unjail:​

--from wallet \
--keyring-backend test \
--chain-id=oro_1336-1 \
--fees 8000000000000000akii \
--node=https://kiichain-testnet-rpc.node39.top:443 \
-y

Unbond:​

kiichaind tx staking unbond $(kiichaind keys show wallet --bech val -a) 1000000akii \
--from wallet \
--keyring-backend test \
--chain-id=oro_1336-1 \
--fees 8000000000000000akii \
--node=https://kiichain-testnet-rpc.node39.top:443 \
-y

Vote:​

yes/no/no_with_veto/abstain

kiichaind tx gov vote 20 yes \
--from wallet \
--keyring-backend test \
--chain-id oro_1336-1 \
--fees 8000000000000000akii \
--node=https://kiichain-testnet-rpc.node39.top:443 \
-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