Skip to main content

Command

Wallet:

Add New Wallet:

zetacored keys add wallet

Restore executing wallet:

zetacored keys add wallet --recover

List All Wallets:

zetacored keys list

Delete wallet:

zetacored keys delete wallet

Check Balance:

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

Validator:

Create Validator:

zetacored tx staking create-validator <(cat <<EOF
{
"pubkey": $(zetacored tendermint show-validator),
"amount": "1000000azeta",
"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 zetachain_7000-1 \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 2100000000000000azeta \
-y

Edit Validator:

zetacored tx staking edit-validator \
--new-moniker "YOUR_MONIKER_NAME" \
--identity "YOUR_KEYBASE_ID" \
--details "YOUR_DETAILS" \
--website "YOUR_WEBSITE_URL" \
--security-contact "YOUR_SECURITY_EMAIL" \
--commission-rate 0.05 \
--from your-wallet \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 2100000000000000azeta \
-y

Check sync | False -> done.

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

Delegate:

zetacored tx staking delegate $(zetacored keys show wallet --bech val -a) 1000000uluna \
--from wallet \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 2100000000000000azeta \
-y

Withdraw rewards and commission:

zetacored tx distribution withdraw-rewards $(zetacored keys show wallet --bech val -a) \
--commission \
--from wallet \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 2100000000000000azeta \
-y

Unjail:

zetacored tx slashing unjail \
--from wallet \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 2100000000000000azeta \
-y

Unbond:

zetacored tx staking unbond $(zetacored keys show wallet --bech val -a) 1000000azeta \
--from wallet \
--gas auto \
--gas-adjustment 1.5 \
--gas-prices 2100000000000000azeta \
-y

Vote:

zetacored tx gov vote proposal_id yes \
--from wallet \
--chain-id=zetachain_7000-1 \
--gas auto \
--gas-adjustment 1.5 \
--fees 2100000000000000azeta \
--node=https://zetachain-rpc.meshrpc.com:443 \
-y

System:

Reload Service:

sudo systemctl daemon-reload

Enable Service:

sudo systemctl enable zetacored

Disable Service:

sudo systemctl disable zetacored

Start Service:

sudo systemctl start zetacored

Stop Service:

sudo systemctl stop zetacored

Restart Service:

sudo systemctl restart zetacored

Check Service Status:

sudo systemctl status zetacored

Check Service Logs:

sudo journalctl -u zetacored -fo cat