flutter_chia_rust_utils 0.0.62+2 copy "flutter_chia_rust_utils: ^0.0.62+2" to clipboard
flutter_chia_rust_utils: ^0.0.62+2 copied to clipboard

Chia Rust utils library for use in Flutter, allow use CLVM, BLS and more libraries in your Chia Blockchain projects

Flutter Chia Rust library #

Flutter Chia Rust library develop by Ozone Team Marvin Quevedo #

You can support our work sending a tip to:


CHIA: xch1u63gjtvqyptalmhh9e5pwkwerf5x58f6phajdnlmqms262nhlnesck3pjq

TRON-TRC20: TMxKPo5AnfSbJY8CZcTJR7L8h4JtEG2pBp

Bitcoin: 3Qnbej5wkFYHGm1AzBMkfopzENkNipAaLQ



Using chia_rs we develop a Flutter lib binding.

In this library you have chia_tools_rs commands (run, brun, opc, opd) can be used in Flutter

Program for work with ChiaLisp programs for develop news logic for Chia Blockchain tools




For build in iOS, call the dummy method for keep the libs in release mode

import UIKit
import Flutter

// add import
import flutter_chia_rust_utils
 

@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
  override func application(
    _ application: UIApplication,
    didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
  ) -> Bool {
 
    //...
    // Add this line to call dummyMethodToEnforceBundling 
    // for give the xcode compiler that we need the Rust native library

    FlutterChiaBlsPlugin.dummyMethodToEnforceBundling()

    //...
    
  }
}

For build in macOS

import Cocoa
import FlutterMacOS

// add import
import flutter_chia_rust_utils

class MainFlutterWindow: NSWindow {
  override func awakeFromNib() {
    //...
    // Add this line to call dummyMethodToEnforceBundling 
    // for give the xcode compiler that we need the Rust native library

    FlutterChiaRustUtilsPlugin.dummyMethodToEnforceBundling()

    //...
  }
}
0
likes
130
pub points
17%
popularity

Publisher

unverified uploader

Chia Rust utils library for use in Flutter, allow use CLVM, BLS and more libraries in your Chia Blockchain projects

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

collection, crypto, ffi, flutter, flutter_rust_bridge, freezed_annotation, hex, meta, uuid

More

Packages that depend on flutter_chia_rust_utils