Skip to content

A Dart/Flutter Salvium library. Based on cs_monero

License

Notifications You must be signed in to change notification settings

cypherstack/cs_salvium

 
 

Repository files navigation

cs_salvium

melos

A Melos monorepo for the cs_salvium package, the cs_salvium_flutter_libs package, and their dependencies.

About

Getting started

Install Melos (dart pub global activate melos) and run melos bootstrap (or melos bs) in this root directory to get started.

Build libraries from source (optional but recommended)

By default, cs_salvium_flutter_libs will automatically include and download the appropriate platform-specific binaries when you run flutter pub get. Use these at your own risk. To build the libraries yourself:

  1. Add this repo as a git submodule to your project and add cs_salviumand cs_salvium_flutter_libs to your pubspec.yaml as relative/path dependencies. If you're migrating from flutter_libmonero to cs_salvium, also add compat.
  2. Install Melos (dart pub global activate melos) and run melos bootstrap (or melos bs).
  3. Build the platform you want using one of the following commands:
    • melos build:android
    • melos build:ios
    • melos build:linux
    • melos build:macos
    • melos build:windows
  4. Run melos copyLibs to copy the binaries to where Flutter can find them.

Building notes

TODO

  • Tests? (at least what is possible)
  • Accounts API?
  • Use FFI project skeleton for libs vs Platform Plugin?
  • Cleaner/more user friendly API

About

A Dart/Flutter Salvium library. Based on cs_monero

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 93.8%
  • C++ 2.5%
  • CMake 2.1%
  • Kotlin 0.7%
  • Ruby 0.4%
  • Swift 0.3%
  • Other 0.2%