Home

Awesome

Builder Playground

The builder playground is a tool to deploy an end-to-end environment to locally test an Ethereum L1 builder. It deploys:

Usage

Clone the repository and run the following command:

$ go run main.go

The playground performs the following steps:

  1. It attempts to download the lighthouse and reth binaries from the GitHub releases page if they are not found locally.
  2. It generates the genesis artifacts for the chain.
    • 100 validators with 32 ETH each.
    • 10 prefunded accounts with 100 ETH each, generated with the mnemonic test test test test test test test test test test test junk.
    • It enables the Deneb fork at startup.
    • It creates a chain with ID 1337
  3. It deploys the chain services and the relay.
    • Reth node.
    • Lighthouse beacon node.
    • Lighthouse validator client.
    • Mev-boost-relay.

To stop the playground, press Ctrl+C.

The EL instance is deployed with this deterministic enode address:

enode://3479db4d9217fb5d7a8ed4d61ac36e120b05d36c2eefb795dc42ff2e971f251a2315f5649ea1833271e020b9adc98d5db9973c7ed92d6b2f1f2223088c3d852f@127.0.0.1:8545

Options:

Unless the --continue flag is set, the playground will delete the output directory and start a new chain from scratch on every run.