evstack / evstack/ev-reth

Add Execution Extensions (ExEx) support for custom indexing and event hooks

Offen
#123 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Rust
Sterne
8
Forks
9
Ø Merge
2 T. 13 Std.
Gemergte PRs (30 T.)
6

Beschreibung

## Summary

Enable Reth's Execution Extensions (ExEx) framework in ev-reth so customers can build custom indexers, analytics pipelines, bridge monitors, and event-driven integrations as in-process post-execution hooks.

## Motivation

Currently there is no built-in mechanism for customers to react to block execution events (new blocks, reorgs, state changes) without polling JSON-RPC. ExExes run in the same process as the node using shared memory, delivering 10-100x better performance than RPC-based indexers. They are reorg-safe by design via `ChainCommitted`, `ChainReorged`, and `ChainReverted` notifications.

**Customer use cases:**
- Block explorers and transaction indexers
- Analytics and reporting pipelines
- Bridge monitors and webhook systems
- Custom event processors for Evolve-specific transaction types (0x76)

## Scope

1. Wire up the `install_exex` API on the node builder in `bin/ev-reth/src/main.rs`
2. Ensure ExEx notifications correctly include `EvTxEnvelope` (0x76) transactions, batch calls, and sponsorship metadata
3. Provide at least one example ExEx (e.g., a simple block logger or Evolve tx indexer) in an `examples/` directory
4. Document how customers can write and compile custom ExExes against ev-reth
5. Evaluate Remote ExEx support for out-of-process consumers (gRPC)

## References

- [Reth ExEx Overview](https://reth.rs/exex/overview/)
- [Paradigm: Execution Extensions](https://www.paradigm.xyz/2024/05/reth-exex)
- [ExEx Examples](https://github.com/paradigmxyz/reth-exex-examples)
- [Community ExEx Directory](https://www.exex.rs/)

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne in bin/ev-reth/src/main.rs, indem du den Node Builder und die install_exex API liest, und sieh dir anschließend den Reth ExEx Overview sowie die verknüpften Beispiele an. Prüfe, wie Notifications EvTxEnvelope-Transaktionen, Batch-Aufrufe, Sponsorship-Metadaten und Reorg-Ereignisse darstellen. Als abgeschlossen gilt die Aufnahme eines Beispiels in examples/, einer Kundendokumentation und einer dokumentierten Bewertung der Remote ExEx-Unterstützung über gRPC.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
grpc, rust
Bereich
backend, distributed-systems, infrastructure
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
28/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.