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
- Linux debian-based
- Root access to your system
To install node run follow command:
To create a dedicated kepler user (recommended):
- Create user:
- Grant sudo:
- Switch to user:
- Then run this script with sudo
This script sets up a Kepler validator node on your system. It:
- Downloads and installs the keplerd binary
- Initializes the node configuration in your home directory
- Configures the node with proper gas prices and seeds
- Sets your private validator key
- Downloads the genesis file
- Sets up and starts a systemd service
If you already have a node configured, it will ask before reinitializing. The script must be run with sudo to install the binary and service.
Running as a Docker Container
Prerequisites
- Docker installed
- Docker Compose installed
Configuration
- Create the working directory structure:
- Create a temporary container to generate configuration:
-
Set up your validator key in
config/priv_validator_key.json
-
Configure
./config/app.toml
:
- Configure
./config/config.toml
:
- Download the genesis file:
- Create
docker-compose.yml
:
- Start the node:
- Monitor the logs:
Checking Synchronization Status
To verify your node’s synchronization status, run: