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

Light Wallet: Compute deterministic Cardano UTxO/transactions set PoC #1283

Closed
3 tasks done
Tracked by #1313
jpraynaud opened this issue Oct 5, 2023 · 1 comment
Closed
3 tasks done
Tracked by #1313
Assignees
Labels
prototype 🛠️ Prototype/PoC of a feature

Comments

@jpraynaud
Copy link
Member

jpraynaud commented Oct 5, 2023

Why

In order to sign the UTxO (or transaction history) of the Cardano chain with Mithril, we need to retrieve this information deterministically.

What

One possible way of doing this is to read these data directly from the immutable files of the Cardano node database. We want to explore this possibility as this looks like the easiest way to get access to this information in a deterministic fashion today. We will implement a PoC which goal is to demonstrates that we can compute a deterministic set of transactions this way.

This process should probably take place in the ChainObserver.

How

  • Read the raw blocks from the Cardano immutable files
  • Parse the raw blocks (e.g. with codec from pallas)
  • Compute a deterministic set of transactions from these data
@jpraynaud jpraynaud self-assigned this Oct 5, 2023
@jpraynaud jpraynaud added prototype 🛠️ Prototype/PoC of a feature to-groom 🤔 Needs grooming labels Oct 5, 2023
@jpraynaud jpraynaud changed the title Compute deterministic Cardano UTxO/transactions set PoC Light Wallet: Compute deterministic Cardano UTxO/transactions set PoC Oct 24, 2023
@jpraynaud jpraynaud removed the to-groom 🤔 Needs grooming label Oct 24, 2023
@jpraynaud
Copy link
Member Author

The PoC is available on the branch: jpraynaud/1283-gather-blocks-tx-from-immutable

This README file explains how to run the prototype.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
prototype 🛠️ Prototype/PoC of a feature
Projects
None yet
Development

No branches or pull requests

1 participant