Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cardano.Wallet.RemoteClient
Synopsis
- 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
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.