Claim. Before a soft fork, wallets cannot safely "pre-commit" a post-quantum leaf in Taproot. Any leaf that uses a not-yet-defined opcode (OP_SUCCESSx) or an unknown leaf version is anyone-can-spend under today's consensus rules.
I demonstrated this on Bitcoin Core v32.1.0 regtest:
- Funding: a P2TR output with the BIP-341 NUMS internal key and a single leaf
<32-byte "PQ" pubkey> OP_SUCCESS187. This is the shape of a future OP_CHECKSIGPQ leaf. - Spend: the witness was only [leaf script, control block]. No signature.
- Relay policy rejected it: testmempoolaccept said "OP_SUCCESSx reserved for soft-fork upgrades".
- Consensus accepted it:
generateblockmined it. Spend txid d7998ffb2dbff89341bb81f06a7dfdda0d98484f716a1151e3e8933f3c97a580, 100 vB.
So anyone who learns the leaf can take the coins with no key, through a cooperating miner. Ways to learn it include a leaked backup or descriptor, a PSBT, a co-signer, or a standardized and guessable leaf. Corallo's advice to "be set up to sign in tapscript paths" is preparation, not protection.
What does work today without a fork.
- (1) Hash-hidden outputs and no reuse. 5,284,152 BTC sit in reused addresses (22.9M outputs; ellipticcurve.net EC-M1, block 978,834), and one sweep to fresh P2WPKH/P2WSH removes long exposure for them.
- (2) Move cold coins out of Taproot. 201,221 BTC in 6.57M P2TR outputs have their output key Q on chain from creation. A NUMS internal key does not help, because a discrete-log solver gets Q's key and spends by key path.
- (3) For short exposure as well: hash-based locks in legacy bare script, such as Fireblocks' PQB and StarkWare's QSB, built on Robin Linus's Binohash.
- PQB claims NIST PQC Level 1 (2^128.1 classical, 2^64.05 Grover).
- Costs: a 4,696-byte locking script, a spend of about 1,510 to 1,593 vB, and about 8 RTX 4090-hours (about $3) of grinding.
- It must go miner-direct, because it breaks four relay policy rules. It is one spend per lock, with no RBF or CPFP.
- On mainnet, QSB spends 305a24ff... and fb46f609... each count 24 legacy sigops (my count), well under BIP-54's 2,500 limit. The Consensus Cleanup does not break this family. PQB's own limits section says CONST_SCRIPTCODE, NULLFAIL, STRICTENC and CLEANSTACK "must not become consensus".
What argues against.
- (1) and (2) do nothing for P2PK (1.70M BTC) or for lost keys, and every spend still exposes the key in the mempool for about 10 minutes.
- (3) is non-standard and miner-dependent. It bloats the UTXO set (QSB's lock scriptPubKey is 9,923 bytes) and would be broken by any future consensus rule that tightens those flags.
- The demo assumes the leaf becomes known. A truly secret leaf in a single-sig wallet is not spendable by strangers, but then it gives no protection beyond the hidden key it sits behind.