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

Program aware deserialization #226

Open
kespinola opened this issue Oct 30, 2023 · 1 comment
Open

Program aware deserialization #226

kespinola opened this issue Oct 30, 2023 · 1 comment

Comments

@kespinola
Copy link
Collaborator

kespinola commented Oct 30, 2023

Goal

User's have a standard means of transforming generic transaction and account change events generated by yellowstone into program aware transactions and account change events.

Outcomes

  • Developers are able integrate dragonmouth into their applications in 1 hours.
  • Developers are provided program aware events without writing any code themselves.
  • Provide foundation for persisting account and transactions into a datastore or processing through existing data pipelines.

Strategy

  • Generate program aware transformers based on a program IDL that take generic yellowstone change events and return program specific events.
@kespinola
Copy link
Collaborator Author

A strategy using IDL generation and assuming borsh layout covers many programs but some of the most popular programs use custom byte mapping rules. The final version of this should load transforms as rust crates. The crates can be auto generated or crafted by hand similar to blockbuster used by DAS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant