Docker and Docker Compose are required to run the Fairblock node in an isolated environment.
Open a terminal and update your system:
sudo apt-get update
Install Docker using the following command:
sudo apt-get install docker.io
Start Docker:
sudo systemctl start docker
Enable Docker to start on boot:
sudo systemctl enable docker
Install Docker Compose:
sudo apt-get install docker-compose
Verify that Docker Compose is installed:
docker-compose --version
The Fairblock network provides a repository with the necessary configuration files to set up your node.
Clone the repository from GitHub:
git clone <https://github.com/fairblocknetwork/fairblock-testnet.git>
Navigate to the testnet folder:
cd fairblock-testnet
In this step, you’ll configure the node to connect to the Fairblock testnet.
Open the .env file (provided in the testnet repo) to configure network settings:
nano .env
Modify the necessary fields such as:
NODE_NAME: Your desired node name.WALLET_ADDRESS: Your Fairblock wallet address.Save and exit by pressing CTRL+X, then Y, and Enter.