This guide details the process of setting up a Bloxberg validator node using a Docker image.
Validator nodes play a crucial role in the Bloxberg blockchain by verifying transactions and contributing to the consensus mechanism.
- Operating System: Ubuntu 22.04 or later (Other OSes may be compatible with adjustments)
- CPU: Minimum 4 cores
- RAM: Minimum 4GB
- Storage: Recommended 250GB SSD (more for futureproofing)
- Firewall: Port 30303 open for communication with other nodes
- CPU Instruction Set: AES support (verify with cat /proc/cpuinfo for "aes" in flags)
- Access the server where you'll host the validator node.
- Utilize a Git client to clone the bloxberg-validator-node repository.
- Edit the docker-compose.yml file with a text editor (e.g., nano or vim).
- Locate the NATIP variable and replace it with your server's external IP address.
- Save the changes.
- Navigate to the src/validator-data directory.
- Open the validator/validator.pwd file using a text editor.
- Create a strong password to encrypt your private key.
- Save the password securely.
- Navigate to the src/ directory.
- Execute the script with the command
sudo ./setup.sh.
- Return to the root directory (/) on the server.
- Run the
command docker-compose up
in the terminal. - This initiates the Docker container and generates an Authority Address.
- Copy the Authority Address obtained in step 5.
- Provide this address to the Bloxberg Association for registration purposes.
- Terminate the currently running container by pressing Ctrl+C.
- To execute the validator in the background, use the command
docker-compose up -d
- The specified system requirements represent minimums. Allocate more resources for optimal performance and stability
- Ports 8545 (JSON-RPC API) and 8546 (Web-Socket) are used for local interaction with the blockchain and do not necessitate internet exposure
- This guide assumes familiarity with working on the command line and editing text files
- bloxberg-validator-node repository: https://github.com/bloxberg-org/bloxberg-validator-node