mlabs-haskell / plutus-specification-language

4 stars 1 forks source link

Finish the `Family.Values` functionality #18

Open blamario opened 2 years ago

blamario commented 2 years ago

The Family.Values module is currently the only part of the transaction-family-specification library that depends on Cardano. Or rather, it should depend on it but doesn't yet, because the whole library requires GHC 9. I created a small shim instead at Family.Ledger to export the relevant type names.

Now that Plutus and Cardano are finally upgrading to GHC 9:

blamario commented 2 years ago

More precisely, the new function's signature would have to be something like

Transaction t => Environment t -> TxSpecimen t -> Tx

where the purpose of Environment is to provide things like a mapping of the specified Scripts to actual PlutusTx scripts.