peerdid 0.0.3 peerdid: ^0.0.3 copied to clipboard
Dart implementation for PeerDID from identity.foundation specification
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add peerdid
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
peerdid: ^0.0.3
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:peerdid/peer_did.dart';
import 'package:peerdid/peer_did_components.dart';
import 'package:peerdid/private_key.dart';
import 'package:peerdid/public_key.dart';