plutus-pab-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Cardano.Wallet.RemoteClient

Synopsis

Documentation

handleWalletClient :: forall m effs. (LastMember m effs, MonadIO m, Member NodeClientEffect effs, Member (Error WalletAPIError) effs, Member (Reader ProtocolParameters) effs, Member (Reader InstancesState) effs) => PABServerConfig -> Maybe ContractInstanceId -> WalletEffect ~> Eff effs Source #

Wallet effect handler to remote client scenario.

Useful for browser-based wallets (Nami, Yoroi, etc.) where the PAB doesn't have direct access.

TODO: All wallet effects, except YieldUnbalancedTx need to be implemented. See SCP-3094.