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 ↗