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

feat: temporary indexer and graphql integration to database (materialized view) #46

Merged
merged 8 commits into from
Apr 23, 2024

Conversation

Mercurial
Copy link
Contributor

This PR introduces a temporary indexer that inserts utxo cbor data along with some metadata like transaction era, txhash and output index.

This is using something called https://github.com/SAIB-Inc/Cardano.Sync framework that uses pallas under the hood to access blockchain data and provide easy interface to structure the data to a postgres database.

This is a temporary solution to have a proof of concept of the graphql backend consuming a materialized view generated by https://github.com/txpipe/mumak

why this is a temporary solution:

  • Needs capability to update or delete a utxo when its already consumed as we want to show the live objects in the map (?)
  • Needs ability to insert UTXO cbor data (Oura does not yet have this)

@Mercurial Mercurial requested a review from scarmuega April 22, 2024 13:51
@scarmuega scarmuega merged commit 3fe70d5 into main Apr 23, 2024
1 check failed
@scarmuega scarmuega deleted the feat/indexer branch April 23, 2024 06:27
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

Successfully merging this pull request may close these issues.

2 participants