PQRBTC Download

PQRBTC: A Post-Quantum Ready Peer-to-Peer Electronic Cash System

Akira Kōshi Draft 0.1, December 2026


Abstract

Bitcoin showed that electronic cash can work without a trusted third party: a peer-to-peer network timestamps transactions into a proof-of-work chain that nobody controls and nobody can rewrite without redoing the work. Two problems now limit that design. First, its signatures rest on elliptic-curve cryptography, which a sufficiently large quantum computer can break, exposing every coin whose public key is known. Second, a payment needs many minutes to become safe, and the network settles only a few transactions per second, so Bitcoin is rarely used to pay in a shop. We propose a system that keeps Bitcoin's monetary rules, proof-of-work and self-custody unchanged, replaces its signatures with standardised post-quantum schemes from the first block, and makes the chain itself fast. Miners hash as in Bitcoin, but each hash is judged against two thresholds: an easy one that yields a light block about ten times per second, and a hard one that yields an anchor block about every ten minutes. Light blocks form a directed acyclic graph that confirms payments within seconds; anchor blocks settle them and are the only blocks that create coins. After five seconds, a payment has about fifty proof-of-work confirmations and is safer against an attacker of any size than a Bitcoin payment after six confirmations. Every anchor block commits to the total supply, so anyone can verify at any time that no more than 21 million coins exist.


1. Introduction

Commerce on the Internet still relies almost entirely on financial institutions acting as trusted third parties. Bitcoin [1] removed that need for electronic cash by replacing trust with cryptographic proof and proof-of-work. Its design has held for more than seventeen years. We do not propose to change what makes it work: a fixed supply, an issuance schedule known in advance, proof-of-work consensus, and owners who hold their own keys.

Two developments make a new chain worthwhile.

The quantum threat. Bitcoin's ownership rests on the hardness of the discrete-logarithm problem on the curve secp256k1. Shor's algorithm [2] solves that problem in polynomial time on a large enough quantum computer. Anyone with such a machine could compute the private key for any public key that has appeared on the chain, and millions of bitcoin already sit in such outputs. Upgrading Bitcoin requires worldwide agreement, a new output type, and every owner moving their coins; coins that are not moved stay exposed. In 2024 NIST published standards for post-quantum signatures [3][4]. A chain that uses them from its first block never has exposed coins to migrate.

Payments. A Bitcoin payment waits about ten minutes for one confirmation and up to an hour for six, and the network carries about seven transactions per second. Payment layers built on top require users to manage channels, liquidity and online monitoring; in practice many users hand that to custodians, giving up the self-custody the system was built for.

PQRBTC addresses both problems in the base protocol. Its priorities, in order, are: security, self-custody, a fixed supply, fast and scalable payments, and privacy. When two goals conflict, the higher one wins.

2. Transactions

As in Bitcoin, an electronic coin is a chain of digital signatures. An owner transfers a coin by signing a hash of the previous transaction and the next owner's public key. A payee verifies the signatures to verify the chain of ownership.

PQRBTC uses no elliptic-curve signatures in consensus. Each output is locked to a commitment to a post-quantum public key:

Outputs carry a version number, so that new schemes can be added later without invalidating existing coins. The most likely candidate is FN-DSA (Falcon), whose signatures are about 2.5 times smaller, once its standard is final and constant-time implementations have matured.

Revealing a post-quantum public key does not weaken it, unlike an elliptic-curve key facing a quantum computer. This allows two savings (section 10): a key that has been revealed once can be referenced by a short index, and inputs locked to the same key can share one signature.

As in Bitcoin, the payee cannot see from the signatures alone whether an owner has spent the same coin twice. The system must make the order of transactions public and agreed. That is the purpose of the rest of this design.

3. Timestamp Server

The solution starts, as in Bitcoin, with a timestamp server [5][6]: it takes the hash of a block of items, publishes the hash widely, and so proves that the items existed at that time. Each timestamp includes the previous timestamps in its hash, forming a chain in which each additional timestamp reinforces the ones before it.

PQRBTC generalises the chain to a directed acyclic graph (DAG): a block may include the hashes of several earlier blocks. A block therefore timestamps everything in its past, meaning all blocks reachable through its references.

4. Proof-of-Work

Timestamps are made with proof-of-work exactly as in Bitcoin: miners search for a nonce that makes the double SHA-256 hash of a block header fall below a target. SHA-256 is not threatened in the same way as elliptic curves. Grover's algorithm [7] speeds up a brute-force search only quadratically, and proof-of-work remains a competition among the participants, all of whom have access to the same technology.

Every hash is compared with two targets:

The header hash is belowThe block is aExpected intervalIt carries
the light target $T_L = 6000 \cdot T_A$light block~0.1 secondstransactions, fees, the block reward
the anchor target $T_A$anchor block~10 minutesthe same, plus the fee pool and the ten-minute clock

A hash below $T_A$ is automatically below $T_L$, so every anchor block is also a light block. Miners do no extra work: the same search produces both kinds of block, and the ratio between the targets fixes their relative frequency.

The header is Bitcoin's own 80-byte format, byte for byte. Every SHA-256 mining machine ever built, from a 2016 Antminer S9 to the newest, can mine PQRBTC through an ordinary stratum connection with its stock firmware. The header's "merkle root" field commits to the PQRBTC block body (parents, transactions, state commitment) in exactly the way a stratum miner already computes a merkle root.

The difficulty is recomputed for every block with ASERT [16], the algorithm Bitcoin Cash has used since 2020: each block's target follows from how far the network runs ahead of or behind an ideal schedule of ten blocks per second, with a half-life of ten minutes. The anchor target is always the light target divided by 6000, so anchor blocks average ten minutes.

Proof-of-work decides the majority, as in Bitcoin: the valid history is the one with the most blue work in it. Every block counts the work of the light target it was mined at, anchor blocks included. Counting an anchor as 6000 light blocks would let a lucky anchor outweigh a minute of honest blocks, so PQRBTC does not: the anchor sets the ten-minute rhythm, it is not extra weight in the vote.

5. The Block DAG (Hikari)

At ten blocks per second, miners regularly find blocks before earlier ones have reached them. In a single chain, all but one of such parallel blocks would be discarded, wasting work and favouring the best-connected miners. PQRBTC keeps them all, an approach we call Hikari (光, "light"):

  1. Each new block references all current tips of the DAG known to its miner.
  2. A deterministic ordering algorithm, based on GHOSTDAG [8], derives a single total order of all blocks, and so of all transactions, from the DAG. Blocks that the honest network produced in parallel are all well connected and are ordered first; blocks withheld by an attacker are poorly connected to the rest of the DAG and fall behind.
  3. If two transactions conflict, the one earlier in the total order is valid and the later one is void. A block containing a void transaction remains valid; only that transaction is ignored.
  4. Anchor blocks finalise the order. Everything in the past of an anchor block is settled in the order the anchor block determines, and the fees it collects depend on it.

The chosen DAG is the one with the most accumulated proof-of-work, counting light and anchor blocks alike. Reversing a confirmed payment therefore requires producing more proof-of-work than the honest network has produced since that payment, which is the same requirement as in Bitcoin, measured in smaller steps. PoW block-DAGs at ten blocks per second have run in production since 2025 [9], so this rate is not only a theoretical result.

Finality window. A node never adopts a history that forks off more than 36,000 blocks (one hour) below its current tip, whatever proof-of-work it carries. An attacker who rents a majority of hash power can at most contest the last hour; anything older is final. The price is that a network split lasting over an hour requires node operators to choose a side; nodes count every refused deep rewrite so that it never goes unnoticed. Together with merged mining of anchor blocks (section 4) this protects a young network, whose own hash power is still small, against rented majorities.

Value-aware confirmation. Reversing a payment means re-mining every block on top of it, each of which pays its honest miner the block reward; rented hash power costs at least that. A node therefore marks a payment of value v as safe after max(c, v / reward) confirmations, capped at the finality window: small payments in seconds, large ones in minutes, none longer than an hour.

6. Network

The steps to run the network are:

  1. New transactions are broadcast to all nodes.
  2. Each miner selects transactions from its pool and searches for a nonce for a header that references all DAG tips it knows.
  3. A miner that finds a hash below $T_L$ broadcasts the block at once. If the hash is also below $T_A$, the block is an anchor block.
  4. Nodes accept a block only if its proof-of-work is valid and all of its transactions are valid by themselves. Conflicts between blocks are resolved by the ordering of section 5.
  5. Nodes add every valid block to their DAG and reference it in the next block they mine.

To limit duplicate transactions in parallel blocks, miners select transactions from their pool at random, weighted by fee, rather than all taking the most profitable ones first. A transaction that appears in two parallel blocks takes up space twice, but is executed and pays its fee only once.

Nodes also relay double-spend proofs: two valid, signed transactions that spend the same output. A merchant's node is warned about a conflicting payment within a fraction of a second.

7. Incentive

New coins are created by every blue block, light and anchor alike, on a fixed schedule with Bitcoin's shape:

There is no premine, no developer allocation and no tail emission.

Launch. Bitcoin's genesis block quotes a newspaper of its launch day. PQRBTC's genesis block is built from a Bitcoin block whose height is announced in advance: it takes that block's time, commits to its hash, and carries the block header, its coinbase and the Merkle branch between them. Every node checks that the header has Bitcoin-level proof-of-work and that its coinbase states the announced height (BIP-34). No one can know that hash before the Bitcoin block is mined, so no PQRBTC block can be older than it: everyone, the founder included, starts mining at the same moment.

Fees. A transaction fee is split: 40 % goes to the miner of the light block that first includes the transaction in the total order, and 60 % to the miner of the anchor block that settles it. The split follows the reasoning of Bitcoin-NG [10]: if the anchor miner received the whole fee, it would gain by ignoring other miners' light blocks and including their transactions itself; if the light miner received the whole fee, anchor miners would have little reason to settle promptly. Each block pays its share to its miner through its own reward output, together with its block reward.

When the block reward has run out, miners are paid from fees alone. The capacity of Hikari (section 15) spreads that cost over many transactions, each paying a small fee.

The incentive argument of the original design still holds. An attacker with more computing power than all honest miners would earn more by mining honestly, under rules that give them more new coins than everyone else combined, than by undermining the system and the value of their own coins.

8. Supply Commitment

A fixed supply is only useful if it can be checked. Every anchor block commits to:

Nodes recompute both and reject any anchor block whose commitments are wrong. The commitment is deliberately hash-based: accumulators such as MuHash rest on discrete-logarithm assumptions that a quantum computer could break.

The supply rule is a consensus invariant: the total value of all unspent outputs, burned coins and pooled fees must always equal exactly the sum of all block rewards issued so far. The reference implementation checks it in property tests and under fuzzing. Bitcoin once had a bug that would have allowed coins to be created from nothing (CVE-2018-17144 [12]); PQRBTC treats this class of bug as the most serious possible.

Amounts are public on chain. Designs that hide amounts lose this direct auditability, and at least one such system has had to repair a flaw that allowed coins to be created unnoticed.

9. Reclaiming Disk Space

Post-quantum signatures are large, but they only need to be checked once.

10. Combining and Splitting Value

As in Bitcoin, a transaction may have several inputs and outputs, usually one output for the payment and one returning change to the sender.

Post-quantum signatures make the size of an input the main cost, so PQRBTC adds two optimisations:

The key registry makes reuse of a key visible. Users who prefer privacy keep using a fresh key for every payment at full size; the choice is theirs per transaction.

11. Self-Custody

Self-custody must be practical, otherwise users drift to custodians.

12. Simplified Payment Verification

A light client follows the chain of anchor block headers, as a Bitcoin client follows block headers, and checks the proof-of-work and the supply commitment of each. To verify a payment, it asks the network for a Merkle path from the transaction to an anchor block that settles it.

Light-block headers arrive ten times per second, too many for a lightweight client to follow in full. Merchants who accept payments within seconds therefore run a full node, or a node they trust. The node software includes the explorer and the merchant interface, so this requires no further infrastructure.

13. Privacy

PQRBTC keeps Bitcoin's privacy model. Identities are not on the chain; amounts and transaction flows are. Wallets use a new key for every payment by default, so that payments cannot easily be linked to a common owner. Techniques that strengthen privacy, such as combining the transactions of several users, may be added later, as long as amounts remain auditable (section 8).

14. Calculations

We consider an attacker trying to reverse a payment after the merchant has accepted it, by producing an alternative history with more proof-of-work than the honest one. As in the original analysis [1], let

$p$ = the probability that the honest network finds the next block, $q$ = the probability that the attacker finds the next block, $q_z$ = the probability that the attacker ever catches up from $z$ blocks behind,

so that $q_z = 1$ if $p \le q$, and $q_z = (q/p)^z$ if $p > q$.

While the merchant waits for $z$ honest blocks, the attacker's progress is Poisson-distributed with expected value

$$\lambda = z \frac{q}{p}.$$

The probability that the attacker still catches up is

$$P = 1 - \sum_{k=0}^{z} \frac{\lambda^k e^{-\lambda}}{k!} \left( 1 - \left( \frac{q}{p} \right)^{z-k} \right).$$

In Rust:

fn attacker_success_probability(q: f64, z: u32) -> f64 {
    let p = 1.0 - q;
    let lambda = f64::from(z) * (q / p);
    let mut sum = 1.0;
    for k in 0..=z {
        let mut poisson = (-lambda).exp();
        for i in 1..=k {
            poisson *= lambda / f64::from(i);
        }
        sum -= poisson * (1.0 - (q / p).powi((z - k) as i32));
    }
    sum
}

In Bitcoin, $z$ counts blocks of ten minutes. In PQRBTC, honest light blocks arrive at about ten per second, so a merchant who waits $t$ seconds has about $z = 10t$ confirmations:

Attacker share $q$$z=1$ (0.1 s)$z=10$ (1 s)$z=25$ (2.5 s)$z=50$ (5 s)
0.100.20$1.2 \times 10^{-6}$$3.4 \times 10^{-15}$$< 10^{-15}$
0.200.42$1.1 \times 10^{-3}$$7.1 \times 10^{-8}$$8.4 \times 10^{-15}$
0.300.63$4.2 \times 10^{-2}$$6.1 \times 10^{-4}$$5.9 \times 10^{-7}$
0.400.830.360.11$1.7 \times 10^{-2}$

The table above is Satoshi's model: it counts blocks and assumes the attacker starts when the merchant has seen them. A stricter model (Rosenfeld [15]) lets the attacker start mining in secret the moment the payment is sent, and lets the merchant wait a fixed time rather than a fixed number of blocks. Our simulator (crates/pqrbtc-sim) computes this exactly and checks it with a Monte Carlo run of one million trials; the two agree to three decimals.

Attacker share $q$PQRBTC, 5 sBitcoin, 6 confirmations (~1 h)PQRBTC wait for $P < 10^{-6}$
0.10$2.9 \times 10^{-10}$$5.9 \times 10^{-4}$3.5 s
0.20$8.2 \times 10^{-6}$$2.3 \times 10^{-2}$6.5 s
0.25$2.6 \times 10^{-4}$$6.9 \times 10^{-2}$9.0 s
0.30$4.0 \times 10^{-3}$$1.6 \times 10^{-1}$14.5 s
0.35$3.2 \times 10^{-2}$$3.0 \times 10^{-1}$26.5 s
0.40$1.6 \times 10^{-1}$$4.9 \times 10^{-1}$60 s

For every attacker size, a merchant who waits five seconds is better protected than a Bitcoin merchant who waits six confirmations, by a factor of 40 to two million. Against attackers up to 20 % the risk after five seconds is below one in a hundred thousand. The node turns this into one figure for the merchant: the largest amount it considers safe at the current depth, under the merchant's risk policy. Large amounts wait longer, or for anchor blocks.

Network delay does not erode these numbers. Running the actual GHOSTDAG code with $k = 124$ on a simulated network of 50 miners at ten blocks per second, with mean propagation delays from 100 ms up to 2 seconds, not a single honest block out of 6,139 turned red: every honest block counts as a confirmation. With a too strict $k = 10$, 45 % of blocks would have been lost at 1 second of delay, which is why $k$ is sized for the block rate.

15. Capacity

In a DAG, throughput is limited by bandwidth, not by block interval. PQRBTC sets a data budget: at launch, 1 MB of transactions per second, or 100 kB per light block, about 8 Mbit/s for a node. A typical payment with one input and two outputs takes about 2.6 kB when the key registry applies, and about 3.9 kB with a fresh key.

For reference: the euro area made about 161 billion non-cash payments in 2025 [14], about 5 100 per second, or 1.3 per person per day.

ConfigurationPayments/sPer yearShare of euro-area non-cash paymentsPeople able to make all their non-cash payments in PQRBTC
Launch: ML-DSA, 1 MB/s~390~12 billion~8 %~27 million
ML-DSA, 2.6 MB/s~1 000~32 billion~20 %~68 million
FN-DSA (Falcon), 2.6 MB/s~3 200~100 billion~60 %~215 million

At launch this is about 55 times Bitcoin's capacity, while a node still runs on a home connection. PQRBTC does not aim to carry all payments in the world, only those of its own users, with room to grow. The data budget is a consensus parameter that can be raised as typical home bandwidth increases.

At peak moments a block may use surge room: up to twice the normal 100 kB. The miner of a larger block forfeits part of its own earnings, growing with the square of the excess (a quarter at 1.5 times, all of it at twice the budget), into the fee pool that later anchor blocks collect. Nothing is burned and the supply commitment stays exact. A miner therefore uses the extra room only while waiting payments pay more than the penalty: a rush is absorbed by room, briefly, instead of by rising fees, while permanently larger blocks never pay.

16. Conclusion

We have proposed an electronic cash system that keeps what made Bitcoin valuable: 21 million coins issued on a fixed schedule, proof-of-work consensus that nobody controls, and owners who hold their own keys. It replaces elliptic-curve signatures with standardised post-quantum schemes from the first block, so no coin is ever exposed to a quantum computer. It judges each hash against two thresholds, so the same proof-of-work produces ten light blocks per second for fast confirmation and an anchor block every ten minutes for settlement and issuance. A merchant can safely accept a payment after about five seconds, without channels, hubs or custodians. Every anchor block commits to the total supply, so anyone can verify that the supply rules hold. Nodes work together with little coordination; they vote with their computing power, accept valid blocks by building on them, and reject invalid ones by refusing to. Any needed rules and incentives can be enforced with this consensus mechanism.


References

[1] S. Nakamoto, "Bitcoin: A Peer-to-Peer Electronic Cash System," 2008.

[2] P. W. Shor, "Polynomial-Time Algorithms for Prime Factorization and Discrete Logarithms on a Quantum Computer," SIAM Journal on Computing, 26(5), 1997.

[3] NIST, "FIPS 204: Module-Lattice-Based Digital Signature Standard," August 2024.

[4] NIST, "FIPS 205: Stateless Hash-Based Digital Signature Standard," August 2024.

[5] S. Haber, W. S. Stornetta, "How to Time-Stamp a Digital Document," Journal of Cryptology, 3(2), 1991.

[6] R. C. Merkle, "Protocols for Public Key Cryptosystems," IEEE Symposium on Security and Privacy, 1980.

[7] L. K. Grover, "A Fast Quantum Mechanical Algorithm for Database Search," Proceedings of the 28th ACM Symposium on Theory of Computing, 1996.

[8] Y. Sompolinsky, S. Wyborski, A. Zohar, "PHANTOM GHOSTDAG: A Scalable Generalization of Nakamoto Consensus," ACM Conference on Advances in Financial Technologies, 2021.

[9] Kaspa, a proof-of-work block-DAG running at ten blocks per second since its 2025 network upgrade.

[10] I. Eyal, A. E. Gencer, E. G. Sirer, R. van Renesse, "Bitcoin-NG: A Scalable Blockchain Protocol," USENIX NSDI, 2016.

[11] T. Dryja, "Utreexo: A Dynamic Hash-Based Accumulator Optimized for the Bitcoin UTXO Set," 2019.

[12] Bitcoin Core, "CVE-2018-17144: Full Disclosure," September 2018.

[13] C. Decker, R. Russell, O. Osuntokun, "eltoo: A Simple Layer2 Protocol for Bitcoin," 2018.

[14] European Central Bank, payments statistics for the first and second half of 2025, published January and July 2026.

[15] M. Rosenfeld, "Analysis of hashrate-based double spending," arXiv:1402.2009, 2014.

[16] J. Toomim and others, "ASERT: absolutely scheduled exponentially rising targets," Bitcoin Cash upgrade specification, 2020.