https://github.com/tangle-network/silent-shard-dkls23-gadget
https://github.com/tangle-network/silent-shard-dkls23-gadget
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/tangle-network/silent-shard-dkls23-gadget
- Owner: tangle-network
- License: other
- Created: 2024-04-04T15:12:33.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-11T18:08:37.000Z (about 2 years ago)
- Last Synced: 2025-02-05T21:53:40.155Z (over 1 year ago)
- Language: Rust
- Size: 86.9 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# silent-shard-dkls23-gadget
This repo implements the [Silence Laboratories DKLS protocol](https://github.com/silence-laboratories/silent-shard-dkls23-ll) into Tangle's [gadget](https://github.com/webb-tools/gadget). The DKLS protocol is a distributed key generation protocol that allows a group of parties to generate a group ECDSA public key and a set of secret key shares for each participant. A threshold number of parties can then collaborate to sign a message using the group key. The protocol is secure against malicious adversaries and can be used in a variety of applications such as secure multi-party computation, threshold signatures, and secure messaging.
The gadget integration allows this protocol to be used against the Tangle blockchain. Tangle implements a job management system that allows users to submit jobs to the network and receive results. The test framework contained within this gadget implementation interacts with a mock Tangle blockchain to ensure that the DKLS protocol is functioning correctly and the results are as expected.
## Getting Started
This project represents a single protocol implementation on top of Tangle's [gadget](https://github.com/webb-tools/gadget) framework. We recommend checking out https://github.com/webb-tools/gadget for more information on how to use the framework and how to build your own protocol implementations.
### Prerequisites
- Rust 1.74.0 or higher
- Substrate blockchain with compatible job management and submission infrastructure
### Installation
1. Clone the repository:
```bash
git clone https://github.com/webb-tools/silent-shard-dkls23-gadget/
cd silent-shard-dkls23-gadget
```
2. Build the project:
```bash
cargo build --release
```
3. Run the tests:
```bash
RUST_LOG=gadget=trace cargo nextest run -r
```
## Acknowledgements
We would like to thank the following projects for their inspiration and contributions to this repository:
* [DKLS](https://github.com/silence-laboratories/silent-shard-dkls23-ll)