fuels-dart
Fuel Blockchain 的 Dart 與 Flutter SDK
- 星標
- 109
- 分支
- 46
- 最近推送(UTC)
- 2026年8月17日
- 專案狀態
- 未封存
原始 README
以下為英文專案原文快照,最新內容請造訪 GitHub。
fuels-dart
Dart & Flutter SDK for Fuel Blockchain. Essentially, it's a wrapper over the official Rust SDK for mobile and official TypeScript SDK for web. It's implemented with the help of flutter_rust_bridge library.
For more information about SDK functionality and abilities, please check out fuels-rs SDK documentation.
The project tries to stick to the same interfaces as used in the Rust SDK wherever possible.
The project structure explanation can be found in the FRB documentation.
Documentation
Work on documentation for Dart/Flutter SDK is in progress.
Implemented features
- [x] Create wallet
- [x] Get account balances
- [x] Transfer tokens
- [ ] Sign transactions
Contributing
packages/fuels/native folder contains Rust files. api.rs is the main entrypoint of the Rust methods accessed from Dart.
After changing any of the Rust files, you need to regenerate the wrapper. Just call:
melos run frb-gen
All commits in the main branch must follow the Conventional Commits format.
Releasing
To upgrade the library version before releasing, do:
melos version
Then push the generated commit with tags:
git push --follow-tags
Ths will start Github actions tasks for creating and publishing a release on Github.
In order to publish a package to https://pub.dev/, you need to wait for the CI/CD tasks from the previous step to complete. Then call the following command from the corresponding package:
cd packages/[needed package]
flutter pub publish
使用的依賴
依賴清單 1 項
- melos
^6.2.0
如何選擇適合專案的儲存庫?
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
- 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
- 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
- 使用前在 GitHub 確認 README、授權條款與 Issues。
來源與維護
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗