TONTONDocs
Android

How to install the TON Connect's WalletKit on the Android platform

Requirements

  • Android SDK 26+
  • Java 17+
  • Gradle 7.0+
  • Up-to-date Android System WebView (tested with 138.0.7204.179+)

Adding WalletKit to project

  1. Add the dependency to the app's build.gradle.kts file:

    dependencies {
        // See https://central.sonatype.com/artifact/org.ton/walletkit-android/versions
        implementation("org.ton:walletkit-android:+")
    }
  2. Ensure Maven Central is included in the repository list:

    repositories {
        google()
        mavenCentral()
    }

Permissions

Add the required permission to the AndroidManifest.xml:

<manifest xmlns:android="http://schemas.android.com/apk/res/android">
    <uses-permission android:name="android.permission.INTERNET" />
</manifest>

Alternatively, explore the complete demo wallet with WalletKit integration:

Demo wallet, GitHub

Last updated on

On this page