ed25519spacemesh 0.0.4
ed25519spacemesh: ^0.0.4 copied to clipboard
Native ed25519 implementation for Spacemesh.io
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add ed25519spacemeshWith Flutter:
$ flutter pub add ed25519spacemeshThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
ed25519spacemesh: ^0.0.4Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:ed25519spacemesh/const.dart';
import 'package:ed25519spacemesh/edwards25519.dart';
import 'package:ed25519spacemesh/spacemesh_ed25519.dart';
import 'package:ed25519spacemesh/util.dart';