A Stellar SDK for Flutter, that can query Horizon and Soroban RPC, build, signs and submit transactions to Stellar. Supports many SEPs and can deploy and invoke Soroban Contracts.
Package selection guidance compiled from public package information, community data, and project usage.
The Stellar Flutter SDK enables Flutter applications to interact with the Stellar blockchain. It supports querying Horizon and Soroban RPC endpoints, building, signing, and submitting transactions. The package facilitates integration with multiple SEPs and provides tools for deploying and invoking Soroban smart contracts. Designed for cross-platform use, it works seamlessly on Android, iOS, and Web. Ideal for developers building decentralized finance (DeFi) apps, token issuers, or contract-based services on Stellar.
Use cases
Building DeFi applications on Stellar
Issuing and managing digital assets
Interacting with Soroban smart contracts
Enabling SEP-compliant payment integrations
Creating wallet interfaces for Stellar networks
Key features
Supports Horizon and Soroban RPC
Transaction signing and submission
Soroban contract deployment and invocation
Multi-SEP integration
Cross-platform compatibility (Android, iOS, Web)
Suitable for
Flutter developers in Web3
Blockchain app creators targeting Stellar
DApp builders using smart contracts
Crypto wallet developers
SEPs implementation teams
Considerations
Requires understanding of Stellar network fundamentals
Needs secure key management practices
Dependent on external RPC endpoints
May require additional error handling for network latency
Best used with proper state management in Flutter apps
Original README
Original README snapshot from the linked source repository. Visit the repository for the latest content.
Build and sign Stellar transactions, query Horizon, and interact with Soroban smart contracts via RPC. Communicate with anchors and external services using built-in support for 18 SEPs.
Installation
dependencies:stellar_flutter_sdk:^3.7.0
flutter pub get
Requires Dart SDK >=3.8.0 <4.0.0 and Flutter >=3.32.0.
iOS
Set your app's iOS deployment target to 15.0 or higher (platform :ios, '15.0' in ios/Podfile, and the Xcode project's iOS Deployment Target). Smart account passkey features additionally require iOS 16 at runtime; on iOS 15 those calls return a not-supported result while the rest of the SDK works normally.
This SDK ships first-class support for OpenZeppelin smart accounts on Stellar: WebAuthn passkey authentication on iOS, Android, and Web; multi-signer authorization; on-chain context rules; and policy contracts (threshold, weighted threshold, spending limit). An optional fee-bump relayer and credential indexer integrate transparently.
Starting with version 3.0.0, this SDK fully supports Flutter web. All 64-bit integer types have been migrated to BigInt to address JavaScript's 53-bit number precision limitation.
If you are upgrading from version 2.x, please refer to the Migration Guide for details on breaking changes and how to update your code.