Quick Start Guide
The collateral requirement to register a validator to ETHGas is currently *zero* ETH!
You can start using ETHGas today for FREE and earn higher rewards for every block 🥳
Commit-Boost
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:
Use this single repo instead for simpler configuration management.
Or, continue using your existing version, making sure to add the configuration,
rpc_url, ETHGas[[relays]], etc.
To get started, clone the repo:
git clone https://github.com/ethgas-developer/ethgas-preconf-commit-boost-module.gitCopy docker-compose-example.yml as docker-compose.yml and make any required modifications.
cp docker-compose-example.yml docker-compose.ymlCreate an empty .cb.env file and generate a new jwt for the signer module by running:
touch .cb.env
docker compose -f docker-compose.yml up cb_gen_jwtCreate a config.toml file and enter the following configuration:
touch config.tomlSigners
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
Local Signers
Remote Signers
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
Start the Signer 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, to change collateral 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.
⭐️ Next Steps ⭐️
Once you have your validators registered to ETHGas, the next step is to configur Multi-Relay Support. Using multiple relays, alongside the ETHGas relays, will improve the reliability of your block proposals and result in higher rewards.
Multi-Relay SupportLast updated