Step 1: Preparing the Environment

Before setting up your validator node, make sure you have the following prerequisites installed:

Install dependencies:

sudo apt update
sudo apt install -y curl git build-essential


Step 2: Install Golang

Burnt Network uses the Go programming language for its node client. Follow these steps to install Golang:

  1. Install Golang:
wget <https://golang.org/dl/go1.18.3.linux-amd64.tar.gz>
sudo tar -C /usr/local -xvzf go1.18.3.linux-amd64.tar.gz

  1. Set up Go environment variables:

Add the following lines to your ~/.bashrc or ~/.profile to set the Go path:

export PATH=$PATH:/usr/local/go/bin
export GOPATH=$HOME/go
export GOROOT=/usr/local/go

Then, run:

source ~/.bashrc