Last updated:
0 purchases
mpc dart
mpc_dart #
Mpc for dart
Usage #
import 'package:mpc_dart/mpc_dart.dart';
/// Generate
final shares = Ecdsa.generate(1, 3);
/// Get address
final address = Ecdsa.address()
/// Recover
final share = Ecdsa.recover(shares[0], shares[1])
assert(share == share[2])
/// Sign
final msgs = [List<int>.filled(32, 1)];
final signature = Ecdsa.sign(SignParams(msgs, 1, ecdsaResult));
copied to clipboard
Release #
Update version in pubspec.yaml.
Run ./compress.sh verison.
Add changelogs.
Add tag and push to github.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.