Skip to content

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

License

Notifications You must be signed in to change notification settings

blocto/blocto-android-sdk

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages