Function walletDetector

A function to detect available wallets

  • Parameters

    • connection: default

      connection to use to detect wallets

    • onDetected: (__namedParameters: { newWallet: Wallet; wallets: Wallets }) => void

      call-back function which trigger on new wallet

    Returns () => void

    a function to stop scanning