On December 4, in block 980,254, Bitcoin Cash nodes accepted a spend authorized by a post-quantum signature. No rule had to change: the spend was validated under the ones already in effect. The signature was verified by a contract written in Bitcoin Script.
That same week, Bitcoin-BTC went from about USD 59,500 to as low as USD 40,700. I want to tell both stories together, because the first one explains why the second doesn’t keep me up at night.
The week of the scare
On November 30, Anthropic published theoretical results on lattice problems, the mathematics behind several post-quantum schemes. Two days later, the NSA urged U.S. national security systems to accelerate their migration, and eight technology companies backed the call. The agencies’ joint assessment said the threat was neither immediate nor widespread. On December 5, Anthropic and OpenAI clarified that the advisory was a response to other findings, shared privately, that do not affect NIST’s post-quantum standards.
Nobody said Bitcoin’s signatures were broken. But “cryptography” and “urgent” showed up in the same sentence, and over those same days the price fell.
The question that remains
Behind the noise there is a fair question. Funds on Bitcoin are protected by elliptic-curve signatures. What happens to them the day someone can forge those, whether with a quantum computer or with a mathematical advance?
The reasonable answer is to be able to move them, before it is needed, to a protection of a different kind. On Bitcoin Cash that can already be done.
What pat did
pat (@mainnet_pat), a Bitcoin Cash developer, wrote a SPHINCS+ signature verifier in Bitcoin Script, sent 20,000 satoshis to an output protected by it, and then spent them. The contract is complex, as you would expect from a signature verifier written entirely in Script, but it does what matters: it protects the funds even if elliptic-curve signatures can one day be forged.
The output stores only the hash of the contract, a P2SH32. Spending it takes the contract and a signature that the contract accepts. That same day pat shared a second spend that applies the technique to CashTokens.
Three capabilities the Bitcoin Cash VM gained over the years made this possible: introspection, which lets a contract read the transaction that spends it, and functions and loops, which let it repeat thousands of steps without writing each one out.
Why SPHINCS+
There are several families of post-quantum signatures. The November 30 results are about one of them, the one that rests on lattice problems.
SPHINCS+ belongs to another: its security depends on a hash function and nothing else. In this contract that function is SHA-256, the one Bitcoin Cash has used since the first block to mine and to identify transactions. If SHA-256 fell, Bitcoin Cash would have a much bigger problem than signatures. So this protection asks us to trust nothing we don’t trust already.
It is also the basis of one of NIST’s post-quantum standards, the same standards that, according to Anthropic and OpenAI, are unaffected.
How the contract verifies
The contract does two jobs.
It rebuilds the signed message. It reads the transaction that is spending it, with its inputs, its outputs and its amounts, and builds from them the same digest a wallet would sign. Change who gets paid or how much, and the message changes and the signature is useless.
It verifies the signature. Picture a tree of fingerprints. The public key contains the fingerprint of the root. The signature carries the pieces needed to get from the message to that root: 14 small trees that sign the message and, above them, 7 layers of trees, each one signing the one below. The contract chains SHA-256, layer by layer, until it is left with a root. If it is the one in the public key, the spend is valid.
You don’t have to take my word for it. The Knuth Script IDE ships this spend as an example, commented section by section. It runs the BCH VM in the browser, and you can step through it one instruction at a time while watching the stack. The Knuth interpreter validates the spend, and our mainnet node accepted the block that includes it.
What is missing
Today this protection belongs to whoever can build the transaction by hand. For it to reach everyone, wallets need to create the keys, move the funds, and offer a way to back them up and recover them.
The next step: hybrid signatures
CHIP-2026-06, by mainnet_pat and bitcoincashautist, proposes bringing this into the protocol. A CHIP is a public proposal to improve Bitcoin Cash, which the community reviews and tests before adopting it.
The idea is a compound key: a secp256k1 key and a SPHINCS+ key, together. Spending would take both signatures, and both would have to verify. Whoever breaks one would still have to break the other. The node would do the verification in native code, and the compound key would work with the most common output format, the one that stores the hash of a public key. The proposal can already be tested on PQ-Tempnet, a temporary network.
We’re working on an experimental release of Knuth, our Bitcoin Cash full node and set of libraries, that implements this proposal. Hybrid signatures are an improvement: they make this protection simpler to use and cheaper to validate. But the protection does not depend on them. Today, under the current rules, we already have it.
Why I’m calm
This week’s panic came from not knowing: what had been found, who was affected, how much time was left. On Bitcoin Cash that uncertainty weighs less, because there is no one to wait for to protect funds: whoever wants to can move them today.
While people argued about whether to migrate and when, one person published a contract and the network ran it. It took no one’s permission and no change of rules. That is what a capable VM gives you: that same week there was already a real spend, with real money, that anyone can verify.
Hybrid signatures will make this protection more convenient. But the important part has already happened. If we ever have to change how we protect funds, on Bitcoin Cash we won’t be starting from scratch.
Comments are hosted by Disqus. Load them to join the conversation.