Kurtosis can be used to spin up a Docker-based test network. A sample network_params.yaml configuration file has been provided to run a basic 4-node Teku/Besu network with a mainnet preset and a total of 256 validators (64 per node).
For exhaustive Kurtosis configuration options, please check the full YAML schema here.
- Make sure Kurtosis is installed.
- Run
kurtosis run --enclave test-network github.com/kurtosis-tech/ethereum-package --args-file network_params.yaml
If you would like to use a locally built Teku image, first run ./gradlew distDocker
in the root
directory and then use cl_image: consensys/teku:develop
in the network_params.yaml
file.
To tear down the test network, you can simply run kurtosis enclave rm -f test-network
.
Dora, el_forkmon, Prometheus/Grafana and rpc-snooper have been enabled to allow for an easier monitoring/debugging of the network/nodes.