Installation
To run an CIC blockchain non-validator node
- 1.Requirements: Linux: tested on Ubuntu and Debian.
description: Setup a non-validator node. To become a validator, node must get votes from at least 2/3 of current validators.
sudo apt update
sudo apt install screen
sudo apt install default-jre default-jdk
wget https://hyperledger.jfrog.io/artifactory/besu-binaries/besu/21.10.5/besu-21.10.5.zip
sudo apt install unzip
sudo unzip besu-21.10.5.zip; sudo mv besu-21.10.5 besu
sudo nano ~/.bashrc
export PATH=/home/YOUR_USERNAME/besu/bin:$PATH
source ~/.bashrc
mkdir -p CIC blockchain /node01/data cd CIC blockchain
sudo nano genesis.json ( Save using Ctrl + O , then exit with Ctrl + x )
sudo nano static-nodes.json ( Save using Ctrl + O , then exit with Ctrl + x )
Create a file called config.toml in node01 folder. Paste contents of config.toml into it:
cd node01 sudo nano config.toml
screen , then hit CIC key.
besu --config-file=config.toml
Press Ctrl + A , then press C . Now you can either close the terminal window, or work on other processes.
It should start synchronization in few moments, or minutes. Depending on your machine.
rpc-http-port=8545 rpc-ws-port=8546 graphql-http-port=8547 metrics-port=9545 p2p-port=30303
Last modified 6mo ago