Two or more [connector, hooks] arrays, as returned from initializeConnector.
hooks - A variety of convenience hooks that wrap the hooks returned from initializeConnector.
Creates a variety of convenience hooks
that return data associated with a particular passed connector.
Two or more [connector, hooks] arrays, as returned from initializeConnector.
hooks - A variety of convenience hooks that wrap the hooks returned from initializeConnector.
Wraps the initialization of a connector
. Creates a zustand store
with actions
bound to it, and then passes
these to the connector as specified in f
. Also creates a variety of hooks
bound to this store
.
The type of the connector
returned from f
.
A function which is called with actions
bound to the returned store
.
An optional array of chainIds which the connector
may connect to. If the connector
is
connected to a chainId which is not allowed, a ChainIdNotAllowedError error will be reported.
If this argument is unspecified, the connector
may connect to any chainId.
Generated using TypeDoc
Creates a variety of convenience
hooks
that return data associated with the first of theinitializedConnectors
that is active.