Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 687 Bytes

connect-to-blocto-wallet.md

File metadata and controls

20 lines (14 loc) · 687 Bytes

Connect to Blocto Wallet

{% hint style="info" %} Make sure you initialize Blocto SDK first {% endhint %}

Before you start to interact with Blocto wallet, you need to have your wallet connected.

Once the wallet connection is requested, it would

  • redirect to the Blocto wallet app if it is installed.
  • open Blocto web SDK using ASWebAuthenticationSession if the Blocto Wallet app is not installed.

and ask user to connect the wallet.

_bloctoWalletProvider.RequestAccount(address => {
                                           Debug.Log($"Address: {address}");
                                    });