⚠️ UNAUDITED — testnet / no-value only. This is kawasekit's hardened fork of 0xCarbon/DKLs23, carrying pre-paid-audit self-audit hardening only. A third-party cryptographic audit is a standing pre-mainnet gate that a self-audit does not clear. Do not use this with real value. See FORK.md and SECURITY.md.
An implementation of the DKLs23 threshold-ECDSA protocol: ECDSA signatures computed across multiple parties, each holding a key share, without ever reconstructing the secret key in one place.
kawasekit-dkls23 is a fork of 0xCarbon's implementation, hardened ahead of a paid audit. The
protocol math is byte-identical to upstream v0.5.1 (c9c407e); the delta is purely additive
defensive hardening. Pinned base, per-finding delta, and rebase process are in FORK.md.
A public, interactive showcase built on this fork runs at https://kawasekit-rwa-demo.k0yote.dev — a 2-of-2 DKLs23 wallet whose key share is born in your browser (in-browser DKG), co-signing both legs of an RWA-style payment behind a policy gate (per-sign and cumulative caps, recipient allowlist, session expiry, kill switch): gasless EIP-3009 stablecoin transfers, plus buy/redeem of a reserve-verified tokenized stock, on the Ethereum Sepolia testnet.
Same ceiling as everything here: UNAUDITED, testnet only, no real value — real-testnet USDC/JPYC alongside labeled mocks, no issuer affiliation, and a third-party cryptographic audit still standing between this code and real value.
This fork is not published to crates.io — it keeps the upstream crate names and is consumed by pinning an exact git commit:
[dependencies] dkls23-secp256k1 = { git = "https://github.com/k0yote/kawasekit-dkls23", rev = "<commit-sha>" } # or dkls23-secp256r1 / dkls23-core
The crates.io
dkls23-*packages are upstream 0xCarbon's releases and do not carry this fork's hardening. Pin this repo by git rev to get the hardened code.
| Crate | Description |
|---|---|
dkls23-core |
Curve-generic core protocol |
dkls23-secp256k1 |
secp256k1 — Ethereum, Bitcoin, Cosmos, TRON |
dkls23-secp256r1 |
NIST P-256 — NEO3, Sui |
This is the cryptographic core only. Session orchestration, transport, and message authentication are the responsibility of the consuming application and are out of scope for this repository.
git clone https://github.com/k0yote/kawasekit-dkls23 cd kawasekit-dkls23 cargo test
- Reporting: use GitHub's private vulnerability reporting (repository Security → Report a vulnerability). See SECURITY.md.
- Audit status & ceiling: SECURITY.md, FORK.md, and the artifacts under
docs/. Open findings: issue #13.
See CONTRIBUTING.md. Participation is governed by our Code of Conduct.
Forked from 0xCarbon/DKLs23 (original authors credited there). Licensed under either Apache-2.0 or MIT at your option.