Android
CROSSx Android SDK
A Kotlin native SDK for OAuth sign-in, wallet signing and sending, and EVM RPC helpers.
Capabilities
- OAuth sign-in (deep link callback)
- Session restore and refresh (
initialize,ensureLoggedIn) - Wallet address lookup, creation, and wallet selection
- Message, typed data, and transaction signing via SDK confirmation UI
- Transaction broadcast and receipt waiting
- RPC helpers (
walletRpc,getBalance,getNonce) - Wallet password verification and optional biometric authentication
Documentation order
- Getting Started — Dependencies, callback scheme, creating
CROSSxSDK - Authentication — Callback handling, session, sign-in and sign-out
- Wallet — Addresses, signing, sending, RPC
- API Reference — Signatures and types
Minimal configuration example
val config = SDKConfig(
context = application,
projectId = BuildConfig.CROSSX_PROJECT_ID,
appName = getString(R.string.app_name),
callbackScheme = BuildConfig.CROSSX_CALLBACK_SCHEME
)
val sdk = CROSSxSDK(application = application, config = config)Notes
- Wallet and RPC APIs require an explicit
chainId(e.g.eip155:612044). - Use
walletRpcfor reads and calls; use dedicated APIs for transaction signing and broadcast.
Updated 14 days ago