Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Validators / Node Operators

Validators play a critical role in supporting realtime execution. ETHGas is designed to unambiguously earn more than MEV-Boost alone, with both minimal risk and minimal technical integration required.

Quick Start Guide

1

Set up Commit-Boost

2

Register validators to ETHGas

3

Earn higher rewards

That's it, you're earning higher rewards! You can sit back and relax 🏖️

This guide is a simplified quick start configuration that assumes a standard validator setup. For a full technical guide with every available configuration option, check out the repo README.

Commit-Boost

Commit-Boost is a direct replacement for MEV-Boost and performs the same function, with the ability to add additional functionality.

Commit-Boost is a sidecar for proposers to create commitments. Validators need to run Commit-Boost, which uses a validator's BLS key to sign messages signaling their intent to register on ETHGas exchange platform and delegate to more sophisticated parties (e.g. our Pricer server) to sell preconfs.

Link: https://github.com/ethgas-developer/ethgas-preconf-commit-boost-module

Different commit boost components

The ethgas-preconf-commit-boost-module repo contains everything needed to setup and run Commit-Boost as well as the ETHGas module. If you are already running an existing version of Commit-Boost, you can either:

  1. Use this single repo instead for simpler configuration management.

  2. Or, continue using your existing version, making sure to add the configuration, rpc_url, ETHGas [[relays]], etc.

To get started, clone the repo:

Copy docker-compose-example.yml as docker-compose.yml and make any required modifications.

Create an empty .cb.env file and generate a new jwt for the signer module by running:

Create a config.toml file and enter the following configuration:

This is a minimal setup and does not cover all environment types. For a comprehensive list of all available configuration options, open the config.example.mainnet.toml file.

Signers

This section continues the configuration of the config.toml file for the signer modules. Select the signer that you are using add the configuration below the [signer] section in your config.toml file

Lighthouse

File structure:

Config:

Prysm

File structure:

Config:

Teku

File structure:

Config:

Lodestar

File structure:

Config:

All keys have the same password stored in secrets/password.txt

Nimbus

File structure:

Config:

Remote Signers

Web3Signer

Web3Signer implements the same API as Commit-Boost, so there's no need to set up a Signer module. The parameters needed for the remote signer are:

Dirk

Dirk is a distributed key management system that can be used to sign transactions. In this case the Signer module is needed as an intermediary between the modules and Dirk. The following parameters are needed:

  • cert_path and key_path are the paths to the client certificate and key used to authenticate with Dirk.

  • wallets is a list of wallets from which the Signer module will load all accounts as consensus keys. Generated proxy keys will have format <WALLET_NAME>/<ACCOUNT>/<MODULE_ID>/<UUID>, so accounts found with that pattern will be ignored.

  • secrets_path is the path to the folder containing the passwords of the generated proxy accounts, which will be stored in <secrets_path>/<WALLET_NAME>/<ACCOUNT>/<MODULE_ID>/<UUID>.pass.

Delegation signatures will be stored in files with the format <proxy_dir>/delegations/<MODULE_ID>/<PROXY_KEY>.sig.

A full example of a config file with Dirk can be found here.

ETHGas Module

The ETHGas module is run each time you want to update your ETHGas account configuration. This includes actions like:

  • Registering and deregistering validators.

  • Updating your entity name, etc.

Metrics and Logs (Optional)

Optional metrics and logs configuration

Start the Signer module

For DVT validators or remote signer, you don't need to run this module.

For registration of non-DVT validators, run:

✅ If your signer starts successfully, you should see the log similar to:

where loaded_consensus indicates the total number of loaded keys.

Start the ETHGas Commit module

You are advised to run this module at or after the 2nd slot of the current epoch, so you can have more time to configure the PBS module.

This module only needs to be run whenever you modify the configuration of this module, e.g. when you want to register or deregister a validator to the ETHGas Exchange, or to change account configuration settings, etc. Think of running this module as "Update my config and sync with ETHGas".

To register the validators to the ETHGas Exchange, run:

✅ If all goes well, you will see the log:

❌ If the module encounters ConnectionRefused error when it tries to connect to http://cb_signer:20000/signer/v1/get_pubkeys, please wait for 20 minutes to retry.

Start the PBS module

Start the PBS module by running:

The default port used by the PBS module is the same default port as MEV-Boost. If you had previously configured a custom port for MEV-Boost, make sure you have configured that on the PBS module.

✅ If all goes well, you will see the log:

Once the ETHGas Commit module has completed the registration process and right before the start of the next epoch, stop your existing MEV-Boost client, restart the beacon node with new builder endpoint (if the port is different), and immediately start the PBS module.

To hot reload the config without restarting the module, run:

✅ You will see the log INFO : config reload successful if the config reloads successfully.

Refer here for more details about hot reloading.


⭐️ You're Realtime Ready ⭐️

Now your validators are registered to ETHGas and you're connected to the ETHGas relay, that's it! You're ready to propose Realtime blocks when the market is open.

Reference

More details can be found in the API documentation

Last updated