Prerequisites

  1. Basic Requirements:
  2. Tools:

Step 1: Install Dependencies

Update and install the required tools.

sudo apt update && sudo apt upgrade -y
sudo apt install -y curl git build-essential pkg-config libssl-dev

Install Docker and Docker-Compose:

# Install Docker
curl -fsSL <https://get.docker.com> -o get-docker.sh
sh get-docker.sh

# Verify installation
docker --version

# Install docker-compose
sudo curl -L "<https://github.com/docker/compose/releases/download/$>(curl -s <https://api.github.com/repos/docker/compose/releases/latest> | grep -oP '"tag_name": "\\K(.*)(?=")')" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

# Verify installation
docker-compose --version

Install Rust:

curl --proto '=https' --tlsv1.2 -sSf <https://sh.rustup.rs> | sh
source $HOME/.cargo/env
rustup update stable


Step 2: Clone the Fuel Network Repository

Clone the Fuel Network GitHub repository:

git clone <https://github.com/FuelLabs/fuel-core.git>
cd fuel-core


Step 3: Build the Fuel Validator Node

Use Rust to build the node software.

cargo build --release