dkls23-core
Curve-generic core implementation of the DKLs23 Threshold ECDSA protocol.
This crate provides the cryptographic primitives and protocol logic for:
- Distributed Key Generation (DKG) — generate key shares without a trusted dealer
- Threshold Signing — produce ECDSA signatures with a subset of parties
- Key Refresh — rotate key shares without changing the public key
- BIP-32 Derivation — derive child keys from a master key share
Usage
This is the curve-generic core — most users should depend on a curve-specific crate instead:
dkls23-secp256k1— for Ethereum, Bitcoin, Cosmos, TRONdkls23-secp256r1— for NEO3, Sui
Use dkls23-core directly only if you need to implement a custom curve via the DklsCurve trait.
[]
= "0.5"
API Levels
- High-level:
DkgSessionandSignSessionmanage protocol state automatically - Low-level:
phase1–phase4functions and keep-state types for advanced resumable/stateless orchestration
For session orchestration, transport, and resumable flows, see libtss.
License
Licensed under either of Apache License 2.0 or MIT at your option.