Stellar Flutter SDK는 Flutter 애플리케이션에서 Stellar 블록체인과 상호작용할 수 있도록 해줍니다. Horizon 및 Soroban RPC 엔드포인트를 쿼리하고, 트랜잭션을 생성, 서명, 제출하는 것을 지원합니다. 이 패키지는 여러 SEPs와의 통합을 용이하게 하며, Soroban 스마트 계약 배포 및 호출을 위한 도구를 제공합니다. 크로스플랫폼 사용을 위해 설계되어 Android, iOS, Web에서 원활하게 작동합니다. Stellar 기반의 탈중앙화 금융(DeFi) 앱, 토큰 발행자 또는 계약 기반 서비스를 개발하는 개발자에게 이상적입니다.
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.