tweag / cooked-validators

MIT License
39 stars 11 forks source link

Bring back capabilities to load scripts from bystrestrings #396

Open mmontin opened 1 month ago

mmontin commented 1 month ago

Scripts are compiled in uplc and then serialized as bytestring. We used to be able to load them from those bytestrings and convert them to working typed validators or minting policies. This is no longer possible as the API to make those loads has changed a lot. We need to bring back this capability, as this will allow us to handle scripts that are originally not written in Plutus, but instead in Aiken, Plutarch or other similar languages compiling to uplc.