Pathway: OneShot-P2WSH. What a wallet can do this quarter with no consensus change: carry coins in P2WSH (bc1q, witness v0) so that no public key exists on chain for an unspent output and no key path exists to steal; spend every output from a one-shot key; use the hash-lock script (OP_SHA256 <sha256(preimage)> OP_EQUAL) where a spend must be quantum-resistant today; and embed a 32-byte hash of a post-quantum public key inside the committed script as a pre-registration for a future fork. Cost +12 vB per input (+11 %). It buys long-exposure protection for coins that move from now on and nothing else — no PQ signature, nothing for short exposure, nothing for the >34 % of supply whose keys are already published. That is the honest ceiling, and the demo below shows exactly where it is.
Decisions
- Carrier — P2WSH, not taproot. The scriptPubKey is
OP_0 PUSH32 sha256(witnessScript): no public key on chain, no key path, so nothing to solve until a spend reveals a key. SegWit active since 2017, universally relayed, same address type every wallet already accepts. The popular "taproot script path only / NUMS internal key" answer does not work without a fork: a P2TR output isQ = P + t·G, a real point, and a CRQC solves its discrete log and spends via the key path, bypassing the script. BIP-360's own table lists P2TR as long-exposure vulnerable and P2WSH as not. - Commit-reveal is already the primitive. The 32-byte program is the commitment; the witness carries the reveal. Nothing to add to Bitcoin; the practice only changes *when* the reveal happens (once, in the spending transaction).
- Cost (1-in/1-out, from
numbers.py): P2WPKH 438 WU / 110 vB; P2WSH<33-byte pk> OP_CHECKSIG488 WU / 122 vB (+12 vB, +11 %); P2WSH hash-lock 448 WU / 112 vB. - One output, one key, one spend. The gain vanishes if a key signs twice: spend #1 publishes the key in the mempool and every later output behind it becomes short-exposure fodder. Per-UTXO keys, fresh change, a wallet that refuses to receive to a used script. This is also the prerequisite for the
signaturescase's most compact parameter set (SHRINCS q≈1). - Hash-lock spend — the one quantum-resistant construction available today. Script
OP_SHA256 <sha256(preimage)> OP_EQUAL, witness[preimage, script], no signature and no elliptic-curve operation anywhere. Security = SHA-256 preimage resistance (2^256 classical, 2^128 under Grover). Protects that transfer; does not authenticate receipt, the preimage is public in the mempool so the output can be raced or replaced, single use only — a bearer token, not an account. 100 vB in the demo (appendix of the gist), i.e. cheaper than a P2WPKH spend. - Pre-registration inside the committed script:
<sha256(pq_pk)> OP_DROP <33-byte pk> OP_CHECKSIG— +34 bytes inside the script (revealed only at spend), output stays 34 bytes, address staysbc1q. Buys an on-chain, timestamped, spender-authenticated claim that the owner also controls PQ key K, usable by a migration or BIP-361-style rescue that cannot verify a PQ signature today. Buys no spending rights: the fork has to honour it. Lineage: the commit/reveal family in BIP-360's Related Work (Fawkescoin variants 2018/2025, Dryja's "Lifeboat"). - Consolidate now. Migration is priced per UTXO: 200 vB each under SHRINCS, 985 vB each under ML-DSA-44. Consolidating k P2WPKH inputs costs 178/382/722/3,442 vB for k = 2/5/10/50 and saves 1.12×/2.10×/2.50×/2.85× (SHRINCS) or 5.54×/10.32×/12.28×/14.03× (ML-DSA-44) of that later. The only no-fork action that changes the total work a future migration needs.
- Never publish an xpub or a descriptor containing public keys. An xpub derives every child pubkey arithmetically, so a CRQC reading it recovers every key in the account at once, before any spend. Export fingerprints, keep watch-only off-chain, per-account seeds. BIP-360's glossary names xpubs and descriptors explicitly.
- What is impossible without consensus (measured): no general PQ signature verification in Script — a WOTS/Lamport verifier needs a message-dependent number of hashes against a message-dependent commitment, which requires either
OP_CAT(BIP-347) or sighash introspection (CAT/TXHASH), both unactivated; without them only a *pre-signed* path can be committed, which is just a pre-signed transaction that inherits ECDSA exposure. No rescue for exposed keys. No defence in the mempool window. No fix for taproot outputs.
Interactions
- signatures: supplies that case's best numbers (q≈1 ⇒ 548 B) and its migration of ownership evidence (32-byte commitment over a 48-byte pk); requires from it the opcode and a key-path-free output type; rules out nothing, costs it nothing on chain.
- migration: consolidation is 2.5–12.3× cheaper now than moving the same UTXOs later; but P2WSH as default carrier costs +9 vB per UTXO (77 vs 68 vB) — the one place this pathway is not free.
- legacy: complete failure, stated plainly: 34 % of supply, including the earliest P2PK coins, cannot be protected by any practice because the keys are already public; BIP-361 is the only mechanism that reaches them and it needs the signatures case first.
- tradeoffs: zero consensus changes, wallet-level engineering in weeks, against 22–25 months for taproot (public drafts 2019–2020 → activation block 709,632 on 2021-11-14) and 2028–2029 for the January-2027 drafts. Against Ali's two-year clock this is the only thing that exists during the window he names.
- Corallo's advice (be able to sign in tapscript paths, integrate SLH-DSA/SHRINCS) is only literally available after P2MR activates; the no-fork version is: be able to spend hash-committed scripts now and build the PSBT/descriptor plumbing for 48-byte keys and multi-KB signatures now.
- Ali's 10 % reproduces at 10.6 % for ML-DSA-44 (1,039 vs 110 vB) and 43 % for SHRINCS (254 vB); this pathway changes neither, which is why it cannot substitute for the fork.
- What I would change: item 6. If pre-registration creates false assurance or is ignored by the eventual fork, drop it and keep items 1–5 and 7–8. Item 1 is not negotiable — every other item depends on there being no public key on chain.
What argues against it
Practice has already failed at scale: >34 % of supply has a published key (BIP-361), exchange deposit addresses are reused by design, users restore seeds. A pathway whose enforcement mechanism is behaviour change is the weakest in the corpus. It buys the least urgent protection — long exposure only; if a CRQC can attack inside the mempool window, none of this matters. It costs +11 % per input and breaks static deposit addresses that custodians depend on, and P2WSH receive is not a wallet default. The hash-lock demo is a party trick once the preimage is public (race, RBF) and must not be sold as a wallet. The pre-registration commitment has no consensus meaning today and adds a linkable on-chain fingerprint. And a "no-fork pathway" on the list may make the upgrade look less urgent when nothing here changes the fate of 34 % of the supply.
Working demo (real regtest transactions, raw hex, BIP-143 validated against the spec's own native-P2WSH vector) and all arithmetic: in the gist linked as this entry's content.