पैकेज, रिपॉज़िटरी और ऐप श्रेणियाँ खोजें

पैकेज विवरणv1.39.0

fuels

Fuel Rust SDK के लिए Dart FFI ब्रिज

AndroidiOSmacOSWindowsLinux
30-दिन डाउनलोड
161
लाइक
2
Pub अंक
120

पैकेज इंस्टॉल करें

flutter pub add fuels

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

Fuels एक Dart FFI ब्रिज है जो Flutter अनुप्रयोगों को Fuel Rust SDK के साथ बातचीत करने की अनुमति देता है, जिससे Fuel ब्लॉकचेन के साथ बिना किसी रुकावट के एकीकरण संभव होता है। यह डेवलपर्स को डार्ट की क्षमताओं का उपयोग करके Fuel पर डिसेंट्रलाइज्ड एप्लिकेशन (dApps) बनाने में सक्षम बनाता है। यह पैकेज मुख्य प्लेटफॉर्म जैसे Android, iOS, macOS, Windows और Linux को समर्थन देता है, जिससे यह पूर्ण-स्तरीय ब्लॉकचेन विकास के लिए आदर्श है। Fuel के निचले स्तर की कार्यक्षमताओं तक सीधे पहुँच के कारण, Fuels डेवलपर्स को लेनदेन निष्पादित करने, संपत्ति प्रबंधित करने और स्मार्ट कॉन्ट्रैक्ट डेप्लॉय करने में कुशलता से सक्षम बनाता है।

उपयोग

  • Fuel पर क्रॉस-प्लेटफॉर्म dApps बिल्ड करना
  • Flutter ऐप्स में Fuel ब्लॉकचेन फीचर्स को एंटीग्रेट करना
  • स्मार्ट कॉन्ट्रैक्ट इंटरैक्शन का निष्पादन
  • Flutter ऐप्स में डिजिटल एसेट्स का प्रबंधन करना
  • ब्लॉकचेन संचालित मोबाइल एप्लिकेशन विकसित करना

मुख्य विशेषताएँ

  • Fuel Rust SDK के साथ Dart FFI एकीकरण
  • प्लेटफॉर्म समर्थन (Android, iOS, macOS, Windows, Linux)
  • Fuel ब्लॉकचेन संचालनों की सीधी पहुँच
  • मूल बाइंडिंग के माध्यम से कुशल प्रदर्शन
  • फ्लटर के साथ निरंतर सुमेल

इनके लिए उपयुक्त

  • Fuel ब्लॉकचेन के लिए Flutter विकासकर्ता
  • वेब3 एप्लिकेशन निर्माता
  • ब्लॉकचेन इंजीनियर्स मोबाइल dApps बना रहे हैं
  • उच्च प्रदर्शन ब्लॉकचेन एकीकरण की आवश्यकता वाली टीमें
  • बहु-प्लेटफॉर्म ब्लॉकचेन समर्थन की आवश्यकता वाले प्रोजेक्ट

विचार योग्य बातें

  • Fuel ब्लॉकचेन अवधारणाओं के प्रति परिचित होना आवश्यक है
  • मूल निर्भरताओं के लिए अतिरिक्त सेटअप की आवश्यकता हो सकती है
  • ईंधन पारिस्थितिकी तंत्र कार्यक्षमता तक सीमित
  • FFI कॉल्स के डिबगिंग में संभावित जटिलता
  • स्थिर 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

श्रेणियाँ

निर्भरताएँ

निर्भरता सूची 6 आइटम

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट

अभी कोई डेटा उपलब्ध नहीं है।