/blocto-android-sdk

Integrate with Blocto wallet on Polygon, Flow, BNB Chain, Avalanche and Ehtereum.

Primary LanguageKotlinMIT LicenseMIT

BloctoSDK

Maven Central Github Action GitHub

Integrate Blocto service into your dApp on Android.

Currently support

  • Ethereum
  • Arbitrum
  • Optimism
  • BNB Chain
  • Polygon
  • Avalanche
  • Solana
  • More blockchains are coming soon

For Flow, it's recommended to use fcl. Check the documents for more info.

Installation

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

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

Usage

Please refer to documentation

Demo App

To run EVM demo, Infura id is needed to connect to RPC endpoint.

Put your id into Config.kt

object Config {
    const val INFURA_ID = "YOUR_INFURA_ID"
}

Author

Jack, Kihon

License

BloctoSDK is available under the MIT license. See the LICENSE file for more info.