Installation & versioning
Consumers never need a Rust toolchain: each release attaches ready-built artifacts to the GitHub releases page, tagged wallet-bindings-vX.Y.Z.
Android
Each release attaches mintlayer-wallet-bindings-<ver>.aar, containing the native libraries for arm64-v8a, armeabi-v7a and x86_64 (Android 6.0+, API 24).
- Download the AAR from the release page.
- Verify its SHA-256 against the
SHA256SUMSmanifest attached to the same release. - Place it in your app's
app/libs/directory and add it toapp/build.gradle.kts:
dependencies {
implementation(files("libs/mintlayer-wallet-bindings-<ver>.aar"))
}
The Kotlin API lives under the org.mintlayer.wallet.bindings package.
iOS
The iOS artifact is an XCFramework (iOS 15+, device and Apple Silicon simulator slices), consumed through Swift Package Manager. The repository root carries a Package.swift whose binary target pins the released artifact by URL + SHA-256, so Xcode resolves everything from the repository URL:
- In Xcode: File > Add Package Dependencies…
- Enter the repository URL:
https://github.com/mintlayer/rust-sdk - Add the product
MintlayerWalletBindingsto your app target.
import MintlayerWalletBindings
The underlying FFI module is MintlayerWalletBindingsFFI; application code only interacts with the MintlayerWalletBindings wrapper.
The iOS 15 deployment target matches the React Native minimum; the bindings are plain Kotlin/Swift, so they work both from native code and from a React Native turbo-module or Expo config plugin that bridges to them.
Versioning
- Releases are tagged
wallet-bindings-vX.Y.Zon github.com/mintlayer/rust-sdk, matching theversioninbindings/Cargo.toml. - Major bump: breaking change to the FFI surface. Minor: additive exports. Patch: fixes.
- Every release attaches the AAR, the XCFramework zip and a
SHA256SUMSmanifest; changes are recorded in the repositoryCHANGELOG.md.
Pin an explicit version in your dependency management and review the release notes before upgrading.