Binary
warning
Running the modules natively means you opt out of the security guarantees made by Docker and it's up to you how to setup and ensure the modules run safely
Setup
Get the binary of the module either by compiling from source or by downloading a published release.
Modules need some environment variables to work correctly.
Common
CB_CONFIG: required, path to thetomlconfig fileCHAIN_SPEC_ENV: optional, path to a chain spec file. This will override the[chain]field in thetomlconfigCB_METRICS_PORT: optional, port where to expose the/metricsendpoint for PrometheusCB_LOGS_DIR: optional, directory to store logs. This will override the directory in thetomlconfig
PBS Module
CB_BUILDER_URLS: optional, comma-separated list of urls toeventsmodules where to post builder eventsCB_PBS_ENDPOINT: optional, override the endpoint where the PBS module will open the port for the beacon nodeCB_MUX_PATH_{ID}: optional, override where to load mux validator keys for mux with id={ID}
Signer Module
CB_JWTS: required, comma-separated list ofMODULE_ID=JWTto process signature requestsCB_SIGNER_PORT: required, port to open the signer server on For loading keys we currently support:CB_SIGNER_LOADER_FILE: path to a.jsonwith plaintext keys (for testing purposes only)CB_SIGNER_LOADER_FORMAT,CB_SIGNER_LOADER_KEYS_DIRandCB_SIGNER_LOADER_SECRETS_DIR: paths to thekeysandsecretsdirectories or files (ERC-2335 style keystores, see Signer config for more info) For storing proxy keys we currently support:CB_PROXY_STORE_DIR: directory where proxy keys and delegations will be saved in plaintext (for testing purposes only)CB_PROXY_KEYS_DIRandCB_PROXY_SECRETS_DIR: paths to thekeysandsecretsdirectories (ERC-2335 style keystores, see Signer config for more info)
Modules
CB_MODULE_ID: required, unique id of the module
Commit modules
CB_SIGNER_URL: required, url to the signer module serverCB_SIGNER_JWT: required, jwt to use to for signature requests (needs to match what is inCB_JWTS)
Events modules
CB_BUILDER_PORT: required, port to open to receive builder events from the PBS module
Modules might also have additional envs required, which should be detailed by the maintainers.
Start
After creating the cb-config.toml file, setup the required envs and run the binary. For example:
CB_CONFIG=./cb-config.toml commit-boost-pbs
Security
Running the modules natively means you opt out of the security guarantees made by Docker and it's up to you how to setup and ensure the modules run safely.