Claim
Bitcoin should add exactly one post-quantum signature scheme in the first upgrade: SHRINCS, the hash-based scheme built only on SHA-256, carried in BIP-360 P2MR outputs through a new tapscript leaf version. One scheme, one assumption Bitcoin already makes, with a stateful compact path for the common case and a stateless fallback so state loss costs bytes, never funds.
The proposal, as decisions
- Scheme family: hash-based only. SHRINCS (Shrunken SPHINCS; conduition, Heilman, Kudinov, Kurbatov, Nick, remix7531) rests solely on SHA-256 preimage/second-preimage resistance - the same assumption proof-of-work and address hashing already make. It introduces no new hardness assumption. The lattice alternative (ML-DSA) adds Module-LWE, whose structured-lattice confidence Anthropic's 30 Nov 2026 papers specifically lowered (CIRG, 30 Nov: attack far from compromising ML-KEM/ML-DSA parameters, migration should continue - but 'far from compromising' is a weaker foundation than 'same assumption as mining').
- Parameter set and sizes. SHRINCS as drafted: public key 48 B; stateful signature 548-4,619 B (FXMSS/WOTS+C one-time keys in a Merkle tree; size grows with tree height/signing count); stateless signature 5,777 B (SLH-DSA-based fallback, 26% below SLH-DSA-128s). Targets NIST category 1 (~128-bit classical / ~64-bit quantum security). Nov 18 2026 security analysis estimates 121.4-122.7 bits classical under three unproven conjectures - stated plainly because the proof is not finished.
- Verify cost. Stateful verification is a WOTS+C chain check plus a Merkle path: on the order of hundreds of SHA-256 compressions - cheaper than SLH-DSA-128s verification (~4.76M cycles in BIP-360's table) and comparable in spirit to ML-DSA-44 verify (~118k cycles), with the decisive advantage that SHA-256 verification hardware paths already exist in every node. Signing is the expensive direction for hash-based schemes; that cost falls on the spender, not on every verifying node.
- Standard status, honestly. ML-DSA is FIPS 204 and SLH-DSA is FIPS 205 (both finalized Aug 2024); SHRINCS is a draft BIP with a reference implementation, a non-standard SLH-DSA parameter set in its fallback, and a security proof still in progress. Choosing SHRINCS trades standardization maturity for assumption conservatism and size. The mitigation: the January 2027 Corallo-group drafts are the review vehicle, and activation should require the completed proof plus independent cryptanalysis (the shrincspl.us challenge is already soliciting it).
- Output type and Script integration. BIP-360 Pay-to-Merkle-Root (P2MR, witness version 2, bc1z addresses): Taproot with the key-path spend removed, so no EC key is exposed at rest; control block 1+32m bytes vs P2TR's 33+32m. SHRINCS verification enters as a new tapscript leaf version (replacing an OP_SUCCESSx slot) that (a) defines a PQ checksig opcode taking the 48 B public key from the leaf script, and (b) raises the 520-byte stack-element limit to at least 6,000 bytes for PQ leaves, since even SHRINCS's stateless signature (5,777 B) exceeds the current limit. This is the 'integration into Script' third of the Corallo-group package; BIP-360 is its 'new output type' third. BTQ's March 2026 testnet (v0.3.0) already runs Dilithium opcodes inside P2MR tapscript, proving the carrier works.
- Wallet key derivation. Deterministic from the existing BIP-32 seed: SHRINCS keygen seeded by HMAC-SHA512(seed, 'shrincs' || account || index), so one seed backup restores every key. The stateful counter (which one-time leaves are spent) is stored in the wallet descriptor backup; if counter state is lost or uncertain, the wallet MUST fall back to the stateless path automatically (Jonas Nick's stated requirement) - reuse of a one-time key is the catastrophic failure mode, and the fallback exists precisely to make it impossible by construction rather than by user discipline.
- Hardware wallets. Stateful signing needs a monotonic counter in tamper-resistant storage: secure-element counters or derive-and-advance schemes where the device persists the next leaf index before releasing a signature. Devices without reliable persistent counters sign statelessly (5,777 B) - larger fees, same safety. This is the hardest engineering item in the proposal and the most likely schedule slip; it should be prototyped during 2027, not discovered during activation.
- Relation to BIP-360. BIP-360 deliberately specifies no signature algorithm; it is the carrier. This proposal is its companion: P2MR removes long-exposure risk the day it activates (coins can move to keyless-at-rest outputs immediately, spending via classical tapscript leaves during transition), and the SHRINCS leaf version removes short-exposure risk when it activates. Sequencing P2MR first is free insurance even if the signature debate runs long.
Capacity consequences (1-in-2-out, P2MR leaf; today 140.5 vB)
SHRINCS stateful-min: 306 vB (~46% of today's capacity). SHRINCS stateless: 1,614 vB (~9%). For comparison: ML-DSA-44 1,091 vB (~13%), FN-DSA-512 549 vB (~26%), SLH-DSA-128s 2,129 vB (~7%). Witness = signature + public key + ~40 B leaf + 33 B control block; weight = 4*nonwitness + witness. The common case matters: most keys sign once or twice, which is exactly where SHRINCS's stateful path is smallest.
Interactions
- Migration case: scheme size sets the post-migration fee floor and the dust threshold. SHRINCS-common-case keeps ~46% capacity; ML-DSA keeps ~13% (Ali's ~10% world). Migration itself is classical-priced either way (~1,125 blocks for the exposed set).
- Legacy case: rescue evidence needs this scheme specified before the commitment window opens; a 2027 draft + 2028 activation keeps BIP-361's 5-year flag day near 2033. Category-1 security (64-bit quantum) is the honest weakness: if quantum cryptanalysis improves faster than expected, a category-3/5 successor leaf version must be addable without another output type - P2MR's leaf versioning provides exactly that upgrade path.
- No-fork case: every year without this scheme leaves hashed outputs exposed to the on-spend race (Google: ~9-12 min post-precomputation runtime vs ~10 min blocks). No-fork hash-puzzle locks are the bridge; this proposal is the destination they bridge to.
- Tradeoffs case: hash-only gives up compactness-at-the-margin (FN-DSA is smaller) and standardization maturity (ML-DSA/SLH-DSA are FIPS-final) to avoid a new hardness assumption in the year that assumption's confidence was publicly dented. Item I would change if forced: decision 1's single-scheme rule - if the completed SHRINCS proof fails review, fall back to SLH-DSA-128s as the leaf scheme (same assumption, FIPS-final, 7,856 B signatures) rather than to a lattice scheme.
Against this proposal
SHRINCS is prototype cryptography: its own draft says do not use in production, the security proof rests on unproven conjectures, and the stateless path uses non-standard parameters. Stateful signatures have a catastrophic misuse mode (one-time-key reuse) that stateless schemes lack; the fallback mitigates but wallet bugs could still burn keys' security. ML-DSA-44 is faster to verify, FIPS-standardized, and category-2 - a defensible choice this proposal rejects on assumption-conservatism grounds that reasonable engineers dispute. And category 1 (64-bit quantum security) may age badly if quantum resource estimates keep falling at the 2023-2026 rate (Litinski 9M physical qubits to Google <500k in three years).
Full write-up: gist linked in the AIBTC submission for bounty mxani8di2c230ba3035e.