flare_flutter_sdk 0.0.2-dev copy "flare_flutter_sdk: ^0.0.2-dev" to clipboard
flare_flutter_sdk: ^0.0.2-dev copied to clipboard

The first native Flutter/Dart SDK for the Flare network. Pure Dart, no platform channels.

Changelog #

All notable changes to this project are documented in this file.

The format follows Keep a Changelog, and this project adheres to Semantic Versioning (with -dev pre-release tags before v1.0.0).

0.0.2-dev #

M1 in progress: network foundation implemented and verified against official RPC endpoints and chain IDs.

Added #

  • NetworkConfig.forNetwork(): resolves the official RPC URL, chain ID, and native currency symbol for each of the four Flare networks (Flare, Songbird, Coston2, Coston), sourced from dev.flare.network's Network Configuration page
  • currencySymbol field added to NetworkConfig
  • 5 unit tests covering each network's resolved values and chain ID uniqueness across all four networks

Status #

M1 in progress: network foundation complete and tested. Contract Registry client is next.
Not ready for production use.
Next: ContractRegistryClient.getContractAddress (0.0.3-dev).

0.0.1-dev #

Scaffold phase complete: project structure, tooling, and CI pipeline in place. No functional API yet, every public method is an intentional UnimplementedError skeleton matching the planned v1.0.0 surface.

Added #

  • Package scaffold via flutter create --template=package (org com.nemorixpay), reserving flare_flutter_sdk on pub.dev
  • Module structure defined, one directory per Flare protocol boundary: network/, registry/, wallet/, transactions/, ftso/, fassets/, fdc/, exceptions/
  • FlareNetwork: enum for the four supported networks (Flare, Songbird, Coston2, Coston)
  • FlareException: base exception type for all SDK errors
  • NetworkConfig and ContractRegistryClient: skeletons for the FlareContractRegistry directory pattern (M1)
  • Wallet interface, LocalWallet, WalletConnectController: wallet abstraction skeletons (M1)
  • TransactionBuilder: native/ERC-20 transfer and contract call skeleton (M2)
  • FeedCategory, FeedId, FtsoClient, FtsoFeed: FTSOv2 price feed client skeleton, including the feed-ID encoding helper (M3)
  • FAssetsClient: FXRP mint/redeem flow skeleton (M4)
  • FdcAttestationType, FdcClient: minimum FDC attestation support skeleton for AddressValidity, Payment, and EVMTransaction (M4)
  • 3 unit tests covering FlareNetwork enum completeness and FlareException message formatting
  • example/flare_flutter_sdk_example.dart: illustrative usage of the planned v1.0.0 API (wallet connection, FTSO feed read)
  • CI pipeline (GitHub Actions): format, analyze, test, coverage check, pub publish --dry-run, and a Coston2 integration job
  • CONTRIBUTING.md: development setup, branch strategy, commit conventions, testing standards, and security policy

Changed #

  • analysis_options.yaml: configured to extend very_good_analysis (replacing the default flutter_lints generated by flutter create)

Design Decisions #

  • Pinned pointycastle to ^3.9.0 and reown_walletkit to ^1.0.3 to resolve a dependency conflict: bip32 does not yet support pointycastle ^4.0.0, which reown_walletkit >=1.3.9 requires. Revisit once bip32 (or a replacement) supports pointycastle ^4.x
  • CI coverage threshold temporarily lowered to 5% during the scaffold phase; returns to the 80% target once M1 lands with real coverage
  • Module boundaries mirror Flare's own protocol boundaries (FTSO, FAssets, FDC) rather than a generic wallet-first structure, so each milestone maps cleanly to one directory

Status #

Scaffold complete: structure, tooling, and CI are in place.
No network interaction yet (that begins in M1).
Not ready for production use.
Next: network foundation, Contract Registry, and wallet abstraction (M1).

1
likes
0
points
127
downloads

Publisher

verified publishernemorixpay.com

Weekly Downloads

The first native Flutter/Dart SDK for the Flare network. Pure Dart, no platform channels.

Repository (GitHub)
View/report issues

Topics

#flare #blockchain #flr #defi #web3

License

unknown (license)

Dependencies

bip32, bip39, flutter, http, pointycastle, reown_walletkit

More

Packages that depend on flare_flutter_sdk