stronghold_flutter_sdk 0.0.4-dev
stronghold_flutter_sdk: ^0.0.4-dev copied to clipboard
Native Flutter/Dart SDK for the SHx token ecosystem on Stellar. SHx asset operations, governance voting, and escrow contract bindings.
example/stronghold_flutter_sdk_example.dart
// # stronghold_flutter_sdk example
// Working examples for `stronghold_flutter_sdk`, added incrementally as each
// phase of the ShX Roadmap.
// stronghold_flutter_sdk - Quick Start Examples
//
// This file is the entry point for all SDK examples. Each phase's
// examples live in their own file under example/phaseN/, one file
// per sub-version released within that phase.
//
// Technical decisions behind every example (why a library was chosen,
// how it was verified against official sources) are documented at:
// https://github.com/nemorixgroup/Stronghold-Knowledge-Base/blob/main/docs-sdk/README.md
//
// Running an example:
// ```sh
// dart run phase2/account_onboarding_example.dart
// ```
// GitHub:
// https://github.com/nemorixgroup/stronghold-flutter-sdk/blob/master/example/stronghold_flutter_sdk_example.dart
// ## Available examples
// | Phase | Example | Demonstrates |
// |---|---|---|
// | 2 | [`account_onboarding_example.dart`](phase2/account_onboarding_example.dart) | Generate an identity and fund it on Testnet |
// | 2 | [`shx_trustline_example.dart`](phase2/shx_trustline_example.dart) | Demonstrates establishing a SHx trustline |
//
// ## Planned examples
//
// | Phase | Example | Status |
// |---|---|---|
// | 2 | `mainnet_account_creation.dart`, create and fund an account on Mainnet with a funding source | ⏳ Pending |
// | 2 | `trustline_and_payment.dart`, establish a SHx trustline and send a payment | ⏳ Pending send a payment |
// | 3 | `governance_vote.dart`, cast and read back a governance vote | ⏳ Pending |
// | 4 | `escrow_lock_unlock.dart`, lock, read, and unlock a SHx escrow | ⏳ Pending |
// | 5 | `bridge_status_tracking.dart`, check the status of a cross-chain SHx transfer (Ethereum, XRP Ledger, Solana) | ⏳ Pending |