搜尋套件、儲存庫與 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 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。