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
Burnt Network uses the Go programming language for its node client. Follow these steps to 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
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