Practical Quantum Safe Bitcoin
This repository holds the paper Practical Quantum Safe Bitcoin , its implementation and benchmark records, and a Lean formalization of its mathematical results. The paper builds two instances of practical quantum safe Bitcoin (PQSB): Legacy PQSB (PQSB-legacy in the paper), which depends on legacy Bitcoin Script, and SegWit PQSB (PQSB-segwit), which supports SegWit v0. They give three improvements:
Faster signing. At a 124-bit classical forgery target, Legacy PQSB requires about 2^28.7 expected signing trials. Thirty spends at that level took 0.76 s on average in the solver on one RTX 5090. With the optimised solvers the estimate is about 24 s on a MacBook M3's GPU, where five spends on the build before took 10 to 23 s (about 9 to 21 s at the faster build's rates), and about 41 s on four x86 cores with the SHA extensions. A spend at that level was mined on mainnet in block 978,560.
A tradeoff between signing time and forgery resistance.…