Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.45 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.45 KB

veil_light_plugin

Port of veil-secp256k1 to dart/flutter, based on fork of WASM module tiny-secp256k1 originally made by bitcoinjs contributors and released under MIT license.

This library rely on fork version of rust-secp256k1

Getting Started

Requirements:

This project uses CargoKit, see how to use it here

# run this to download required dependencies
flutter pub get

Project structure

This template uses the following structure:

  • rust: Contains the native source code, and a CmakeFile.txt file for building that source code into a dynamic library.

  • lib: Contains the Dart code that defines the API of the plugin, and which calls into the native code using dart:ffi.

  • platform folders (android, ios, windows, etc.): Contains the build files for building and bundling the native code library with the platform application.

Building and bundling native code

Please setup dependencies required by cargokit then, add this repository as submodule to your project. see example requirements for project that uses this library: Veil Wallet