| License | Apache-2.0 |
|---|---|
| Stability | provisional |
| Safe Haskell | None |
| Language | Haskell2010 |
HaskLedger
Contents
Description
Single import for the HaskLedger eDSL. Re-exports types, combinators, and compilation functions.
import HaskLedger
myValidator :: Validator
myValidator = validator "my-validator" $ do
require "correct redeemer" $
asInt theRedeemer .== 42
Synopsis
- module HaskLedger.Contract
- module HaskLedger.Combinators
- module HaskLedger.Compile