NG
ZetaChain

ZetaChain

Setup Guide

This guide for running a full ZetaChain node.
Official documentation available here.

Install

Use our script for a quick installation:

wget -q -O zetachain.sh https://api.nodes.guru/zetachain.sh && chmod +x zetachain.sh && sudo /bin/bash zetachain.sh

Additional

You can check the node logs with the command:

journalctl -u zetacored -f

Restart node:

systemctl restart zetacored

Check your node status:

curl localhost:26657/status

Check node synchronization, if results false – node is synchronized

curl -s localhost:26657/status | jq .result.sync_info.catching_up

Active validators list:

zetacored query staking validators --limit 2000 -o json | jq -r '.validators[] | select(.status=="BOND_STATUS_BONDED") | [.operator_address, .status, (.tokens|tonumber / pow(10; 6)), .description.moniker] | @csv' | column -t -s"," | sort -k3 -n -r

Inactive validators list:

zetacored query staking validators --limit 2000 -o json | jq -r '.validators[] | select(.status=="BOND_STATUS_UNBONDED") | [.operator_address, .status, (.tokens|tonumber / pow(10; 6)), .description.moniker] | @csv' | column -t -s"," | sort -k3 -n -r

Remove node:

systemctl stop zetacored
systemctl disable zetacored
rm -rf $(which zetacored) ~/.zetacored ~/zetachain
Stuck? Ask!

By continuing to use our website, you consent to our use of cookies in accordance with our cookie policy