Add the dependency below to your module's build.gradle
file
dependencies {
implementation "com.portto.sdk:evm:$bloctoSdkVersion"
}
Initialize Blocto SDK
BloctoSDK.init(
appId = "YOUR_APP_ID", // required
env = BloctoEnv.PROD // optional (default is BloctoEnv.PROD)
)
{% hint style="info" %}
env
: Specify the cluster. BloctoEnv.PROD
for mainnet and BloctoEnv.DEV
for testnet. Default is BloctoEnv.PROD
.
{% endhint %}