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: integrate reference scripts #18

Open
4 tasks
scarmuega opened this issue Mar 3, 2025 · 0 comments
Open
4 tasks

feat: integrate reference scripts #18

scarmuega opened this issue Mar 3, 2025 · 0 comments

Comments

@scarmuega
Copy link
Member

Context

Preferred method for including scripts in txs is via reference scripts. The location of these scripts is defined by the reference of the UTxO that holds them. This introduces some challenges:

  • these reference are chain / network specific, so it's not straightforward how to map that into network-agnostic syntax
  • defining these utxos is usually a protocol-author concern and not a tx-builder concern, so passing the location of the utxos at runtime is inefficient

DoD

  • we have a recommended approach for including reference scripts in tx3 templates
  • we have documentation to explain the approach
  • we have working example
  • we have a language-level integration test
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