Installation

Setting up your validator node has never been so easy. Get your validator running in minutes by following step by step instructions.

Chain ID: {{ chain_id }} | Latest Version Tag:

Setup validator name

circle-info

Replace YOUR_MONIKER_GOES_HERE with your validator name

MONIKER="YOUR_MONIKER_GOES_HERE"

Install dependencies

Update system and install build tools

sudo apt -q update
sudo apt -qy install curl git jq lz4 build-essential
sudo apt -qy upgrade

Install Go

sudo rm -rf /usr/local/go
curl -Ls https://go.dev/dl/go{{ go_version }}.linux-amd64.tar.gz | sudo tar -xzf - -C /usr/local
eval $(echo 'export PATH=$PATH:/usr/local/go/bin' | sudo tee /etc/profile.d/golang.sh)
eval $(echo 'export PATH=$PATH:$HOME/go/bin' | tee -a $HOME/.profile)

Download and build binaries

# Clone project repository
cd $HOME
rm -rf {{ network }}
git clone {{ repo }} {{ network }}
cd {{ network }}
git checkout 

# Build binaries
make build

# Prepare binaries for Cosmovisor
mkdir -p $HOME/{{ folder }}/cosmovisor/genesis/bin
mv target/dist/{{ daemon }} $HOME/{{ folder }}/cosmovisor/genesis/bin/
rm -rf build

# Create application symlinks
ln -s $HOME/{{ folder }}/cosmovisor/genesis $HOME/{{ folder }}/cosmovisor/current
sudo ln -s $HOME/{{ folder }}/cosmovisor/current/bin/{{ daemon }} /usr/local/bin/{{ daemon }}

Install Cosmovisor and create a service

Initialize the node

Download latest chain snapshot

Start service and check the logs

Last updated