Decane wallets in native iOS and macOS apps.
DecaneKit is the Swift SDK for Decane embedded wallets. Users sign in with email, phone or a token you already hold and get EVM, Solana and Tron addresses from one key. The wallet logic is the shared Rust core, linked as an XCFramework and byte-compatible with the web and Expo SDKs: a wallet opened here is the same wallet, at the same addresses, as on the web.
- Requires
- iOS 16+ or macOS 13+, Swift 6
- Package
DecaneKit0.1.0, MIT- Install
- Swift Package Manager
- SwiftUI
DecaneKitUI, iOS 17+
The private key is never assembled on the phone. A 2-of-3 Shamir split puts one share on the device, one on the server and one sealed in the enclave, which reconstructs the key internally, for the moment it takes to sign.
0.1.0 implements the identity tier only. Sign-in, wallet creation, provisioning and every kind of signing work. The device tier, passkeys, redirect sign-in and recovery files arrive in the next release without changing this API. See What’s not in this version.
Wiring up a coding agent? kit.decane.app/llms-swift.txt is a self-contained spec for this package with real signatures, and llms-version.json tracks its freshness under the swift key.