Stellar SDK for flutter - dart, Stellar, Horizon, Soneso
// readme
Stellar SDK for Flutter
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 21 SEPs.
Installation
dependencies:
stellar_flutter_sdk: ^3.8.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.
Quick examples
Send a payment
Transfer XLM between accounts:
import 'package:stellar_flutter_sdk/stellar_flutter_sdk.dart';
Transaction transaction = TransactionBuilder(senderAccount)
.addOperation(PaymentOperationBuilder(receiverId, Asset.NATIVE, '100').build())
.build();…