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 #8008

Open
onbjerg opened this issue Apr 30, 2024 · 1 comment · May be fixed by #8112
Open

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

onbjerg opened this issue Apr 30, 2024 · 1 comment · May be fixed by #8112
Assignees
Labels
A-exex Execution Extensions C-example Examples

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

@onbjerg onbjerg added A-exex Execution Extensions C-example Examples labels Apr 30, 2024
@supernovahs
Copy link
Contributor

I would like to try this

@supernovahs supernovahs linked a pull request May 5, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-exex Execution Extensions C-example Examples
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

2 participants