https://github.com/cypherstack/flutter_libsparkmobile
firo-org/sparkmobile for cross-platform Flutter applications.
https://github.com/cypherstack/flutter_libsparkmobile
android blockchain cross-platform cryptocurrency cryptography finance firo ios lelantus linux macos pc privacy spark windows
Last synced: 2 months ago
JSON representation
firo-org/sparkmobile for cross-platform Flutter applications.
- Host: GitHub
- URL: https://github.com/cypherstack/flutter_libsparkmobile
- Owner: cypherstack
- License: mit
- Created: 2023-10-06T21:48:00.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-11-13T03:04:19.000Z (7 months ago)
- Last Synced: 2025-11-13T05:21:56.438Z (7 months ago)
- Topics: android, blockchain, cross-platform, cryptocurrency, cryptography, finance, firo, ios, lelantus, linux, macos, pc, privacy, spark, windows
- Language: C
- Homepage:
- Size: 15.9 MB
- Stars: 0
- Watchers: 2
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# `flutter_libsparkmobile`
[SparkMobile](https://github.com/firoorg/sparkmobile) wrapped as a Flutter plugin for cross-platform mobile and desktop apps. Supports Android, iOS, Linux, Mac, and Windows platforms.
## Build
Use `flutter build` to build or `flutter run` the example app.
Note that the example app requires Coinlib's `secp256k1` lib to be built (use `dart run coinlib:build_linux` for Linux, `dart run coinlib:build_windows` for Windows, etc.).
## Example
See the [example](example) directory for a Flutter app that uses `flutter_libsparkmobile`.
### Integration tests
`example/test/integration_test.dart` tests various vectors for correctness. Run it from `example` as in `flutter test integration_test/plugin_integration_test.dart`.
## Development
### Bindings generation (`dart run ffigen --config ffigen.yaml`)
Bindings are generated using [ffigen](https://pub.dev/packages/ffigen). After bindings are generated, wrap the bound functions in `flutter_libsparkmobile.dart`.
### `sparkmobile` troubleshooting
If you need to test changes in `sparkmobile` itself, you may need to install Boost development libraries as in `sudo apt install libboost-all-dev`.