Service operations ⚙️
Check logs
sudo journalctl -u zetacored -fo catStart service
sudo systemctl start zetacoredStop service
sudo systemctl stop zetacoredRestart service
sudo systemctl restart zetacoredCheck service status
sudo systemctl status zetacoredReload services
sudo systemctl daemon-reloadEnable Service
sudo systemctl enable zetacoredDisable Service
sudo systemctl disable zetacoredNode info
zetacored status 2>&1 | jqYour node peer
echo $(zetacored tendermint show-node-id)'@'$(wget -qO- eth0.me)':'$(cat $HOME/.zetacored/config/config.toml | sed -n '/Address to listen for incoming connection/{n;p;}' | sed 's/.*://; s/".*//')Key management
Add New Wallet
zetacored keys add $WALLETRestore executing wallet
zetacored keys add $WALLET --recoverList All Wallets
zetacored keys listDelete wallet
zetacored keys delete $WALLETCheck Balance
zetacored q bank balances $WALLET_ADDRESS Export Key (save to wallet.backup)
zetacored keys export $WALLETView EVM Prived Key
zetacored keys unsafe-export-eth-key $WALLETImport Key (restore from wallet.backup)
zetacored keys import $WALLET wallet.backupTokens
To valoper address
To wallet address
Amount, azeta
Withdraw all rewards
zetacored tx distribution withdraw-all-rewards --from $WALLET --chain-id athens_7001-1 --gas auto --gas-adjustment 1.5 --fees 5136570000000000azeta Withdraw rewards and commission from your validator
zetacored tx distribution withdraw-rewards $VALOPER_ADDRESS --from $WALLET --commission --chain-id athens_7001-1 --gas auto --gas-adjustment 1.5 --fees 5136570000000000azeta -y Check your balance
zetacored query bank balances $WALLET_ADDRESSDelegate to Yourself
zetacored tx staking delegate $(zetacored keys show $WALLET --bech val -a) 1000000azeta --from $WALLET --chain-id athens_7001-1 --gas auto --gas-adjustment 1.5 --fees 5136570000000000azeta -y Delegate
zetacored tx staking delegate <TO_VALOPER_ADDRESS> 1000000azeta --from $WALLET --chain-id athens_7001-1 --gas auto --gas-adjustment 1.5 --fees 5136570000000000azeta -y Redelegate Stake to Another Validator
zetacored tx staking redelegate $VALOPER_ADDRESS <TO_VALOPER_ADDRESS> 1000000azeta --from $WALLET --chain-id athens_7001-1 --gas auto --gas-adjustment 1.5 --fees 5136570000000000azeta -y Unbond
zetacored tx staking unbond $(zetacored keys show $WALLET --bech val -a) 1000000azeta --from $WALLET --chain-id athens_7001-1 --gas auto --gas-adjustment 1.5 --fees 5136570000000000azeta -y Transfer Funds
zetacored tx bank send $WALLET_ADDRESS <TO_WALLET_ADDRESS> 1000000azeta --gas auto --gas-adjustment 1.5 --fees 5136570000000000azeta -y Validator operations
Moniker
Identity
Details
Amount, azeta
Commission rate
Commission max rate
Commission max change rate
Create New Validator
zetacored tx staking create-validator \
--amount 1000000azeta \
--from $WALLET \
--commission-rate 0.1 \
--commission-max-rate 0.2 \
--commission-max-change-rate 0.01 \
--min-self-delegation 1 \
--pubkey $(zetacored tendermint show-validator) \
--moniker "$MONIKER" \
--identity "" \
--details "I love blockchain ❤️" \
--chain-id athens_7001-1 \
--gas auto --gas-adjustment 1.5 --fees 5136570000000000azeta \
-y
Edit Existing Validator
zetacored tx staking edit-validator \
--commission-rate 0.1 \
--new-moniker "$MONIKER" \
--identity "" \
--details "I love blockchain ❤️" \
--from $WALLET \
--chain-id athens_7001-1 \
--gas auto --gas-adjustment 1.5 --fees 5136570000000000azeta \
-y
Validator info
zetacored status 2>&1 | jqValidator Details
zetacored q staking validator $(zetacored keys show $WALLET --bech val -a) Jailing info
zetacored q slashing signing-info $(zetacored tendermint show-validator) Slashing parameters
zetacored q slashing params Unjail validator
zetacored tx slashing unjail --from $WALLET --chain-id athens_7001-1 --gas auto --gas-adjustment 1.5 --fees 5136570000000000azeta -y Active Validators List
zetacored q staking validators -oj --limit=2000 | jq '.validators[] | select(.status=="BOND_STATUS_BONDED")' | jq -r '(.tokens|tonumber/pow(10; 6)|floor|tostring) + " " + .description.moniker' | sort -gr | nl Check Validator key
[[ $(zetacored q staking validator $VALOPER_ADDRESS -oj | jq -r .consensus_pubkey.key) = $(zetacored status | jq -r .ValidatorInfo.PubKey.value) ]] && echo -e "Your key status is ok" || echo -e "Your key status is error"Signing info
zetacored q slashing signing-info $(zetacored tendermint show-validator) Governance
Title
Description
Deposit, azeta
Create New Text Proposal
zetacored tx gov submit-proposal \
--title "" \
--description "" \
--deposit 1000000azeta \
--type Text \
--from $WALLET \
--gas auto --gas-adjustment 1.5 --fees 5136570000000000azeta \
-y
Proposals List
zetacored query gov proposals Proposal ID
Proposal option
View proposal
zetacored query gov proposal 1 Vote
zetacored tx gov vote 1 yes --from $WALLET --chain-id athens_7001-1 --gas auto --gas-adjustment 1.5 --fees 5136570000000000azeta -y