NewWallets, tokens, NFTs, and vaults are live. RPC nodes coming soon.

See the stack →

Kotlin / Android SDK

Native Android. Keystore-backed keys. Jetpack Compose and View support. Native Android apps that need embedded wallets, scoped keys, and platform-key access.

FabricKit Android is the native Android package for FabricBloc. MPC key shares are bound to the Android Keystore with biometric authentication when available. Jetpack Compose and classic View hierarchies are both first-party.

Install

In build.gradle.kts:

implementation("com.fabricbloc:fabrickit-android:2.4.0")

Requirements

  • Android 9+ (API 28+)
  • Kotlin 1.9+
  • AGP 8.1+

Highlights

Android Keystore

MPC key shares are bound to the Android Keystore with biometric authentication when available.

Compose and Views

First-party UI for sign-in, confirmation, and asset display in Jetpack Compose and classic View hierarchies.

Coroutines and Flow

Idiomatic Kotlin coroutines for every async API and Flow streams for subscriptions.

Examples

Initialize

// FabricBlocClient.kt
import com.fabricbloc.FabricBloc

val fb = FabricBloc(BuildConfig.FB_KEY)

Create a wallet

// WalletService.kt
val wallet = fb.wallets.create(
  userId = "user_123",
  chains = listOf("base", "polygon")
)

// Hardware-backed. Never leaves Android Keystore.
wallet.send(to = recipient, value = amount)

Compose sign-in

// MainActivity.kt
import com.fabricbloc.compose.FabricBlocSignIn

@Composable
fun WalletScreen() {
  FabricBlocSignIn(fb = fb) { session ->
    // session.wallet is a fully typed Wallet.
  }
}

FAQ

Does it ship as a single artifact?

Yes — a single AAR with Compose and View modules packaged together. Tree-shaking removes the framework you do not use.

How are biometrics handled?

The SDK uses AndroidX Biometric. Operations that need the key surface the standard system prompt. Configure the title and subtitle via FabricBlocConfig.

Is there support for Android below API 28?

Not currently. The Keystore and biometric pathway depends on capabilities standardized in API 28. Support for older devices is on the roadmap — file an issue with your usage case.