搜索插件、代码仓与 APP 分类

插件详情v0.0.76

flutter_fuels

Fuel SDK 的 Flutter 插件

近 30 天下载
170
喜欢数
3
Pub 分数
40

安装插件

flutter pub add flutter_fuels

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Flutter Fuels 是一个 Flutter 插件,集成了 Fuel SDK,使开发者能够在 Fuel 区块链上构建去中心化应用(dApps)。它提供了一种无缝的方式,让 Flutter 应用直接与 Fuel 的高性能区块链基础设施进行交互。该插件支持钱包管理、交易签名、智能合约交互和网络通信。专为 Web3 开发者设计,它简化了将区块链集成到移动应用中的过程。凭借其轻量级设计以及对安全性和性能的高度重视,Flutter Fuels 赋能创作者在 iOS 和 Android 平台上交付强大的原生加密体验。

适合场景

  • 为Fuel区块链构建dApps
  • 在移动应用中集成钱包功能
  • 与燃料智能合约交互
  • 启用安全交易签名
  • 将Flutter应用连接到Web3网络

主要特点

  • 原生燃料 SDK 集成
  • 钱包管理和密钥处理
  • 智能合约交互支持
  • 安全交易签名
  • 跨平台兼容性

适合对象

  • 使用 Flutter 的 Web3 开发人员
  • 面向Fuel区块链的移动应用开发者
  • 加密应用构建者
  • 寻求移动dApp工具的区块链爱好者
  • 专注于高性能区块链应用的开发者

使用建议

  • 需要熟悉Fuel区块链
  • 仅限燃料生态系统
  • 对非Fuel区块链无官方支持
  • 取决于底层Fuel SDK的稳定性
  • 可能需要为生产部署进行额外设置

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

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

所属分类

依赖

依赖清单 9 项

源码仓库

使用此插件的项目

暂无相关数据。