# Experimental project builds quantum-resistant Bitcoin spending schemes

Espresso Systems has published an experimental project that implements two approaches to spending Bitcoin without relying on conventional signatures that could be threatened by a sufficiently capable quantum computer. The Practical Quantum Safe Bitcoin repository includes a research paper, runnable software, benchmark records and Lean formalizations of its mathematical claims.

The project offers separate designs for legacy Bitcoin Script and SegWit v0. The SegWit version uses a pay-to-witness-script-hash lock with added “pins,” while the legacy version assembles a lock from a nonce component and three subset components over a shared collection of secrets. Both are designed to work through scripting facilities that already exist rather than requiring the Bitcoin network to adopt a new signature algorithm first.

That compatibility comes with substantial operational complexity. Every payment requires a fresh set of secrets and therefore a new vault. The supplied builder keeps track of those vaults and can be used through a browser page or terminal, but the commands execute locally. The repository says users need Python 3.12 or later, a C compiler and Rust; optional GPU acceleration requires an NVIDIA CUDA setup.

The SegWit construction is intended to produce standard transactions that nodes can relay. Listed configurations use scripts with 201 operations and spends of roughly 1,060 to 1,076 virtual bytes. The repository describes security levels in terms of the classical work required for forgery and provides benchmark figures for an RTX 5090, an Apple M3 GPU and four Intel Xeon CPU cores. Some higher SegWit settings use eight positions and six pins, trading computation against the selected security target.

The legacy construction has different constraints. Its transactions are described as nonstandard and must be submitted directly to a miner. Scripts approach 10,000 bytes and use 198 or 199 operations. These characteristics make the work a technical demonstration and specialised vault mechanism, not a drop-in replacement for ordinary Bitcoin wallets.

The developers provide a regtest workflow that creates a private Bitcoin environment, funds a vault, searches for a valid spend, checks it through Bitcoin Core’s consensus library and mines it. They strongly caution users to test there first. The repository labels the software experimental, advises against risking coins users cannot afford to lose and recommends starting with only a small amount if moving beyond regtest. Secret material is stored locally, must not be shared and is intended for a single spend.

The release is relevant because it explores a transition path using current network rules, but it does not establish that the approach is ready for general custody. Its computation requirements, one-use secret handling, transaction size and legacy relay restrictions remain meaningful tradeoffs. The included code and benchmarks allow researchers to inspect those tradeoffs directly rather than evaluating only a theoretical proposal.