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.
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
Note: ensure that examples/minimal/assets/notifications.json
is exists and empty before running
make test