Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module re-export the content needed to test a contract with the node emulator.
Synopsis
- module Cardano.Node.Emulator.API
- data Params
- emptyTxBodyContent :: TxBodyContent BuildTx BabbageEra
- knownAddresses :: [CardanoAddress]
- knownPaymentKeys :: Map PaymentPubKey PaymentPrivateKey
- knownPaymentPrivateKeys :: [PaymentPrivateKey]
- knownPaymentPublicKeys :: [PaymentPubKey]
- alwaysSucceedPolicy :: MintingPolicy
- alwaysSucceedPolicyId :: PolicyId
- someTokenValue :: AssetName -> Integer -> Value
- module Cardano.Node.Emulator.Test
Emulator contracts
module Cardano.Node.Emulator.API
Instances
Contract helpers
emptyTxBodyContent :: TxBodyContent BuildTx BabbageEra #
knownAddresses :: [CardanoAddress] #
knownPaymentKeys :: Map PaymentPubKey PaymentPrivateKey #
knownPaymentPrivateKeys :: [PaymentPrivateKey] #
knownPaymentPublicKeys :: [PaymentPubKey] #
alwaysSucceedPolicy :: MintingPolicy Source #
alwaysSucceedPolicyId :: PolicyId Source #
someTokenValue :: AssetName -> Integer -> Value Source #
Tests
module Cardano.Node.Emulator.Test