Skip to main content

Command

Wallet:

Add New Wallet:

wardend keys add wallet

Restore executing wallet:

wardend keys add wallet --recover

List All Wallets:

wardend keys list

Delete wallet:

wardend keys delete wallet

Check Balance:

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

Validator:

Create Validator:

wardend tx staking create-validator <(cat <<EOF
{
"pubkey": $(wardend comet show-validator),
"amount": "1000000award",
"moniker": "Node39-Guide",
"identity": "YOUR_KEYBASE_ID",
"website": "YOUR_WEBSITE_URL",
"security-contact": "YOUR_SECURITY_EMAIL",
"details": "YOUR_DETAILS",
"commission-rate": "0.05",
"commission-max-rate": "0.20",
"commission-max-change-rate": "0.05",
"min-self-delegation": "1"
}
EOF
) \
--from wallet \
--chain-id barra_9191-1 \
--gas auto \
--gas-adjustment 1.2 \
--fees 300000000000000award \
-y

Check sync | False -> done.

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

Delegate:

wardend tx staking delegate $(wardend keys show wallet --bech val -a) 1000000award \
--from wallet \
--chain-id=barra_9191-1 \
--gas auto \
--gas-adjustment 1.2 \
--fees 300000000000000award \
-y

Withdraw rewards and commission:

wardend tx distribution withdraw-rewards $(wardend keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id barra_9191-1 \
--gas auto \
--gas-adjustment 1.2 \
--fees 300000000000000award \
-y

Unjail:

wardend tx slashing unjail \
--from wallet \
--chain-id barra_9191-1 \
--gas auto \
--gas-adjustment 1.2 \
--fees 300000000000000award \
-y

Unbond:

wardend tx staking unbond $(wardend keys show wallet --bech val -a) 1000000award \
--from wallet \
--chain-id barra_9191-1 \
--gas auto \
--gas-adjustment 1.2 \
--fees 300000000000000award \
-y

Vote:

wardend tx gov vote proposal_id yes \
--from wallet \
--chain-id barra_9191-1 \
--gas auto \
--gas-adjustment 1.2 \
--fees 300000000000000award \
-y

System:

Reload Service:

sudo systemctl daemon-reload

Enable Service:

sudo systemctl enable wardend

Disable Service:

sudo systemctl disable wardend

Start Service:

sudo systemctl start wardend

Stop Service:

sudo systemctl stop wardend

Restart Service:

sudo systemctl restart wardend

Check Service Status:

sudo systemctl status wardend

Check Service Logs:

sudo journalctl -u wardend -fo cat