MeshJS / mesh

TypeScript open-source library to advance Web3 development on Cardano
https://meshjs.dev
Apache License 2.0
212 stars 58 forks source link

Plutus V2: Support for Script References? #95

Closed will-break-it closed 8 months ago

will-break-it commented 1 year ago

Looking at the contract interaction examples, there are none shown that actually use script references. Is this already supported or part of the roadmap?

nielstron commented 1 year ago

Extrapolating from the types, "UTxO" is a possible type in some places where actually the contract should go. I assume that this implies you can use a UTxO with a reference script in the place of the PlutusScript there.

jinglescode commented 1 year ago

@will991 @nielstron This implementation may help you as a reference. Feel free to push PR to update the docs. Building on Cardano together.