Prerequisites

Make sure your hardware and software meet the following requirements:

Steps to Set Up a Validator Node

1. Install Docker

First, install Docker on your machine if you haven't already.

sudo apt update
sudo apt install docker.io
sudo systemctl start docker
sudo systemctl enable docker

Verify the Docker installation:

docker --version

2. Run the Node Using Docker

To run a validator node, use the following command in your terminal:

docker run -p 30333:30333 boolnetwork/bnk-node:alpha-testnet --validator --chain=alpha_testnet --name <your-node-name>

This command will run the node and expose the necessary ports for communication.

If you want the node to run in the background, add the -d flag:

docker run -d -p 30333:30333 boolnetwork/bnk-node:alpha-testnet --validator --chain=alpha_testnet --name <your-node-name>