reth-exex-plugin

October 12, 2024 ยท View on GitHub

A Reth Execution Extension (ExEx) with shared object (.so / .dylib) plugins

examples/minimal directory includes a minimal dylib plugin example that just writes notifications into JSON file.

Build

Note: See Makefile to run for examples/minimal or reth-exex-plugin lib separately.

# Builds `reth-exex-plugin` lib and `examples/minimal` plugin implementation.
# By default in release mode.
# Note: `examples/minimal` should be build in release mode to produce .dylib file
make build
# Linting and formatting.
make fix

Test

Note: ensure that examples/minimal/assets/notifications.json is exists and empty before running

make test