패키지, 저장소 및 앱 카테고리 검색

패키지 상세v1.39.0

fuels

Fuel Rust SDK용 Dart FFI 브리지

AndroidiOSmacOSWindowsLinux
30일 다운로드
161
좋아요
2
Pub 점수
120

패키지 설치

flutter pub add fuels

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Fuels는 Flutter 애플리케이션이 Fuel Rust SDK와 상호 작용할 수 있도록 해주는 Dart FFI 브리지입니다. 이로써 Fuel 블록체인과의 원활한 통합이 가능해집니다. 개발자는 크로스플랫폼 환경에서 Dart의 기능을 활용하여 Fuel 위에 탈중앙화 애플리케이션(dApps)을 구축할 수 있습니다. 이 패키지는 Android, iOS, macOS, Windows, Linux 등 주요 플랫폼을 지원하며, 풀스택 블록체인 개발에 이상적입니다. Fuel의 저수준 기능에 직접 접근할 수 있어, Fuels는 개발자가 거래를 실행하고 자산을 관리하며 스마트 계약을 효율적으로 배포할 수 있도록 합니다.

사용 사례

  • Fuel에서 크로스플랫폼 dApps 빌드하기
  • Flutter 앱에 Fuel 블록체인 기능 통합하기
  • 스마트 계약 상호작용 실행
  • Flutter 앱에서 디지털 자산 관리하기
  • 블록체인 기반 모바일 애플리케이션 개발

주요 기능

  • Dart FFI와 Fuel Rust SDK 통합
  • 크로스 플랫폼 지원 (Android, iOS, macOS, Windows, Linux)
  • Fuel 블록체인 작업에 대한 직접 액세스
  • 네이티브 바인딩을 통한 효율적인 성능
  • Flutter와의 원활한 호환성

적합한 대상

  • Fuel 블록체인을 대상으로 하는 Flutter 개발자
  • 웹3 애플리케이션 창작자
  • 블록체인 엔지니어들이 모바일 dApps 개발 중
  • 고성능 블록체인 통합이 필요한 팀
  • 다중 플랫폼 블록체인 지원이 필요한 프로젝트

고려 사항

  • Fuel 블록체인 개념에 익숙해야 합니다
  • 네이티브 종속성에 대한 추가 설정이 필요할 수 있습니다
  • 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 개

소스 저장소

이 패키지를 사용하는 프로젝트

아직 데이터가 없습니다.