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 \
--amount=1000000000000000000azeta \
--pubkey=$(zetacored tendermint show-validator) \
--moniker="Node39.TOP" \
--identity=xxxx \
--details="xxxx" \
--chain-id=zetachain_7000-1 \
--commission-rate=0.1 \
--commission-max-rate=0.20 \
--commission-max-change-rate=0.01 \
--min-self-delegation=1 \
--from=wallet \
--gas-prices=20000000000azeta \
--gas-adjustment=1.5 \
--gas=auto \
-y

Edit Validator

zetacored tx staking edit-validator \
--new-moniker="Node39.TOP" \
--identity=xxxx \
--details="xxxx" \
--chain-id=zetachain_7000-1 \
--commission-rate=0.1 \
--from=wallet \
--gas-prices=20000000000azeta \
--gas-adjustment=1.5 \
--gas=auto \
-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) 20000000000azeta \
--from wallet \
--chain-id=zetachain_7000-1 \
--gas-prices 20000000000azeta \
--node=https://zetachain-rpc.node39.top:443 \
-y

Withdraw rewards and commission:

zetacored tx distribution withdraw-rewards $(zetacored keys show wallet --bech val -a) \
--commission \
--from wallet \
--chain-id=zetachain_7000-1 \
--gas-prices 20000000000azeta \
--node=https://zetachain-rpc.node39.top:443 \
-y

Unjail:

--from wallet \
--chain-id=zetachain_7000-1 \
--gas-prices 20000000000azeta \
--node=https://zetachain-rpc.node39.top:443 \
-y

Unbond:

zetacored tx staking unbond $(zetacored keys show wallet --bech val -a) 1000000aseda \
--from wallet \
--chain-id=zetachain_7000-1 \
--gas-prices 20000000000azeta \
--node=https://zetachain-rpc.node39.top:443 \
-y

Vote:

yes/no/no_with_veto/abstain

zetacored tx gov vote 1 yes \
--from wallet \
--chain-id zetachain_7000-1 \
--gas-prices 20000000000azeta \
--node=https://zetachain-rpc.node39.top: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