Services
  • π₯𝐞𝐬𝐧𝐒𝐀 | 𝐔𝐓𝐒𝐀
  • 🌐Cosmos WIKI
    • πŸ”§Creating / Editing a Validator
    • πŸ“¨Cosmos / governance
    • πŸ› οΈUseful commands
    • πŸ”¨Changing ports in the Cosmos ecosystem
    • 🌁IBC (HERMES)
    • βš’οΈNode-exporter + Grafana + Prometheus + Alertmanager
    • βš’οΈTenderDuty v2 - monitoring and alerting
  • Mainnet
    • Arkeo
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Atomone
      • πŸ’»Installation
      • ⌚State sync
      • ⌚Snapshots
      • πŸ“¬Updates
    • Aura
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Dora Factory
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Dymension
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Genesis L1
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Gitopia
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Jackal
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Konstellation
      • πŸ’»Installation
      • ⌚Snapshot
      • πŸ“¬Updates
    • Nibiru
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
      • πŸ“¬Price feeder (βœ”οΈOracle)
    • Provenance
      • πŸ’»Installation
      • πŸ“¬Updates
    • Teritori
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Quicksilver
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Uptick
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Source protocol
      • πŸ’»Installation
      • πŸ“¬Updates
    • Zenrock
      • πŸ’»Installation
      • πŸ’»Sidecar (βœ”οΈOracle)
      • πŸ’»Create a validator
      • ⌚State sync
      • ⌚Snapshot
      • πŸ“¬Updates
  • TESTNET
    • Atomone
      • πŸ’»Installation
      • πŸ“¬Updates
    • Airchains
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Aura
      • πŸ’»Installation
      • πŸ“¬Updates
    • Arkeo
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
      • πŸ“¬Providers
    • AXON PROTOCOL
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Dora Factory
      • πŸ’»Installation
      • πŸ“¬Updates
    • Dymension
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Empeiria
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Galactica
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Jackal
      • πŸ’»Installation
      • πŸ“¬Updates
    • Kira
      • πŸ’»Installation
    • PRYSM
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Source protocol
      • πŸ’»Installation
      • πŸ“¬Updates
    • Story Protocol
      • πŸ’»Installation
      • πŸ’»Create a validator
      • ⌚State sync
      • ⌚Snapshot
      • πŸ“¬Updates
    • Tellor
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
      • πŸ“¬Data Reporter (βœ”οΈOracle)
    • Quicksilver
      • πŸ’»Installation
      • πŸ“¬Updates
    • Warden Protocol
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
      • πŸ“¬Oracle
    • XRPL EVM
      • πŸ’»Installation
      • ⌚State sync
      • ⌚Snapshots
      • πŸ“¬Updates
    • Zenrock
      • πŸ’»Installation
      • πŸ’»Sidecar (βœ”οΈInstall)
      • πŸ’»βœ”οΈconfig.yaml
      • πŸ’»βœ”οΈeigen_operator_config.yaml
      • πŸ’»Create a validator
      • πŸ“¬Updates
  • OTHER PROJECTS
    • Avail mainnet
      • πŸ’»Installation
      • ⌚Snapshot
      • πŸ“¬Validator migration
    • Avail testnet
      • πŸ’»Installation
      • ⌚Snapshot
      • πŸ“¬Validator migration
    • Kusama
      • πŸ’»Decentralized nodes
      • πŸ’»Installation
      • ⌚Snapshot
      • βš™οΈValidator setup
      • βš™οΈValidator migration
      • πŸ› οΈCrunch bot
    • Polkadot
      • πŸ’»Decentralized nodes
      • πŸ’»Installation
      • ⌚Snapshot
      • βš™οΈValidator setup
      • βš™οΈValidator migration
      • πŸ› οΈCrunch bot
    • Tangle Network
      • πŸ’»Installation
      • πŸ“¬Validator migration
    • UOMI (GPU)
      • πŸ’»Installation
      • ⌚Snapshot
      • πŸ“¬Validator migration
  • ARCHIVE
    • Entrypoint
      • πŸ’»Installation
      • ⌚State sync
      • πŸ“¬Updates
    • Celestia
      • πŸ’»Consensus Node
      • πŸ–₯️Bridge node (Shwap)
      • πŸ–₯️Full node (Shwap)
      • πŸ–₯️Light node (Shwap)
      • ⌚Snapshots
      • ⌚State Sync [consensus node]
      • πŸ”ŽAnalysis of the Bridge Node
    • Celestia-testnet
      • πŸ’»Consensus Node
      • πŸ–₯️Bridge node (Shwap)
      • πŸ–₯️Full node (Shwap)
      • πŸ–₯️Light node (Shwap)
      • ⌚Snapshots
      • ⌚State Sync [consensus node]
      • πŸ”ŽAnalysis of the Bridge Node
    • Native [migration to SUI]
      • πŸ’»Installation
      • ⌚Snapshots
      • ⌚State sync
      • πŸ“¬Updates
    • Nubit
      • πŸ’»Light node
      • πŸ“¬Full Node
    • Lava network
      • πŸ’»Installation
      • ⌚State sync
      • ⌚Snapshot
      • πŸ“¬Updates
      • ⌚Providers
    • Lava network
      • πŸ’»Installation
      • ⌚State sync
      • ⌚Snapshot
      • πŸ“¬Updates
      • ⌚Providers
    • XAI
      • πŸ’»Installation
    • Ojo
      • πŸ’»Installation
      • ⌚State sync
      • ⌚Snapshot
      • πŸ“¬Updates
      • πŸ“¬Price feeder (βœ”οΈOracle)
Powered by GitBook
On this page
  • Server preparation
  • Install GO
  • Open the following ports to communicate with other nodes
  • Node installation
  1. TESTNET
  2. Zenrock

Installation

Server preparation

apt update && apt upgrade -y
apt install curl iptables build-essential git wget jq make gcc nano tmux htop nvme-cli pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev -y

Install GO

ver="1.22.3" && \
wget "https://golang.org/dl/go$ver.linux-amd64.tar.gz" && \
sudo rm -rf /usr/local/go && \
sudo tar -C /usr/local -xzf "go$ver.linux-amd64.tar.gz" && \
rm "go$ver.linux-amd64.tar.gz" && \
echo "export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin" >> $HOME/.bash_profile && \
source $HOME/.bash_profile && \
go version

Open the following ports to communicate with other nodes

ufw allow 26656 comment p2p_port

Node installation

Currently, to run a node, you need to run two separate clients:

  • zenrockd, consensus client

  • zenrock-sidecar, oracle

# if necessary, create the go/bin/ directory
mkdir -p $HOME/go/bin/
cd $HOME
mkdir -p zenrock && cd zenrock

Install zenrock

cd $HOME/zenrock
wget https://github.com/Zenrock-Foundation/zrchain/releases/download/v5.3.8/zenrockd
chmod +x zenrockd
mv $HOME/zenrock/zenrockd $HOME/go/bin/

zenrockd version --long | grep -e version -e commit
# version: 5.3.8
# commit: 8dd87f173727be414d6eb2a113dcf999b7b18958

Initialize the node to create the necessary configuration files

zenrockd init UTSA_guide --chain-id gardia-8

Genesis

curl -s https://rpc.gardia.zenrocklabs.io/genesis | jq .result.genesis > $HOME/.zrchain/config/genesis.json

# check genesis
sha256sum ~/.zrchain/config/genesis.json
# 56e8614605ce467267c7136df618750683acbba9db74540727ec3d834be4d6d1

Download Addr book

#wget -O $HOME/.zrchain/config/addrbook.json "https://share106-7.utsa.tech/zenrock/addrbook.json"

Setting up the node configuration

zenrockd config set client chain-id gardia-8
#zenrockd config set client keyring-backend test

sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "2.5urock"|g' $HOME/.zrchain/config/app.toml

external_address=$(wget -qO- eth0.me)
sed -i.bak -e "s/^external_address *=.*/external_address = \"$external_address:26656\"/" $HOME/.zrchain/config/config.toml

peers="d76afe7cbe8e6e39f96d67bdf60c7e767893b15e@sentry-1.gardia.zenrocklabs.io:26656,d9927ea0ea2e4bb46d2192f1c94aeb0770ae8f91@sentry-2.gardia.zenrocklabs.io:36656,8f1b7232e8530f7f964ba048270f77e1e90636de@sentry-3.gardia.zenrocklabs.io:46656,9794aa7d5227e05cf997f85bb537ee15f9db425f@sentry-4.gardia.zenrocklabs.io:56656"
sed -i -e "s|^persistent_peers *=.*|persistent_peers = \"$peers\"|" $HOME/.zrchain/config/config.toml
seeds=""
sed -i.bak -e "s/^seeds =.*/seeds = \"$seeds\"/" $HOME/.zrchain/config/config.toml

sed -i -e "s/^filter_peers *=.*/filter_peers = \"true\"/" $HOME/.zrchain/config/config.toml

Create a service file

tee /etc/systemd/system/zenrockd.service > /dev/null <<EOF
[Unit]
Description=Zenrock
After=network-online.target

[Service]
User=$USER
ExecStart=$(which zenrockd) start
Restart=on-failure
RestartSec=3
LimitNOFILE=65535

[Install]
WantedBy=multi-user.target
EOF
systemctl daemon-reload
systemctl enable zenrockd
systemctl restart zenrockd && journalctl -u zenrockd -f -o cat
PreviousZenrockNextSidecar (βœ”οΈInstall)

Last updated 1 day ago

πŸ’»