Getting Started

Installation

Add the dependency below to your module's build.gradle file
1
dependencies {
2
implementation "com.portto.sdk:solana:$bloctoSdkVersion"
3
}
Copied!

Usage

Initialize Blocto SDK
1
BloctoSDK.init(
2
appId = "YOUR_APP_ID", // required
3
debug = true // optional (default is false)
4
)
Copied!
debug: Specify the cluster. true for mainnet-beta and false for devnet. Default is false.
Copy link