Getting Started

Installation

Add the dependency below to your module's build.gradle file

dependencies {
    implementation "com.portto.sdk:evm:$bloctoSdkVersion"
}

Usage

Initialize Blocto SDK

BloctoSDK.init(
    appId = "YOUR_APP_ID", // required
    env = BloctoEnv.PROD   // optional (default is BloctoEnv.PROD)
)

env: Specify the cluster. BloctoEnv.PROD for mainnet and BloctoEnv.DEV for testnet. Default is BloctoEnv.PROD.

Last updated