@statechannels/channel-client

channel-client package

Make requests to a statechannels wallet using async methods

Remarks

The ChannelClient class wraps an object implementing the Channel Provider Interface and exposes methods which return Promises. This object could be a Fake Channel Provider.

Classes

ClassDescription
ChannelClient(BETA) Class that wraps the JSON-RPC interface of @statechannels/iframe-channel-provider
FakeBrowserChannelProvider(BETA)
FakeChannelProvider

Interfaces

InterfaceDescription
BrowserChannelClientInterface(BETA)
ChannelClientInterface(BETA)

Variables

VariableDescription
ErrorCode(BETA)
EthereumNotEnabledErrorCode(BETA)
UserDeclinedErrorCode(BETA)

Type Aliases

Type AliasDescription
TokenAllocations(BETA)
UnsubscribeFunction(BETA)
Last updated on by geoknee