Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.walletkit.com/llms.txt

Use this file to discover all available pages before exploring further.

Installation

Find the latest version of the library on Github Releases. Then, use your preferred dependency management tool to add the library to your project. Gradle
implementation group: 'com.usewalletkit.sdk', name: 'sdk', version: '<latest_version>'
Gradle DLS
implementation("com.usewalletkit.sdk:sdk:<latest_version>")
Maven
<dependency>
    <groupId>com.usewalletkit.sdk</groupId>
    <artifactId>sdk</artifactId>
    <version>latest_version</version>
</dependency>

Initialize Client

Setup the client with your Project ID. You can find your Project ID in the WalletKit Dashboard.
val loginClient = WalletKitLoginClient(
    projectId = "my_project_id",
    baseUrl = "https://testnet.walletkit.com", // or mainnet
    context = context,
)

val walletKitClient = WalletKitClient(
    loginClient = loginClient,
)
At this point, the client is unauthenticated. To authenticate your client, check out the Authentication section.