Skip to main content
The Kotlin SDK supports Android 10 / API 29 or newer.

Install the SDK

Add the SDK to your app module. Replace VERSION with the latest published Maven Central release.
Use Android compileSdk 34 or newer and Java 17 compile options. The SDK dependency includes its required runtime transitively.

Create the client

You can pass an activity, service, or application Context. The constructor retains context.applicationContext for storage and Android Keystore access, so keep one client for your application scope rather than tying it to an activity instance. Construction is synchronous and restores a valid completed session when one exists. Methods that contact OMS, including authentication, wallet transactions, and indexer queries, are suspend functions. Call them from your coroutine scope. The client exposes two independent surfaces:

Authenticate with email

Request a code, then complete authentication after the user enters it.
Automatic wallet selection is the default. It selects the first existing Ethereum wallet returned by OMS, or creates one when none exists. See Authentication for native OIDC ID-token authentication, redirect authentication, and app-driven wallet selection.

Send a transaction

After authentication, submit a zero-value transaction on Polygon Amoy.
The SDK prepares, executes, and waits for status by default. See Send transactions for other transaction inputs, fee selection, and status handling.