Skip to main content
The Crycket SDK is available for React Native, iOS (Swift), and Android (Kotlin). All three platforms implement the same semantic interface.

Key principles

  • The SDK wraps the Crycket API, not the chain. It handles the build → sign → submit flow and provides real-time status updates.
  • The SDK never handles wallet connection. You wrap your wallet in a PaymentWallet interface and pass it to the SDK. The wallet must be ready to sign before invoking the SDK.
  • Private keys never leave the device. The SDK calls wallet.signTransaction() locally, then submits the signed blob to Crycket for broadcast.

Wallet interface

You must implement the PaymentWallet interface for your wallet provider:

Initialization

Status context

The context object passed to onStatusChange drives UX without requiring chain-specific logic:

Next steps

React Native

TypeScript SDK for React Native apps.

iOS

Swift SDK for iOS apps.

Android

Kotlin SDK for Android apps.