plutus-pab-1.2.0.0
Safe Haskell None
Language Haskell2010

Plutus.PAB.Core.ContractInstance.BlockchainEnv

Description

Synopsis

Documentation

startNodeClient Source #

Arguments

:: Config

PAB's config

-> InstancesState

In-memory state of running contract instances

-> IO BlockchainEnv

Connect to the node and write node updates to the blockchain env.

processMockBlock :: InstancesState -> BlockchainEnv -> Block -> Slot -> IO ( STM ( Either SyncActionFailure (Slot, BlockNumber ))) Source #

Go through the transactions in a block, updating the BlockchainEnv when any interesting addresses or transactions have changed.