| License | Apache-2.0 |
|---|---|
| Stability | provisional |
| Safe Haskell | None |
| Language | Haskell2010 |
HaskLedger.Compile
Description
Compilation pipeline: Validator to .plutus envelope.
HaskLedger eDSL -> Covenant ASG -> JSON -> c2uplc -> .plutus
Synopsis
- compileToEnvelope :: FilePath -> Validator -> IO ()
- compileValidator :: Validator -> Either CovenantError ASG
- compileToJSON :: FilePath -> Validator -> IO ()
Documentation
compileToEnvelope :: FilePath -> Validator -> IO () #
Full pipeline: eDSL -> Covenant JSON -> c2uplc -> .plutus envelope.
Requires c2uplc on PATH (provided by Nix via build-tool-depends).
compileToJSON :: FilePath -> Validator -> IO () #
Write the Covenant JSON intermediate representation to disk. Useful for debugging the ASG before UPLC generation.