bitcoin-frost
БесплатноБез исполняемых скриптовНе проверенFROST (Flexible Round-Optimised Schnorr Threshold): t-of-n threshold signing on secp256k1. n participants share a key via Distributed Key Generation (DKG) or…
от claude-dev-suite★ 51 звезда на GitHubОб этом скилле
FROST — t-of-n Threshold Schnorr
FROST is the standard t-of-n threshold Schnorr signature scheme suitable for Bitcoin. Like MuSig2, it produces a single 64-byte BIP340 signature under one aggregated pubkey. Unlike MuSig2 (which requires all n parties to sign), FROST allows any t ≤ n parties to sign.
Key properties
- t-of-n — any t parties can sign, fewer cannot.
- Single-sig appearance — output looks like a regular Schnorr sig on a regular x-only pubkey.
- Two rounds in the FROST signing protocol (after one-time DKG).
- No on-chain multisig — saves bytes and improves privacy.
Two phases
Phase 1: Distributed Key Generation (DKG)
n parties run a DKG protocol to set up shares of a common private key
d corresponding to public key P = d * G. No single party ever
knows d itself.
DKG variants:
- Pedersen DKG (classical, 2 rounds with broadcast).
- Trusted dealer — one party generates
d, hands shares out. Acceptable for some custody models. - DKG with verifiable secret sharing — using Feldman / Pedersen VSS so parties can verify their shares.
After DKG, each party i has:
- Share
s_i(Shamir share ofd). - Public verification key
S_i = s_i * G. - Group public key
P = d * G.
Phase 2: Threshold signing
When t parties want to sign message m:
Round 1 (commit)
Each signer i:
- Generates two ephemeral nonces
(d_i, e_i). - Computes
(D_i, E_i) = (d_i*G, e_i*G). - Broadcasts
(D_i, E_i)to coordinator.
Aggregation
Coordinator:
- Computes binding factor
ρ_i = H(i, m, ((D_j, E_j) for all signers)). - Computes group commitment
R = sum(D_i + ρ_i * E_i).
Round 2 (sign)
Each signer i:
- Computes Lagrange coefficient
λ_ifor the cooperating subset of size t. c = TaggedHash("BIP0340/challenge", R.x || P.x || m).- Partial sig:
z_i = d_i + ρ_i*e_i + λ_i * s_i * c mod n. - Sends
z_ito coordinator.
Aggregation
s = sum(z_i) mod n.- Final sig:
(R.x, s).
FROST vs MuSig2
| Aspect | MuSig2 | FROST |
|---|---|---|
| Threshold | n-of-n | t-of-n |
| Setup | trivial (just sum keys) | requires DKG |
| Round trip | 2 rounds + nonce setup | 2 rounds + DKG once |
| Partial sigs | per-signer-key contribution | Lagrange-based with subset selection |
| BIP | 327 | 445 (draft, PR open) |
| Bitcoin-specific | yes (BIP340 alignment) | yes (BIP340 alignment) |
Use MuSig2 when all n parties always sign together (e.g., 2-of-2 joint custody). Use FROST when subset signing is needed (e.g., 3-of-5 board, 2-of-3 multisig with social recovery).
Implementations
frost-secp256k1(Zcash / ZF FROST) — Rust reference.secp256k1-frost(bancaditalia/secp256k1-frost) — third-party Banca d'Italia (itcoin) fork of libsecp256k1 adding asecp256k1_frost_*C API; self-described "testing and experimentation" only, and not an upstream module as of September 2026 (see Status below).chillDKG(Blockstream research) — practical DKG with state recovery; now a submitted BIP draft (see Status below).frostsnap— Rust FROST stack behind the Frostsnap hardware wallet, MIT-licensed firmware + coordinator app (github.com/frostsnap/frostsnap).frost-dalek(Ristretto, not Bitcoin-relevant).- Tools:
frost-cliproof-of-concept.
Status for Bitcoin
- BIP 445 — "FROST Signing Protocol for BIP340 Signatures" (Sivaram
Dhakshinamoorthy). Number assigned 2026-01-30; Status: Draft, spec
version 0.10.0 (2026-08-26) as of September 2026. Submitted as
bitcoin/bips#2070(opened 2026-01-03, still open — no BIP 445 file in the bips repo yet; the README table skips 443 → 446). Specifies the FROST3 variant and adds what RFC 9591 lacks: BIP340 compatibility and key tweaking for BIP32 derivation and BIP341 Taproot. Key generation is explicitly out of scope for BIP 445. - ChillDKG BIP draft — "ChillDKG: Distributed Key Generation for
FROST" (Ruffing, Nick, Melnyk, Zhvanko, Dhakshinamoorthy),
Requires: 445, spec version 0.3.0-dev, no BIP number assigned yet. Submitted asbitcoin/bips#2227on 2026-07-30, still open as of September 2026. Dev repo:BlockstreamResearch/bip-frost-dkg. - RFC 9591 is not a drop-in for Bitcoin. The IRTF published FROST as
RFC 9591 (June 2024), including a
FROST(secp256k1, SHA-256)ciphersuite — but its signatures are not BIP340-compatible, because BIP340 uses x-only public keys, and it specifies no key tweaking. An RFC 9591 library dropped into a Bitcoin wallet produces signatures Bitcoin will not accept. Use BIP 445 for signing; for key generation BIP 445 points at either ChillDKG or RFC 9591's own trusted-dealer setup (Appendix C). - No FROST module in either C library (as of September 2026). bitcoin-core/secp256k1 master ships no FROST module — its module list is in secp256k1/SKILL.md — and secp256k1-zkp has only unmerged FROST pull requests, #138 (opened 2021-07-21) and #27
Установить bitcoin-frost в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadGrepGlobFAQ
Что делает скилл bitcoin-frost?
FROST (Flexible Round-Optimised Schnorr Threshold): t-of-n threshold signing on secp256k1. n participants share a key via Distributed Key Generation (DKG) or trusted dealer; any t can produce a Schnorr signature. Differs from MuSig2 (which is n-of-n). USE WHEN: t-of-n threshold custody (e.g., 3-of-5 board signatures) with single-sig appearance on chain, federated services, multi-sig with availability.
Как установить скилл bitcoin-frost?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл bitcoin-frost запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic