Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 681 Bytes

connect-to-blocto-wallet.md

File metadata and controls

22 lines (15 loc) · 681 Bytes

Connect to Blocto wallet

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}");
                                    });