mpc_dart 1.4.5 copy "mpc_dart: ^1.4.5" to clipboard
mpc_dart: ^1.4.5 copied to clipboard

Safeamtrix mpc dart package, ecdsa, eddsa and bls supported.

mpc_dart #

Mpc for dart

Pub Version

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));

Release #

  1. Update version in pubspec.yaml.
  2. Run ./compress.sh verison.
  3. Add changelogs.
  4. Add tag and push to github.
2
likes
120
pub points
25%
popularity

Publisher

unverified uploader

Safeamtrix mpc dart package, ecdsa, eddsa and bls supported.

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

ffi, flutter, plugin_platform_interface, pointycastle, uuid

More

Packages that depend on mpc_dart