multi-party-schnorr

Crates.iomulti-party-schnorr
lib.rsmulti-party-schnorr
version1.0.0-beta
created_at2025-05-15 08:59:03.722462+00
updated_at2025-05-15 08:59:03.722462+00
descriptionMulti party schnorr protocol
homepage
repositoryhttps://github.com/silence-laboratories/multi-party-schnorr
max_upload_size
id1674679
size894,408
Iraklis Leontiadis (leontiad)

documentation

README

Table of Contents

Introduction

This is a high-performance threshold EdDSA/Schnorr signing protocol based on the paper Simple Three-Round Multiparty Schnorr Signing with Full Simulatability.

This is a production-ready, audited implementation and has undergone a comprehensive security audit by HashCloak.

Features

  • Distributed Key Generation (DKG)

  • Distributed Signature Generation (DSG)

  • Key refresh

  • Quorum Change: dynamically change the participant set by adding or removing parties

Installing, Testing, Benchmarks

Building

cargo build

Running Tests

cargo test

Examples

Under examples/ directory there are examples on how to perform keygen, sign and refresh.

Running the examples:

cargo run --example keygen
cargo run --example sign
cargo run --example refresh

Implementation Details

  • This library provides Distributed Key Generation generic over any elliptic curve group that implements the Group trait from the elliptic-curve crate.
  • We currently support threshold Schnorr signing with random nonce over curve25519 and Bitcoin Taproot Schnorr over the secp256k1 curve.

Not in scope:

  • This library contains only the cryptographic protocol and does not provide any networking functions.

  • The parties in the protocol do not authenticate themselves and do not establish e2e secure channels

Feature Flags

Feature Default? Description
eddsa Enables signing over curve25519 with edd25519-dalek signing objects compatibility
taproot Enables Bitcoin Taproot Schnorr signing over secp256k1

Security

If you discover a vulnerability, please follow the instructions in SECURITY.

Security Audit

HashCloak has performed a security audit in April, 2025 on the following commit:

  • 146d4a57a82c62cf8d24fbd6b713d9bfc7cd534c

and the report is available here: security audit

Contributing

Please refer to CONTRIBUTING.

Reach out to us

Don't hesitate to contact us if you need any assistance.

info@silencelaboratories.com

security@silencelaboratories.com

Happy signing!

Commit count: 80

cargo fmt