Installation

If you want to setup Lava fullnode manually follow the steps below

Update and upgrade

sudo apt update && sudo apt upgrade -y

Install GO

if ! [ -x "$(command -v go)" ]; then
  ver="1.20.3"
  cd $HOME
  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" >> ~/.bash_profile
  source ~/.bash_profile
fi

Install node

cd $HOME
rm -rf lava
git clone https://github.com/lavanet/lava.git
cd lava
git checkout v0.22.0
export LAVA_BINARY=lavad
make install

Setting up vars

You should replace values in <> <YOUR_MONIKER> Here you should put name of your moniker (validator) that will be visible in explorer <YOUR_WALLET> Here you shoud put the name of your wallet

Configure your node

Initialize your node

Download genesis

(OPTIONAL) Set custom ports

If you want to use non-default ports

Set seeds and peers

Config pruning

Set minimum gas price and null indexer

Set config

Create Service

Reset blockchain info and restart your node

(OPTIONAL) Use State Sync

Starting a validator

1. Add a new key

(OR)

1. Recover your key

2. Create validator

Wait until the node is synchronized.

Last updated