plutus-pab-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.PAB.Run

Synopsis

Documentation

runWith Source #

Arguments

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

Builtin contract handler. Can be created with handleBuiltin.

-> IO () 

PAB entry point for a contract type a.

runWithOpts Source #

Arguments

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

Optional config override to use in preference to the one in AppOpts

-> AppOpts 
-> IO () 

Helper function to launch a complete PAB (all the necessary services) that can be interacted over the API endpoints defined in Server.