Operator Guide
Setup Validator Node
Learn how to set up and run a validator node on the Ditto Network
Setup Validator Node
This guide will walk you through setting up a validator node on the Ditto Network. You can choose between running the node directly on your system or using Docker.
Systemd Unit Setup
All commands in this section should be executed as the root user.
Prerequisites
- Root access to your system
jq
utility installed- Basic knowledge of systemd
Installation Steps
- Install
jq
if not already installed:
- Create the working directory:
-
Download the appropriate binary for your OS from Kepler Releases to
/home/kepler
-
Unzip the archive and set up the binary:
- Initialize the node:
Configuration
- Set the gas price in
/root/.kepler/config/app.toml
:
- Configure seeds in
/root/.kepler/config/config.toml
:
- Download the genesis file:
Service Setup
- Create the systemd service file at
/etc/systemd/system/kepler.service
:
- Start and enable the service:
- Check the service status:
- Monitor the logs:
Running as a Docker Container
Prerequisites
- Docker installed
- Docker Compose installed
jq
utility installed- Golang installed
Installation Steps
- Clone the repository:
- Build the binary:
- Build the Docker image:
Configuration
- Create the working directory structure:
- Configure
./config/app.toml
:
- Configure
./config/config.toml
:
- Download the genesis file:
- Create required empty files:
- Create
docker-compose.yml
:
- Start the node:
- Monitor the logs:
Checking Synchronization Status
To verify your node’s synchronization status, run: