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

        • (__namedParameters): void
        • Parameters

          Returns void

    Returns (() => void)

    a function to stop scanning

      • (): void
      • Returns void