dvote_native 0.1.0 dvote_native: ^0.1.0 copied to clipboard
Flutter plugin to allow native mobile apps to interact with Vocdoni decentralized votes.
DVote Flutter #
This is a native plugin to provide the signing and cryptographic capabilities missing on dvote-dart
.
More details: https://pub.dev/packages/dvote_native
DVote example #
Getting Started #
Import the Dart library on your project and use the static functions available on the Dvote
class
import 'package:dvote_native/dvote_native.dart';
Signing #
Computing signatures using ECDSA cryptography
final valid = await verifySignature(signature, messageToSign, publicKey);
Example #
- See
example/lib/main.dart
for a usage example.
Future Work #
- Allow to call native code through FFI instead of using the bridge