The Bark SDK is a set of libraries for building self-custodial bitcoin wallet apps. Keys stay on the user’s device, and your app talks directly to Ark servers. Use the Bark SDK when you’re building:Documentation Index
Fetch the complete documentation index at: https://second.tech/docs/llms.txt
Use this file to discover all available pages before exploring further.
- Mobile wallet apps
- Desktop wallet apps
- Browser-based wallet apps
- Wallets for custom or embedded hardware
Pick your language
Each guide below walks you through installing the SDK, creating a wallet, and making your first payment, then links to the full library reference. Rust is the core implementation; the other languages are bindings around it.Rust ★
Core library—most complete and performant
React Native
Cross-platform mobile apps with TypeScript
Flutter
Cross-platform mobile apps with Dart
Swift
Native iOS apps
Kotlin
Native Android apps
Go
Native Go bindings
How it works
The Bark SDK uses UniFFI bindings to run the core Rust library directly in your app. Everything happens on-device:- Keys stay on the device: The user’s private keys are generated and stored locally.
- Direct protocol access: Your app communicates directly with Ark servers.
- No backend required: You don’t need to run any server infrastructure.
Wallet recovery is not yet implemented, so backups are critical. Make sure your app backs up wallet data to iCloud, Google Drive, or another secure location.