Pakete, Repositories und App-Kategorien suchen

Paketdetailsv1.39.0

fuels

Dart FFI-Bridge zum Fuel Rust SDK

AndroidiOSmacOSWindowsLinux
30-Tage-Downloads
161
Likes
2
Pub-Punkte
120

Paket installieren

flutter pub add fuels

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Fuels ist eine Dart-FFI-Brücke, die Flutter-Anwendungen ermöglicht, mit dem Fuel-Rust-SDK zu interagieren und so eine nahtlose Integration mit der Fuel-Blockchain zu gewährleisten. Sie erlaubt Entwicklern, dezentrale Anwendungen (dApps) auf Fuel zu erstellen, indem sie die Möglichkeiten von Dart in plattformübergreifenden Umgebungen nutzen. Das Paket unterstützt wichtige Plattformen wie Android, iOS, macOS, Windows und Linux und ist daher ideal für Full-Stack-Blockchain-Entwicklung. Durch direkten Zugriff auf die Low-Level-Funktionen von Fuel ermöglicht Fuels den Entwicklern eine effiziente Ausführung von Transaktionen, Verwaltung von Assets und Bereitstellung von Smart Contracts.

Anwendungsfälle

  • Cross-Plattform-dApps auf Fuel bauen
  • Integration von Fuel-Blockchain-Funktionen in Flutter-Apps
  • Ausführung von Smart Contract-Interaktionen
  • Digitale Assets in Flutter-Apps verwalten
  • Entwicklung von blockchain-basierten mobilen Anwendungen

Hauptmerkmale

  • Dart FFI-Integration mit dem Fuel Rust SDK
  • Plattformübergreifende Unterstützung (Android, iOS, macOS, Windows, Linux)
  • Direkter Zugriff auf Fuel-Blockchain-Operationen
  • Effizienter Leistung durch native Bindings
  • Nahtlose Kompatibilität mit Flutter

Geeignet für

  • Flutter-Entwickler, die auf die Fuel-Blockchain abzielen
  • Web3-Anwendungsersteller
  • Blockchain-Entwickler bauen mobile dApps
  • Teams, die eine High-Performance-Blockchain-Integration benötigen
  • Projekte, die eine Multiplattform-Blockchain-Unterstützung benötigen

Hinweise

  • Erfahrung mit Fuel-Blockchain-Konzepten erforderlich
  • Möglicherweise sind zusätzliche Einstellungen für native Abhängigkeiten erforderlich
  • Beschränkt auf Fuel-Ekosystem-Funktionen
  • Mögliche Komplexität bei der FFI-Aufrufe Debuggen
  • Abhängig von stabilen Fuel SDK-Versionen

Original-README

Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.

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

Kategorien

Abhängigkeiten

Abhängigkeiten 6 Einträge

Quell-Repository

Projekte, die dieses Paket verwenden

Noch keine Daten verfügbar.