Skip to main content

Command

Wallet:

Add New Wallet:

shentud keys add wallet

Restore executing wallet:

shentud keys add wallet --recover

List All Wallets:

shentud keys list

Delete wallet:

shentud keys delete wallet

Check Balance:

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

Validator:

Create Validator:

shentud tx staking create-validator \
--amount 1000000uctk \
--pubkey $(shentud tendermint show-validator) \
--moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id shentu-2.2 \
--commission-rate 0.05 \
--commission-max-rate 0.20 \
--commission-max-change-rate 0.05 \
--min-self-delegation 1 \
--from your-wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.1uctk \
--node=https://shentu-rpc.node39.top:443 \
-y

Edit Validator:

shentud tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--chain-id shentu-2.2 \
--commission-rate 0.05 \
--from your-wallet \
--gas-adjustment 1.4 \
--gas auto \
--gas-prices 0.1uctk \
--node=https://shentu-rpc.node39.top:443 \
-y

Check sync | False -> done.

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

Delegate:

shentud tx staking delegate $(shentud keys show wallet --bech val -a) 1000000uctk \
--from wallet \
--chain-id=shentu-2.2 \
--gas auto \
--gas-adjustment 1.5 \
--fees 100uctk \
--node=https://shentu-rpc.node39.top:443 \
-y

Withdraw rewards and commission:

shentud tx distribution withdraw-rewards $(shentud keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id=shentu-2.2 \
--gas auto \
--gas-adjustment 1.5 \
--fees 100uctk \
--node=https://shentu-rpc.node39.top:443 \
-y

Unjail:

shentud tx slashing unjail \
--from wallet \
--chain-id=shentu-2.2 \
--gas auto \
--gas-adjustment 1.5 \
--fees 100uctk \
--node=https://shentu-rpc.node39.top:443 \
-y

Unbond:

shentud tx staking unbond $(shentud keys show wallet --bech val -a) 1000000uctk \
--from wallet \
--chain-id=shentu-2.2 \
--gas auto \
--gas-adjustment 1.5 \
--fees 100uctk \
--node=https://shentu-rpc.node39.top:443 \
-y

Vote:

yes/no/no_with_veto/abstain

shentud tx gov vote 1 yes \
--from wallet \
--chain-id shentu-2.2 \
--fees 100uctk \
--node=https://shentu-rpc.node39.top:443 \
-y

System:

Reload Service:

sudo systemctl daemon-reload

Enable Service:

sudo systemctl enable shentud

Disable Service:

sudo systemctl disable shentud

Start Service:

sudo systemctl start shentud

Stop Service:

sudo systemctl stop shentud

Restart Service:

sudo systemctl restart shentud

Check Service Status:

sudo systemctl status shentud

Check Service Logs:

sudo journalctl -u shentud -fo cat