Rust implementation of BIP-340 FROST (Flexible Round-Optimized Schnorr Threshold) signatures for Bitcoin Taproot.
- FROST signing - Threshold signatures compatible with BIP-340 Schnorr
- Trusted dealer - Centralized key generation and share distribution
- DKG (Distributed Key Generation) - Decentralized key generation without a trusted dealer
- Share refresh - Refresh shares without changing the group public key
- Share recovery - Recover shares using VSS (Verifiable Secret Sharing)
- Compatible - Compatible with the @cmdruid/frost TypeScript implementation
Add to your Cargo.toml:
[dependencies]
frost-taproot = { path = "../frost-taproot-rust" }ecc- Elliptic curve cryptography primitives (secp256k1)frost- Core FROST implementation (dealer, DKG, signing, ECDH)types- Type definitions for shares, groups, commitments, and signaturescommit- Commitment schemes for FROST noncescontext- Signing context for BIP-340 compatible signaturesecdh- Elliptic Curve Diffie-Hellman key exchangegroup- Group management and validationhelpers- Utility functions for FROST operationspoly- Polynomial operations for secret sharingrecover- Share recovery using VSSrefresh- Share refresh protocolsshares- Share generation and validationsign- BIP-340 compatible signingvss- Verifiable Secret Sharing
cargo testMIT