Installation

Chain ID
Latest Version Tag
Custom Port

cataclysm-1

v1.5.0

139

Setup validator name

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/go1.21.12.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 nibiru
git clone https://github.com/NibiruChain/nibiru.git
cd nibiru
git checkout v1.5.0

# Build binaries
make build

# Prepare binaries for Cosmovisor
mkdir -p $HOME/.nibid/cosmovisor/genesis/bin
mv build/nibid $HOME/.nibid/cosmovisor/genesis/bin/
rm -rf build

# Create application symlinks
sudo ln -s $HOME/.nibid/cosmovisor/genesis $HOME/.nibid/cosmovisor/current -f
sudo ln -s $HOME/.nibid/cosmovisor/current/bin/nibid /usr/local/bin/nibid -f

Install Cosmovisor and create a service

Initialize the node

Download latest chain snapshot

Start service and check the logs

Set up validator

Official documentation: https://nibiru.fi/docs/run-nodes/testnet/arrow-up-right

1. Create a wallet

First of all we will need to create wallet for our validator. You have two options for that.

OPTION 1 - CREATE NEW WALLET

OPTION 2 - RECOVER EXISTING WALLET

Save the mnemonic output as this is the only way to recover your validator wallet in case you lose it!

To list your wallets use command below

2. Fund a wallet

To create validator you have to fund the previously created wallet command below:

To check wallet balance use command below

3. Create validator

Please make sure you have adjusted moniker, identity, details, website to match your values.

Save the ~/.nibid/config/priv_validator_key.json file as this is the only way to recover your validator signing key in case you lose it!

Set up Price Feeder

To run pricefeeder you validator should be in active set. Otherwise price feeder will not vote on periods.

Install the pricefeeder binary

Create new wallet for pricefeeder and save 24 word mnemonic phrase

Send some tokens to the pricefeeder-wallet

In order to make pricefeeder work, it needs some tokens to pay for transaction fees

Export pricefeeder mnemonic into environment variable

Setup the systemd service

Delegate pricefeeder responsibility

As a validator, if you’d like another account to post prices on your behalf (i.e. you don’t want your validator mnemonic sending txs), you can delegate pricefeeder responsibilities to another nibi address.

Register and start the systemd service

View pricefeeder logs

Successfull Log examples:

Also you can check that your pricefeeder-wallet is doing transactions on chain at Chain Explorerarrow-up-right

Last updated