plutus-pab-1.2.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 

Fields

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

setupPABServices :: forall a. (Show a, Ord a, FromJSON a, ToJSON a, Pretty a, MimeUnrender JSON a, HasDefinitions a, ToSchema a) => BuiltinHandler a -> String -> Int -> FilePath -> RunningNode -> IO () Source #

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.

slotConfigOfNetworkParameters :: NetworkParameters -> SlotConfig Source #

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

Set up wallets

sleep :: Int -> IO () Source #

data TestsLog Source #

Constructors

MsgBaseUrl Text Text Text 
MsgSettingUpFaucet 
MsgCluster ClusterLog 

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

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