useWalletConnector
Callable
Parameters
optionalwallets: any
Wallets to connect to, will connect to all available wallets if none is specified
Returns [success: AsyncValue<TResult, TError>, connect: (...args: [wallets?: any]) => Promise<void>]
The wallet connection state & connect function
Hook for connecting wallets