plutus-pab-1.2.0.0
Safe Haskell None
Language Haskell2010

Cardano.Wallet.RemoteClient

Synopsis

Documentation

handleWalletClient :: forall m effs. ( LastMember m effs, MonadIO m, Member NodeClientEffect effs, Member ( Error WalletAPIError) effs, Member ( Reader InstancesState ) effs) => 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.