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. Mainnet
  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/v6.1.16/zenrockd

chmod +x zenrockd
mv $HOME/zenrock/zenrockd $HOME/go/bin/

zenrockd version --long | grep -e version -e commit
# version: 6.1.16
# commit: 6c7047029339dc5798319b7bb705058067d89da1

Initialize the node to create the necessary configuration files

zenrockd init UTSA_guide --chain-id diamond-1

Genesis

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

# ΠŸΡ€ΠΎΠ²Π΅Ρ€ΠΈΠΌ genesis
sha256sum ~/.zrchain/config/genesis.json
# 1bfacdbf1a80936da968a2b3cc4e38e604c2cd2adae62e83a626ed01dee1080c

Download Addr book

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

Setting up the node configuration

zenrockd config set client chain-id diamond-1

sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "0.01urock"|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="2f037a6461c012f3296ab1815b3c47843bcd7c3a@zenrock-mainnet-peer.itrocket.net:59656,36840303211712d936647da0f74d1498a7e298d1@34.251.37.55:26656,5ad8a5de6318529994da817043b268ef617e37ba@54.216.86.166:26656"
sed -i -e "s|^persistent_peers *=.*|persistent_peers = \"$peers\"|" $HOME/.zrchain/config/config.toml
seeds="e6c3373d68c504bd89bf77c27a8ac30597afeb2d@zenrock-mainnet-seed.itrocket.net:56656"
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 (βœ”οΈOracle)

Last updated 16 days ago

πŸ’»