Professional · 13 Any two of three, one ordinary signature
FROST explained.
FROST is a threshold signature scheme: n people each hold a share of one private key, and any t of them can sign for it together. The key is split as points on a secret polynomial, and the signature they produce is an ordinary Schnorr signature, so a 2-of-3 wallet spends on the chain exactly like a single key.
01 What it is
FROST lets any t of n signers make one ordinary Schnorr signature for one shared key
FROST stands for Flexible Round-Optimized Schnorr Threshold signatures. Chelsea Komlo and Ian Goldberg published it in 2020.
Take three people, Alice, Bob and Carol, and a threshold of two. Together they set up one public key. Each of them holds a share of its private key, and nobody holds the private key itself. Any two of them can sign a transaction in two rounds of messages, and the result is one 64-byte BIP340 signature that checks against that one 32-byte key. The third person does not need to be online, or even to know a payment happened.
The two older ways to need several people do not do this. A multisig script with CHECKMULTISIG can require any two of three, but every spend publishes the keys and the signatures. MuSig2 produces one key and one signature, but only when every signer takes part: it is n-of-n. FROST combines the threshold of the first with the single key and signature of the second.
OnlyBits does not use FROST. Its shared wallets use MuSig2, so every signer approves every payment, with two or three people. Shared wallets explained follows that design.
This page describes FROST as a general Bitcoin technique, not as a feature of the app.
Look underneath
- Paper: Komlo and Goldberg, "FROST: Flexible Round-Optimized Schnorr Threshold Signatures", Selected Areas in Cryptography (SAC) 2020, IACR ePrint 2020/852.
- RFC 9591 (June 2024): the two-round FROST signing protocol, an Informational RFC from the IRTF's CFRG. It includes a secp256k1 ciphersuite, but its signatures are not BIP340 signatures.
- BIP445 (draft): a BIP340-compatible FROST signing protocol, closely modelled on MuSig2's BIP327. Key generation is left to a sister draft, ChillDKG, or to a trusted-dealer draft.
Notation used on this page: n participants, threshold t, signing set of size t or more. A 2-of-3 setup has t = 2, n = 3.
02 Points on a line
A secret can be split into points on a line, and any two of the points give it back
FROST is built on Shamir secret sharing, from 1979. The secret is a number, and it is written as the height where a line crosses the vertical axis.
Choose a line at random that passes through the secret. Each person gets one point on that line, at a different x position. Two points fix a straight line, so any two people can redraw it and read the secret off where it meets the axis. One point fixes nothing: infinitely many lines pass through it, each crossing the axis at a different height, and every height is equally likely. One share on its own says nothing about the secret.
The secret is 7. Mark it on the vertical axis, at x = 0.
Pick a random line through it. Here the slope is 3, so the line is f(x) = 7 + 3x.
Read off three points at x = 1, 2 and 3. Alice gets (1, 10), Bob (2, 13) and Carol (3, 16).
Delete the line and the secret. Only the three points remain, one with each person.
Alice and Carol put their points together. Two points fix one line, it crosses the axis at 7, and the secret is back. Bob was not needed.
Carol alone has one point. Lines through it can cross the axis at 2, 12, 17 or any other value, so her point gives no information about the secret.
Look underneath
Real shares are not small integers on a plane. All arithmetic is modulo the order of the secp256k1 group, a 256-bit prime n, and a "line" is a polynomial over that field:
f(x) = a0 + a1·x # mod n; a0 is the secret, a1 is random share = ( i , f(i) ) # i = 1, 2, 3 ...; never i = 0
Over a finite field the "every height is equally likely" claim is exact: for one known share (i, y) and any candidate secret a0, there is exactly one a1 that fits, so the share is uniformly consistent with every secret. This is information-theoretic, not a hardness assumption.
Shamir published the scheme in "How to Share a Secret", Communications of the ACM, 1979. Plain Shamir sharing needs someone to hold the secret first and hand out the points, which FROST's key generation avoids (section 04).
03 The threshold
A threshold of t uses a curve with t numbers in it, so it takes t points to pin it down
A straight line is set by two numbers, its height at zero and its slope, so it needs two points. A parabola is set by three numbers and needs three points.
That is how the threshold is chosen. For "any t of n", the secret is the constant of a polynomial with t numbers in it (degree t - 1), and n points are handed out. Any t of the points determine the polynomial and so the secret. Any t - 1 of them leave it completely open, the same way one point on a line did. A 2-of-3 wallet uses a line and three points; a 3-of-5 uses a parabola and five.
Look underneath
f(x) = a0 + a1·x + ... + a_(t-1)·x^(t-1) # t coefficients, degree t - 1 secret = f(0) = a0 # recover from any set S of t shares (Lagrange interpolation) f(0) = sum over i in S of λ_i · f(i) λ_i = product over j in S, j != i, of j / (j - i)
Section 07 works the weights through with the numbers from section 02. The edge cases are allowed but pointless: t = n is n-of-n, which MuSig2 does with less machinery, and t = 1 gives every participant the whole secret.
04 No dealer
In FROST nobody deals the shares: each person deals a line of their own, and the shares are added up
Plain Shamir sharing starts with someone who knows the secret and hands out points. For a wallet that person is a single point of failure, so FROST uses distributed key generation (DKG) instead.
Each participant picks their own random line and acts as a dealer for it, sending one point to each of the others over a private channel. Each person then adds up the points they received. Because adding lines gives another line, the sums are points on a combined line whose constant is the sum of everyone's constants. That constant is the group's private key. Every participant contributed to it, and it is never computed anywhere.
Each person picks a random line of their own. Its constant is their contribution to the secret: 2, 4 and 1.
Each one evaluates their line at x = 1, 2 and 3. That gives a three by three grid of numbers.
Each number goes privately to the person its column is for. Alice receives 3, 7 and 0, one from each line.
Each person adds up their column. Alice's share is 10, Bob's 13, Carol's 16: the same points as the line 7 + 3x in section 02.
The group secret is the sum of the three constants, 7. Each constant stayed with its owner, so the 7 exists in no single place.
Look underneath
This is the shape of Pedersen's 1991 DKG, which FROST's original paper uses for key generation:
participant i: f_i(x) = a_i0 + a_i1·x + ... + a_i(t-1)·x^(t-1) sends to j: f_i(j) # over an encrypted, authenticated channel share of j: s_j = sum over i of f_i(j) group secret: s = sum over i of a_i0 # never computed group key: Y = s·G = sum over i of a_i0·G
The FROST paper also has each participant publish a Schnorr proof that they know their own a_i0. Without it, a participant who goes last could choose their contribution to cancel the others', the same rogue-key problem MuSig2 solves with key weights.
ChillDKG
The Bitcoin draft for FROST key generation is ChillDKG (Blockstream Research). It layers SimplPedPop (the core protocol), EncPedPop (shares encrypted with pairwise ECDH between long-term host keys) and CertEq (every participant signs the transcript, and the session counts as successful only with all n signatures). Messages pass through a coordinator that is not trusted: it can make a session fail but cannot break its security. ChillDKG is designed for use with BIP445 signing only.
The negative numbers in the figure are fine: modulo n, -1 is just n - 1.
05 Commitments
Each dealer publishes commitments to its line, so every recipient can check its point without learning the line
A point received in private could be wrong, by mistake or on purpose. A wrong point would leave someone with a share that does not fit, and the group would find out only when it tried to sign.
So each dealer also publishes a commitment to every number in their line: the number multiplied by the curve's generator point G. Multiplying by G is easy to do and, as far as anyone knows, impossible to undo, so the commitments hide the numbers. They still add and scale like the numbers do. A recipient at position j can compute from the public commitments what its point times G must be, and compare that with the point it was sent. This is Feldman's verifiable secret sharing.
Bob's line is 4 + 3x. He publishes C0 = 4·G and C1 = 3·G. Nobody can get 4 or 3 back from them.
Bob sends Alice her point privately: f_B(1) = 7.
Alice checks 7·G against C0 + 1·C1. That is 4·G + 3·G = 7·G, so the point fits Bob's line.
Bob sends Carol 12 instead of 13. Her check is C0 + 3·C1 = 13·G, which does not equal 12·G.
Carol reports the failure, and the session stops before anyone sends coins to the key.
In a session where every check passes, the three C0 values add up to the group public key: 2·G + 4·G + 1·G = 7·G.
Look underneath
dealer i publishes: C_ik = a_ik·G # k = 0 .. t-1
recipient j checks: f_i(j)·G == sum over k of j^k · C_ik
group public key: Y = sum over i of C_i0
public share of j: Y_j = s_j·G = sum over i, k of j^k · C_ik
The public shares Y_j let anyone check a single signer's contribution during signing (section 06), which is how a bad signature share is traced to its sender.
Feldman commitments reveal a_i0·G, each dealer's share of the public key. That is fine here because the group public key is meant to be public anyway. Pedersen-style commitments that hide even that exist but are not needed for FROST.
What happens after a failed check differs by protocol. The FROST paper's key generation has participants complain and abort. ChillDKG aborts the session and offers "blame", aiming to identify one party responsible, which relies on reliable links and, for blaming a participant, an honest coordinator. Either way the key from a failed session must not receive funds.
06 Two rounds
Any t signers sign in two rounds, nonce commitments first and signature shares second, and the rest can stay offline
A Schnorr signature needs a fresh secret nonce, a random number used once, and the public point R that it produces. In FROST each signer contributes part of R and part of the final number.
In the first round, each signer in the chosen set picks two secret nonces and sends out the two matching points, called commitments D and E. Each signer then computes a binding factor, a hash of the message, the group key and every commitment in the session, and the group's R is built from the commitments weighted by those factors. In the second round, each signer sends a signature share, which mixes its nonces, its key share, and a weight that depends on who else is signing (section 07). Adding the shares gives the signature. The binding factor ties each nonce to this one message and this one set of signers, which closes an attack that breaks the naive version (section 10).
Alice and Carol agree to sign a transaction. Bob is offline and is not part of this signing set.
Round 1: each picks two secret nonces and sends the matching commitments D and E. This round can be done ahead of time.
Each computes a binding factor ρ for each signer, from the key, the message, all commitments and the signer's id. The group nonce R combines the commitments with those factors.
Round 2: each sends a signature share z, built from its nonces, its key share, and its weight for this signing set.
z_A + z_C, together with R, is one signature. It checks against the group key 7·G like any single-key signature.
Look underneath
RFC 9591
# round 1, signer i (d_i, e_i) random nonces; D_i = d_i·G, E_i = e_i·G # after round 1, everyone ρ_i = H1( PK || H4(msg) || H5(commitment list) || i ) R = sum over signers of ( D_i + ρ_i·E_i ) c = H2( R || PK || msg ) # round 2, signer i z_i = d_i + e_i·ρ_i + λ_i·s_i·c # aggregate and verify z = sum of z_i; signature = (R, z); z·G == R + c·PK # each share alone: z_i·G == D_i + ρ_i·E_i + λ_i·c·Y_i
The RFC names a coordinator that collects commitments and shares; it can be one of the signers and is not trusted for unforgeability. Nonces are used once and then deleted. Round 1 can be precomputed, so a signer can be online only for round 2.
BIP445
The Bitcoin draft standardises the variant called FROST3 in the ROAST paper (Ruffing et al., 2022). It uses one binding factor b for all signers, as MuSig2 does: R = R1 + b·R2, where R1 and R2 are the sums of everyone's first and second nonce points and b hashes the signer ids, the aggregate nonce, the key and the message. Each partial signature is k1 + b·k2 + e·λ·d.
07 The weights
Each signer's share is multiplied by a weight that depends on who is signing, and the weighted shares add up to the secret
Two points recover a line, but adding two raw shares does not give the secret: 10 + 16 is 26, not 7. Each share has to be scaled first.
The scaling numbers are called Lagrange coefficients. They depend only on the x positions of the people signing, so everyone can compute them from public information. Multiply each share by its coefficient, add, and the result is the line's value at zero. FROST never does that sum directly. Each signer puts its weight into its own signature share, so the secret appears only inside the finished signature, the same way the private key appears inside an ordinary signature without being published.
The shares from section 04: Alice 10 at x = 1, Bob 13 at x = 2, Carol 16 at x = 3.
Alice and Carol are signing, so the signing set is the positions 1 and 3.
Each weight is a product of the other signer's position over the difference. Alice's is 3/2 and Carol's is -1/2.
Weighted and added, the shares give 15 - 8 = 7, the group secret.
In FROST each signer multiplies its weight into its own signature share. The sum of the shares contains 7·c, and the 7 is never written down.
A different pair gets different weights and the same answer. Alice and Bob use 2 and -1: 20 - 13 = 7.
Look underneath
λ_i = product over j in S, j != i, of x_j / (x_j - x_i) # mod n
S = {1, 3}: λ_1 = 3 / (3 - 1) = 3/2 λ_3 = 1 / (1 - 3) = -1/2
S = {1, 2}: λ_1 = 2 / (2 - 1) = 2 λ_2 = 1 / (1 - 2) = -1
"3/2" means 3 times the inverse of 2 modulo the group order, a 256-bit number; fractions are exact in a prime field.
Why the sum carries the secret: sum z_i = sum (d_i + e_i·ρ_i) + c·sum (λ_i·s_i) = r + c·s, where r is the discrete log of R and s the group secret, so z·G = R + c·Y, which is the Schnorr verification equation.
BIP445 numbers participants from 0 and uses id + 1 as the x position, so the secret is still at x = 0. It caps n at 128 as a security margin against adaptive forgery attacks.
08 On the chain
A FROST spend puts one 32-byte key and one 64-byte signature on the chain, the same as a single-key spend
The group key is an ordinary secp256k1 public key and the signature is an ordinary BIP340 signature. The chain has no way to know it was made by several people.
In a Taproot output, the FROST group key can be the internal key: tweaked as BIP86 or BIP341 describes and spent by the key path, with one signature in the witness. The tweak is applied to the group key, and the signers account for it when they combine shares. A script tree can sit behind it as usual. The result looks like a single-key Taproot spend, the same 57.5 virtual bytes for the input, whether the threshold is 2 of 3 or 11 of 15. Taproot explained covers the output type and the tweak.
Look underneath
x-only keys and even y
BIP340 publishes only the x coordinate of a key and of R, and takes the y coordinate to be even. A random group key or group nonce has odd y half the time. BIP445 handles this the way MuSig2 does:
g = 1 if Q has even y, else -1 # Q = group key after tweaks d = g · gacc · share # signer flips its share if needed k1, k2 negated if R has odd y # signer flips its nonces if needed s = k1 + b·k2 + e·λ·d
Tweaks
ApplyTweak(t): Q' = g·Q + t·G, gacc' = g·gacc, tacc' = t + g·tacc final: s = sum of partial sigs + e·g·tacc
RFC 9591's secp256k1 suite has none of this: it uses its own hash functions and full points, so its signatures do not verify as BIP340 signatures. That gap is what BIP445 exists to close.
09 Compared
FROST, MuSig2 and script multisig are different trade-offs between who must sign and what a spend shows
There are four common ways to put a coin under the control of three people.
A script multisig, old-style CHECKMULTISIG or Tapscript's multi_a, needs no setup beyond swapping keys, and every spend shows the policy, the keys and the signatures. MuSig2 needs every signer and shows one key and one signature. A Taproot output can also hold a tree of MuSig2 pairs: one pair as the key path, the other two pairs as script leaves. The usual pair spends with one signature; any other pair reveals its leaf, which tells an onlooker the coin had a script tree. FROST spends with one signature for any pair, at the cost of a key-generation ceremony and a newer, less tested protocol.
Look underneath
Script multisig in Tapscript
<A> OP_CHECKSIG <B> OP_CHECKSIGADD <C> OP_CHECKSIGADD 2 OP_NUMEQUAL
BIP342 removed OP_CHECKMULTISIG from Tapscript; OP_CHECKSIGADD replaces it. The witness carries a signature or an empty item for each key, then the script, then the control block.
MuSig2 pairs
internal key = MuSig2(A, B) # key path
leaves = pk(MuSig2(A, C)), pk(MuSig2(B, C))
For 2 of 3 this is three pairs, which stays small. For larger n the number of subsets grows fast (10 for 3 of 5, 252 for 5 of 10), which is where a threshold scheme starts to matter.
Accountability
Script multisig records on chain which keys signed. A MuSig2 leaf records which pair signed. FROST and a key-path MuSig2 spend record nothing about the signers, which section 11 comes back to.
10 Attacks
A cheating participant can stop a ceremony or a signing session, but cannot sign alone or learn the key
Three attacks matter. Each is answered by a part of the protocol already described.
A participant who sends a bad point during key generation is caught by the commitments of section 05, and the session stops before any coins are sent to the key. A signer who sees everyone else's nonce commitments first, and opens many signing sessions at once, could try to combine them so that the group nonce is something he chose. With plain nonces that works: Drijvers and others showed in 2019 that such concurrent attacks break naive two-round Schnorr multisignatures. FROST's binding factor makes each signer's nonce depend on the message and every commitment in the session, so changing any input changes the nonce it was meant to cancel. Finally, fewer than t participants hold fewer than t points, which fix nothing, so pooling their shares tells them nothing about the key.
Any t participants can sign anything, without the others, and nothing shows which t did it. That is the threshold working as designed. If Bob and Carol agree to take the coins, Alice cannot prevent it and cannot prove afterwards that it was them.
Look underneath
Nonce attacks
Drijvers, Edalatnejad, Ford, Kiltz, Loss, Neven and Stepanovs, "On the Security of Two-Round Multi-Signatures", IEEE S&P 2019, showed that an attacker running many sessions concurrently can use Wagner's generalised birthday algorithm to forge when the group nonce is a plain sum of nonces. The later ROS attack (Benhamouda et al., 2020) made that practical in polynomial time. FROST's per-signer binding factor, and BIP445's shared one, make the group nonce depend on a hash of all commitments and the message, which the security proofs rely on.
Nonce reuse
Signing two different messages with the same (d_i, e_i) gives two equations in one unknown and reveals the signer's share s_i. Implementations generate nonces fresh and delete them after use; BIP445 and RFC 9591 both say so.
Bad signature shares
A share that does not verify against Y_i identifies its sender, and the session can be retried with another signing set. A signer can still refuse to send round 2; ROAST (Ruffing et al., 2022) is a wrapper that keeps retrying until t honest, responsive signers finish.
"Fewer than t learn nothing" holds exactly for the shares themselves. For signatures it is a computational claim, under the assumptions of FROST's security proofs, with up to t - 1 corrupted signers.
11 The bill
FROST needs everyone at the start, separate backups for each share, a new key to change signers, and specifications that are still drafts
Key generation is a ceremony, and it needs all n participants online and correct at the same time. One absent or faulty participant stops it.
Backups are different too. A share is not the same as a BIP39 recovery phrase: ChillDKG has each participant back up a long-term host secret key, which can come from a seed, plus the session's recovery data. Losing more than n - t shares leaves fewer than t, and the coins cannot move. Changing who holds shares, or the threshold, means a new key generation and so a new key, and a transaction to move the coins to it. Nothing on the chain records which participants signed, which is good for privacy and bad for accountability. Finally, FROST for Bitcoin is not finished: RFC 9591 was published in 2024 but is not BIP340-compatible, and the Bitcoin drafts for signing and key generation are still open proposals.
Look underneath
Specification status, October 2026
- RFC 9591, June 2024, Informational (IRTF CFRG). Ciphersuites: Ed25519/SHA-512, ristretto255/SHA-512, Ed448/SHAKE256, P-256/SHA-256 and secp256k1/SHA-256. Key generation is out of scope; a trusted-dealer method is in an appendix.
- BIP445, FROST signing for BIP340, an open pull request on the BIPs repository. Supports
1 <= t <= n <= 128, x-only and plain tweaks. - ChillDKG, an open draft BIP from Blockstream Research. Its own to-do list includes more test vectors and alignment with BIP445; the test vectors may still change.
- Experimental code: a FROST module proposed for
secp256k1-zkp, Jesse Posner's FROST-BIP340, andsecp256kfun's FROST with ChillDKG.
Backups in ChillDKG
Per participant: the host secret key and, for each session, the recovery data. Recovery data holds secrets only in encrypted form and need not be kept confidential, but it reveals the session's parameters, so it is a privacy concern. The draft warns against sending funds to the key before every participant considers the session successful.
Resharing
Protocols exist in the literature that refresh or redistribute shares while keeping the same public key. ChillDKG does not specify one: replacing participants means a new session and a new threshold public key.
What did not get traded away
The chain still verifies one signature against one key and enforces everything with that. A group of any size, with any threshold, spends at the cost and with the footprint of one person. Before Schnorr, a threshold was announced in a script on every spend.
One threshold key, end to end
Points on a secret line, two rounds, one signature
- The scheme
- FROST (Komlo and Goldberg, 2020): any t of n produce one BIP340 signature for one key.
- The shares
- Points on a polynomial with t coefficients; t points recover it and fewer reveal nothing.
- The setup
- Each participant deals its own polynomial and the shares are summed, so the group secret exists nowhere.
- The checks
- Public commitments to each polynomial let every participant verify its point.
- The signing
- Nonce commitments, then signature shares weighted by Lagrange coefficients, with binding factors against nonce attacks.
- The chain
- One 32-byte key and one 64-byte signature, usable as a Taproot internal key.
- The bill
- An all-hands ceremony, per-share backups, a new key to change signers, no record of who signed, and draft specs.
Alice, Bob and Carol are labels for three participants with x positions 1, 2 and 3. The line 7 + 3x, the dealers' lines and every share are small integers chosen so the arithmetic can be checked by hand; real values are 256-bit numbers modulo the secp256k1 group order. Formulas follow RFC 9591 (binding factor, group commitment, signature share, Lagrange coefficients) and the BIP445 draft (FROST3 variant, even-y handling, tweaks, the 128-participant cap); key generation follows the FROST paper (IACR ePrint 2020/852) and the ChillDKG draft. Draft details were read from the open BIPs pull requests and their development repositories in October 2026, and they are the part of this page most likely to change, including BIP445's handling of adaptive security, which its ChillDKG sister draft lists as unresolved. The 57.5 vB input size is BIP341's key-path figure. OnlyBits does not implement FROST; nothing here describes the app. Taproot explained covers the output a FROST key would sit in, and Shared wallets explained covers the n-of-n MuSig2 design OnlyBits uses instead.