Hi all,
I'd like to share a draft design and get feedback. It is not a BIP and nothing formal, just a draft I want to discuss. I'm an experienced programmer, but I don't have much experience in Bitcoin development. I used Claude to research prior work, review the design and write the text. English is not my first language, so I also used it to translate.
Full draft:
Native Merkle Commitments for Hash-Protected OutputsWhat you can do todayIf ECDSA/Schnorr keys become recoverable from public keys, by a quantum computer or by a classical break, coins whose public key is already visible are at risk. Coins whose key has never been revealed are still protected by the hash in the address. So, today, with no soft fork:
- Move your coins to a fresh address whose key has never been revealed: SegWit (bc1q...), wrapped SegWit (3...) or legacy (1...). Taproot (bc1p...) does not qualify: its key is visible in the output.
- Use one UTXO per address, or spend all of an address's UTXOs together.
- Never reuse the address or share its xpub. Don't spend until you need to.
Coins kept like this cannot be targeted while they stay there. The catch is the later spend: spending reveals the public key in the mempool, and a fast attacker could race you. That is what a rescue protocol has to solve, and this draft proposes one. Any similar commit/reveal protocol (Lifeboat, DropKick and others) relies on the same unrevealed key, so the step pays off whichever is adopted.
The proposal, in short- You sign your spending transaction and keep it private. You relay only a commitment to its wtxid, as a new P2P message with a small proof of work. It moves no coins and pays no on-chain fee.
- Miners put a Merkle root of all commitments in the coinbase.
- After an activation height, these outputs can only be spent with a Merkle proof that the transaction was committed at least N blocks earlier (N = 100 as a working value). An attacker who learns your key when you broadcast starts N blocks behind.
- Proofs go in a new block area (the "Merkle area"), outside txid and wtxid, so outputs and transactions stay as they are. Wallets must update, but no coin becomes unspendable for its owner.
- Fee bumping works by pre-signing several fee variants under one commitment.
Known weak points (open questions in the draft): miner incentive, censorship at spend time, bandwidth for distributing commitment lists, and Lightning/time-locked contracts, which this scheme does not protect.
Feedback is welcome, including "this was already proposed" or "this can't work because...".
Thanks,
Lucas Jorge Jeffrey