Coder Social home page Coder Social logo

lucky4angel / fuels-dart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fuelet/fuels-dart

0.0 0.0 0.0 1.61 MB

Fuel Network Dart SDK

License: GNU Affero General Public License v3.0

Shell 0.82% JavaScript 0.15% Ruby 1.24% C++ 5.14% C 3.95% Objective-C 0.01% Rust 9.86% Kotlin 0.03% Dart 71.27% TypeScript 1.02% Swift 0.36% HTML 0.45% CMake 5.52% Just 0.18%

fuels-dart's Introduction

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

  • Create wallet
  • Get account balances
  • 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

fuels-dart's People

Contributors

mpoplavkov avatar ivirn avatar actions-user avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.