plutus-pab-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.PAB.LocalCluster.Run

Description

Start a local cluster of cardano nodes and PAB(s)

Synopsis

Documentation

data LogOutputs Source #

Constructors

LogOutputs 

launchChainIndex :: FilePath -> RunningNode -> IO ChainIndexPort Source #

Launch the chain index in a separate thread.

launchPAB Source #

Arguments

:: forall a. (Show a, Ord a, FromJSON a, ToJSON a, Pretty a, MimeUnrender JSON a, HasDefinitions a, ToSchema a) 
=> BuiltinHandler a 
-> Text

Passphrase

-> FilePath

Temp directory

-> BaseUrl

wallet url

-> RunningNode

Socket path

-> ChainIndexPort

Port of the chain index

-> IO () 

Launch the PAB in a separate thread.

restoreWallets :: String -> Int -> IO BaseUrl Source #

Set up wallets

sleep :: Int -> IO () Source #

data TestsLog Source #

Instances

Instances details
Show TestsLog Source # 
Instance details

Defined in Plutus.PAB.LocalCluster.Run

ToText TestsLog Source # 
Instance details

Defined in Plutus.PAB.LocalCluster.Run

Methods

toText :: TestsLog -> Text Source #

HasPrivacyAnnotation TestsLog Source # 
Instance details

Defined in Plutus.PAB.LocalCluster.Run

Methods

getPrivacyAnnotation :: TestsLog -> PrivacyAnnotation

HasSeverityAnnotation TestsLog Source # 
Instance details

Defined in Plutus.PAB.LocalCluster.Run

Methods

getSeverityAnnotation :: TestsLog -> Severity