Install
Add the SDK dependency from Maven Central to your app module.Create The Client
Use the Android constructor so the SDK can persist sessions securely.publishableKey selects the matching OMS Wallet environment for client SDK calls.
Create the client once for the app session.
The client exposes:
| Property | Use |
|---|---|
client.wallet | Authentication, wallet selection, signing, signature verification, ID tokens, and transactions. |
client.indexer | Token balance and transaction history reads. |
client.session | Completed wallet-session state restored from Android-backed storage. |
client.supportedNetworks | Networks supported by this SDK build. |
Authenticate With Email
Email auth is a two-step OTP flow.completeEmailAuth uses automatic wallet selection by default: it selects the first wallet matching WalletType.Ethereum, or creates one if no matching wallet exists. Use walletSelection = WalletSelectionBehavior.Manual when your app should let the user choose between wallets.
Send A Transaction
After authentication, send a native token transaction withclient.wallet.sendTransaction. Values are raw base-unit integers.
Polygon Amoy is a good first network for testing.