Blocto
About portto
Blog
Search…
📣
Introduction
Give Feedback
Blocto
Overview
Web3.js Integration (Ethereum / BSC / Polygon / Avalanche / Tron)
Web3.js Integration (Solana)
Deep Linking
Push Notification
Rewards
Token Listing
BLOCTO SDK
Overview
Register App ID
Javascript SDK
Android SDK
iOS SDK
Prerequest
Solana
Getting started
Connect to Blocto wallet
Send Transaction
Ethereum / BSC / Polygon / Avalanche
Technical Documents
Contract Wallet
Key Management
Community
Discord
Twitter
Facebook
Powered By
GitBook
Connect to Blocto wallet
Make sure you
initialize Blocto SDK
first
Before you start to interact with Blocto wallet, you need to have wallet connected.
Once the wallet connection 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.
1
BloctoSDK
.
shared
.
solana
.
requestAccount
{
[
weak
self
]
result
in
2
switch
result
{
3
case
.
success
(
let
address
):
4
// handle address here
5
case
.
failure
(
let
error
):
6
// handle error here
7
}
8
}
Copied!
Previous
Getting started
Next
Send Transaction
Last modified
28d ago
Copy link