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

Head identification in commit/deposit #1655

Open
ch1bo opened this issue Sep 26, 2024 · 0 comments
Open

Head identification in commit/deposit #1655

ch1bo opened this issue Sep 26, 2024 · 0 comments
Labels
💭 idea An idea or feature request

Comments

@ch1bo
Copy link
Collaborator

ch1bo commented Sep 26, 2024

Why

DApps on Cardano are represented as script validators. Making a DApp support the Hydra L2 means to make the spending validator be agreeing to spend parts of the DApp state into the Hydra Head via a commit/deposit transaction. Consequently, DApp developers need to know how those transactions look like and how they can write validators that acknowledge transfer of state (or funds) into en eligible Head.

What

  • Create an interface specification, documentation and examples for DApp developers that explains how a script can verify the Head it is spent into.

  • Ensure that commit/deposit transaction contain enough reliable information to identify the Head a script output is transferred to, e.g.

    • Number of participants (validators)
    • Public keys of participants (validators)
    • Contestation period
@ch1bo ch1bo added the 💭 idea An idea or feature request label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💭 idea An idea or feature request
Projects
Status: No status
Development

No branches or pull requests

1 participant