Before starting, make sure you meet the following requirements:
Go
(1.18 or higher)Before you begin setting up the node, make sure to update your system packages:
sudo apt update && sudo apt upgrade -y
Install necessary dependencies:
sudo apt install -y build-essential git curl jq
GaiaNet requires Go
for compiling its binaries. Install it by running:
curl -OL <https://golang.org/dl/go1.19.5.linux-amd64.tar.gz>
sudo tar -C /usr/local -xzf go1.19.5.linux-amd64.tar.gz
Add Go to your environment variables:
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.profile
source ~/.profile
Verify the installation:
go version
Clone the GaiaNet repository from GitHub: