English | Español
solana_flutter_sdk
A native Flutter/Dart SDK for Solana payments. Pure Dart · No platform channels · Apache 2.0 · pub.dev
Status: Early Development - API is not stable.
Phase 1 (Cryptographic fundamentals) in progress. See CHANGELOG.md for details.
Built to be an open, payments-focused Solana SDK: Solana Pay (Transfer & Transaction Requests) and Subscriptions & Allowances (Solana's native recurring-payment primitive), built entirely from official specs; no dependency on third-party Solana Dart packages.
solana_flutter_sdk published on pub.dev here
Roadmap (v1.0.0)
| Phase | Focus | Version | Status |
|---|---|---|---|
| 1 | Cryptographic fundamentals (Ed25519) | 0.1.0-dev |
🔄 In progress |
| 2 | Addresses & encoding (Base58, PDA, ATA) | 0.2.0-dev |
⏳ Planned |
| 3 | RPC connection layer (HTTP + WebSocket) | 0.3.0-dev |
⏳ Planned |
| 4 | Transaction construction & signing (legacy + v0) | 0.4.0-dev |
⏳ Planned |
| 5 | System Program & core token operations | 0.5.0-dev |
⏳ Planned |
| 6 | Solana Pay: Transfer Request | 0.6.0-dev |
⏳ Planned |
| 7 | Solana Pay: Transaction Request | 0.7.0-dev |
⏳ Planned |
| 8 | Subscriptions & Allowances: Delegations | 0.8.0-dev |
⏳ Planned |
| 9 | Subscriptions & Allowances: Plans | 0.9.0-dev |
⏳ Planned |
| 10 | Error handling, test suite & v1.0.0 close-out | 1.0.0 |
⏳ Planned |
Deferred to a post-v1.0.0 extended version (documented, not lost): Token-2022 Confidential extensions, generic Transfer Hook account resolution, and Address Lookup Table creation/management.
Documentation & Knowledge Base
This SDK is built on top of the Solana Knowledge Base, an in-depth guide to the Solana blockchain covering architecture, transactions RPC, Solana Pay, and the development ecosystem. Recommended reading before diving into the SDK internals.
Every implementation decision behind this SDK - library choices, encoding standards, verification against official specs - is documented in docs-sdk/.
Installation
# pubspec.yaml
dependencies:
solana_flutter_sdk: ^0.0.3-dev
flutter pub get
Quick Start
import 'package:solana_flutter_sdk/solana_flutter_sdk.dart';
// Generate a brand-new, random Ed25519 keypair. Each call produces a
// different keypair, drawn from a cryptographically secure random
// source.
final keypair = await SolanaKeypair.generate();
print(keypair.publicKey.length); // 32
// Restore a keypair deterministically from a previously saved seed.
// The same 32-byte seed always produces the same keypair, and
// therefore the same address.
final restored = await SolanaKeypair.fromSeed(keypair.privateKey);
print(restored.publicKey); // same bytes as keypair.publicKey
import 'dart:typed_data';
// Import a keypair from Solana's 64-byte secretKey format (seed +
// public key concatenated), the same shape used by the Solana CLI's
// id.json and by @solana/web3.js's Keypair.secretKey.
final secretKeyBytes = Uint8List(64)
..setRange(0, 32, keypair.privateKey)
..setRange(32, 64, keypair.publicKey);
final imported = await SolanaKeypair.fromSecretKey(secretKeyBytes);
print(imported.publicKey.length); // 32
Contributing
The SDK is not ready for external contributions yet. Follow this repository for updates; contributions will be welcome starting with v1.0.0.
See CONTRIBUTING.md for future guidelines.
License
Licensed under Apache 2.0.
For LATAM developers
This SDK is being developed with native support for the region in mind:
- Bilingual documentation (English / Spanish) from the very first module.
- Part of Nemorix Group's SDK ecosystem for financial infrastructure in LATAM (Hedera, Avalanche, XRPL).
- Developed by Nemorix Group, Ohio, USA.
Follow us for updates: sdks@nemorixpay.com
Support This Project
If this SDK is useful to you or your team, consider supporting its development. Every contribution helps cover infrastructure, documentation, and the time invested in building and maintaining this open source tool for the Solana and Flutter community. Thank you!
Built by Nemorix Group · Apache 2.0
Libraries
- solana_flutter_sdk
- A native Flutter/Dart SDK for Solana payments - Solana Pay and Subscriptions & Allowances - built entirely from official specs, with no dependency on third-party Solana Dart packages.