Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an example of using an RPC with an ExEx #31

Open
onbjerg opened this issue Apr 30, 2024 · 1 comment
Open

Add an example of using an RPC with an ExEx #31

onbjerg opened this issue Apr 30, 2024 · 1 comment
Assignees

Comments

@onbjerg
Copy link
Member

onbjerg commented Apr 30, 2024

Describe the feature

Add an example of how to start a custom RPC method alongside an ExEx, and feed the data from the RPC method into the ExEx, and from the ExEx into the RPC response.

The ExEx does not need to do anything super special; it could e.g. something like the optimism deposit decoder example we have that just also exposes # deposits over RPC or similar. The goal is to demonstrate:

  1. How to add a custom RPC method for an ExEx
  2. Feed data from that RPC method to an ExEx
  3. Feed data from an ExEx to an RPC response

Additional context

No response

@supernovahs
Copy link

I would like to try this

@onbjerg onbjerg transferred this issue from paradigmxyz/reth Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

2 participants