Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.

kurtosis-tech/zzz-deprecated-geth-lighthouse-mev-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

geth-lighthouse-mev-package

This is a Kurtosis package.

This package illustrates how with Kurtosis you can spin up a geth node, a light house node and add MEV components using individual packages. This is to illustrate how composing Kurtosis packages is like putting together lego blocks.

This package is spinning up mock MEV by default which consists of MEV Boost and the Ethereum Foundation mock mev builder. To launch full mev instead you can tweak line 9 in main.star and change it to full.

Run this package

If you have Kurtosis installed, run:

kurtosis run github.com/kurtosis-tech/geth-lighthouse-mev-package

If you don't have Kurtosis installed, click here to run this package on the Kurtosis playground.

To blow away the created enclave, run kurtosis clean -a.

Configuration

Click to see configuration

You can configure this package using the JSON structure found in network_params.json.

Use this package in your package

Kurtosis packages can be composed inside other Kurtosis packages. To use this package in your package:

First, import this package by adding the following to the top of your Starlark file:

this_package = import_module("github.com/kurtosis-tech/geth-lighthouse-mev-package/main.star")

Then, call the this package's run function somewhere in your Starlark script:

this_package_output = this_package.run(plan, args)

Develop on this package

  1. Install Kurtosis
  2. Clone this repo
  3. For your dev loop, run kurtosis clean -a && kurtosis run . inside the repo directory