silent_shard_sdk
Dart client SDK for a two party TSS (Threshold Signature Scheme) using MPC.
Installation
-
Add silence token
dart pub token add https://dart-pkg.silencelaboratories.com Enter secret token: <silence-token> -
Run the following command
dart pub add 'silent_shard_sdk:{"version":"1.0.0", "hosted":"https://dart-pkg.silencelaboratories.com"}'OR Add the following to your
pubspec.yaml:dependencies: silent_shard_sdk: version: 1.0.0 hosted: https://dart-pkg.silencelaboratories.com -
Run
dart pub getfrom terminal
Publishing package
-
Add admin token
dart pub token add https://dart-pkg.silencelaboratories.com Enter secret token: <admin-token> -
Run
dart pub publish
Project structure
-
lib: contains the Dart code that defines high-level API for transport layer, keygen and siginging -
example: sample app for different platforms running integration tests, showcasing usage and serving as an example.
Generate sdk reference
- Run
dart doc .
This will create a folder doc/api which have index.html
More about dart doc