plutus-chain-index-core-1.2.0.0
Safe HaskellNone
LanguageHaskell2010

Plutus.ChainIndex.Emulator.Server

Documentation

serveChainIndexQueryServer Source #

Arguments

:: Int

Port

-> TVar ChainIndexEmulatorState

Chain index state (TODO: When the disk state is stored in a DB, replace this with DB connection info)

-> IO () 

serveChainIndex :: forall effs. (Member (Error ServerError) effs, Member ChainIndexQueryEffect effs, Member ChainIndexControlEffect effs) => ServerT API (Eff effs) Source #