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

[FEATURE REQUEST] Supports for trace block indexing #121

Open
kevinfaveri opened this issue Nov 25, 2024 · 1 comment
Open

[FEATURE REQUEST] Supports for trace block indexing #121

kevinfaveri opened this issue Nov 25, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@kevinfaveri
Copy link

kevinfaveri commented Nov 25, 2024

In essence, I want to be able to have a block listener handler that uses debug_traceBlockByNumber or something else so I can track in / outs of balances. I'm happy to help sponsor the work.

For reference, this implements this and account listeners: https://github.com/ponder-sh/ponder/pull/1210/files
I woulndt go that far, as long as it indexes blocks using debug_traceBlockByNumber and send it to a handler, on the handler a logic to track in / out of ETH native balance changes in the block can be written

The reasoning is that would allow rindexer to fully index tokens and native transfers, a feature it is lacking at the moment.

@joshstevens19
Copy link
Owner

joshstevens19 commented Nov 25, 2024

This is a great idea something I would love to add alongside as if executed well you can in turn track tons of stuff this way. I also want to add factory contract monitoring.

The first thing I would like to define here is the rindexer.yaml and how it would look this allows us to see how people will set it up! Is your pure usecase just doing native transactions or have you other thoughts? Asking as I can imagine this being useful for address filtering, gas based filtering, internal transactions, contract creations, state variable updates and well tons more but I defo only want to add the most important things first due to scope creep lol

The core thing rindexer does well is do everything for you so do want to make sure we get the interface spot on. In your case though you would want to write the handler yourself using the rindexer rust project right?

@joshstevens19 joshstevens19 added the enhancement New feature or request label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants