Skip to main content

Running a Validator Node

As of today, the only way to run a validator node is by pulling the docker image.

Docker

Step 1: Install Docker

Step 2: Pull the 5irechain/node:testnet Docker image on to your system using the following command:

docker pull 5irechain/node:testnet

Then run the following command to start a single 5ireChain development node as a validator.

docker run -d -p 9933:9933 -p 9615:9615 -p 9944:9944 -p 30333:30333 -v $(pwd):/data 5irechain/node:testnet --dev --validator

This command will start a local development network. A few useful ones are as follow.

# Run a single 5ireChain development node
docker run -d -p 9933:9933 -p 9615:9615 -p 9944:9944 -p 30333:30333 -v $(pwd):/data 5irechain/node:testnet --dev

# Run without persisting the database
docker run -d -p 9933:9933 -p 9615:9615 -p 9944:9944 -p 30333:30333 -v $(pwd):/data 5irechain/node:testnet purge-chain --dev