Skip to main content

Validator Setup Guide

Setup validators with the Commit Boost module.

Quick Start

git clone https://github.com/ethgas-developer/ethgas-preconf-commit-boost-module
cd ethgas-preconf-commit-boost-module
cp .env.example .env
docker compose up -d

Prerequisites

Before setting up your validator, ensure you have:

  • Docker & Docker Compose installed and running
  • Validator Keys ready for registration
  • Network Access to ETHGas endpoints
  • Environment Configuration completed

Setup Process

1. Repository Setup

Primary Module:

Related Resources:

2. Environment Configuration

cp .env.example .env

nano .env

Key Configuration Variables:

VariableDescriptionRequired
ETHGAS_API_URLAPI endpoint URLYes
ETHGAS_WS_URLWebSocket endpoint URLYes
VALIDATOR_KEYSYour validator keysYes
NETWORKMainNet or TestNet selectionYes

3. Consensus Client Selection

Choose your preferred consensus client:

ClientDescriptionDocumentation
LighthouseRust-based clientLighthouse Docs
PrysmGo-based clientPrysm Docs
TekuJava-based clientTeku Docs
Recommendation

Choose a client based on your technical expertise and infrastructure requirements.

Lighthouse Configuration

If you're using Lighthouse, add this configuration to your commitboost.toml:

[timeouts]
# Lighthouse specific guidance
timeout_get_header_ms = 1950

4. Deployment

# Start the validator service
docker compose up -d

# Check service status
docker compose ps

# View logs
docker compose logs -f

Monitoring & Management

Service Status

Monitor your validator using the official API endpoints:

  • Health Check: Verify service status
  • Performance Metrics: Monitor validator performance
  • Error Logs: Review and troubleshoot issues

API Integration

  • Service monitoring endpoints
  • Performance tracking
  • Configuration management
  • Error handling

API Endpoints: For programmatic checks and dashboards, start with the Validator API:

  • Get user validators — List your registered validators and their status

You can combine this with your own system metrics (CPU, memory, disk, node logs) to build alerts and SLOs.

Troubleshooting

Common Issues

IssueChecksSeverity
Service Won't Start✅ Check Docker installation, verify environment configuration, review container logsHigh
Connection Issues✅ Verify network connectivity, check API endpoint URLs, validate authentication credentialsMedium
Performance Problems✅ Monitor system resources, check consensus client logs, review validator configurationLow

Get Help

ResourceDescriptionType
GitHub IssuesReport bugs and request featuresBug Reports
ETHGas CommunityDiscord, forums, and community supportCommunity
DocumentationOfficial ETHGas developer docs and guidesDocs
ResourceURLDescription
ETHGas Platformhttps://app.ethgas.com/my-portfolio/accountsMain platform website
TestNethttps://testnet.ethgas.com/Test environment
GitHub Repohttps://github.com/ethgas-developer/ethgas-preconf-commit-boost-moduleCommit Boost module source

Next Steps

  1. Complete Setup — Follow the quick start guide above
  2. Configure Monitoring — Set up monitoring and alerts
  3. Test Integration — Verify all components work correctly
  4. Go Live — Deploy to production environment
Best Practice

Start with the TestNet environment to validate your setup before moving to production.