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
Flow
Ethereum / BSC / Polygon / Avalanche
Solana
Getting started
Connect to Blocto wallet
Send Transaction
Server Sider Render
Tezos (Coming Soon)
Android SDK
iOS SDK
Technical Documents
Contract Wallet
Key Management
Community
Discord
Twitter
Facebook
Powered By
GitBook
Connect to Blocto wallet
Before you started to interact with blocto wallet, you need to fire a connect request.
Once the connection request is fired, there would be a prompt modal to guide user to register/login to Blocto wallet.
connect()
request()
1
// Alternative: EIP-1102 way
2
// CAVEATS! it's deprecated and may be removed from future version
3
const
accounts
=
await
bloctoSDK
.
solana
.
connect
();
Copied!
1
2
// EIP-1193 way (recommended)
3
const
accounts
=
bloctoSDK
.
solana
.
request
({
method
:
'connect'
});
Copied!
Previous
Getting started
Next
Send Transaction
Last modified
10mo ago
Copy link