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
This project uses CargoKit, see how to use it here
# run this to download required dependencies
flutter pub get
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 usingdart:ffi
. -
platform folders (
android
,ios
,windows
, etc.): Contains the build files for building and bundling the native code library with the platform application.
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