Prerequisites

Step-by-Step Instructions

Step 1: Clone the DWallet Network Repository

First, clone the official DWallet Network repository from GitHub:

git clone <https://github.com/dwallet-network/dwallet>
cd dwallet

Step 2: Build the Docker Image

Navigate to the cloned directory and build the Docker image for the validator node.

docker build -t dwallet-validator .

This command will build a Docker image named dwallet-validator using the Dockerfile provided in the repository.

Step 3: Generate Validator Keys

Before running the validator, you need to generate the necessary keys. Use the following command to generate the validator keys:

docker run --rm -v $(pwd)/keys:/keys dwallet-validator generate-keys

This command will generate keys and store them in the keys directory in the current path.

Step 4: Configure the Validator Node

Create a configuration file for your validator node. Use the example configuration provided in the repository and adjust it according to your environment:

cp config/validator.example.yaml config/validator.yaml