stellar_flutter_sdk
3.12.0, released 5 days ago by an unverified publisher
Stellar SDK for Flutter to query Horizon and Soroban RPC, and manage transactions.
WASM-readyUnverified publisher
What it does
Allows Flutter apps to build, sign, and submit transactions to the Stellar network. It supports querying Horizon and Soroban RPC, deploying and invoking Soroban smart contracts, and implements many SEPs including Smart Account passkey features.
AI-written summary of version 3.10.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- Building a Flutter app that interacts with the Stellar blockchain
- Interacting with Soroban smart contracts from Flutter
- Integrating Stellar anchors or SEPs into a mobile, web, or desktop app
Skip it when
- Building applications for blockchains other than Stellar
- Needing a simple HTTP client without blockchain features
Strengths
- First-class support for Soroban smart contracts and Horizon API
- Full Flutter Web and mobile platform support with BigInt precision handling
- Includes built-in support for multiple SEPs and OpenZeppelin smart accounts
Weaknesses
- Specific platform setup required for iOS and WebAuthn features (e.g., iOS deployment target 15.0+)
- API surface can be complex due to the breadth of Stellar protocol features
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 13
Requires setting your app's iOS deployment target to 15.0 or higher in Podfile and Xcode for features like passkeys.
Transaction transaction = TransactionBuilder(senderAccount)
.addOperation(PaymentOperationBuilder(receiverId, Asset.NATIVE, '100').build())
.build();
transaction.sign(senderKeyPair, Network.TESTNET);
await sdk.submitTransaction(transaction);Works with
Packages commonly used together with stellar_flutter_sdk: ones it builds on, ones built on it, and its own family.
- cryptostellar_flutter_sdk depends on itProvides SHA, MD5, and HMAC hashing functions for Dart.
- webstellar_flutter_sdk depends on itLightweight bindings for browser APIs via JS interop
- http_parserstellar_flutter_sdk depends on itA platform-independent package for parsing and serializing HTTP formats.
- convertstellar_flutter_sdk depends on itEncoders and decoders for converting between different data representations.
- diostellar_flutter_sdk depends on itA powerful HTTP networking package for Dart and Flutter with interceptors and request cancellation.
- pointycastlestellar_flutter_sdk depends on itA Dart library providing a wide range of cryptographic algorithms and primitives.
- decimalstellar_flutter_sdk depends on itArbitrary-precision decimal arithmetic for Dart
- unorm_dartstellar_flutter_sdk depends on itUnicode normalization for Dart supporting NFC, NFD, NFKC, and NFKD forms.