useSetConnectedWallet
Hook for setting a wallet instance as "connected" - once done, the wallet connection hooks like useWallet
, useAddress
, useSigner
, useConnectionStatus
etc will return the data for that wallet instance
This is only useful if you are manually connecting a wallet instance as mentioned in Build your Wallet
Example
Returns
A function to set a wallet instance as "connected".