Zero-knowledge payments

Status: design. Payments are not implemented in the current software. This page describes the intended design; details may change before release.

The idea

Money is a message that proves its own validity. The network answers only one question: has this coin already been spent?

A transfer is a special case of a message. It is sealed and delivered like any other Tier message, and it can travel together with an ordinary message in one parcel: "here is the money, and here is what it is for".

No ledger

  • There is no shared ledger of balances, no global order of transactions, and no replicated log.
  • A balance is not a number in a registry. It is the set of unspent coins that the owner holds.
  • Coins and their proofs are kept by their owners. Whoever wants a durable copy can delegate it to keepers.
  • Double spending is prevented per coin by a quorum of validators, not by ordering all transactions in the world.

Coins

A coin is an object held by its owner: an amount, the owner's key, a secret, and a proof that the coin is legitimate. The model is UTXO-like. Spending consumes an input coin entirely and creates new output coins, including change: spending a coin of 500 can create 100 for the recipient and 400 back to the sender. Unlike Bitcoin there is no shared UTXO set: validators track only whether a coin has been spent.

What stays hidden

ElementRole
Commitment The amount of a coin is hidden in a cryptographic commitment. Nobody but the parties sees it.
Nullifier The mark of a spend. It is the same for every attempt to spend the same coin, so a second spend is detected, but it does not reveal which coin it belongs to.
Zero-knowledge proof Proves that the spent coin is legitimate and that inputs and outputs balance, without revealing the coin, the amounts, or the owner. The proof of a coin is recursive: it folds the coin's whole history, so a recipient can check a coin without any ledger.
Addresses Payment addresses have an underlying structure that gives every transfer a new address. Observers cannot link transfers to the same recipient. A recipient's address carries two keys, one for encryption and one for money, and a node's network key is not linked to money keys.

The result: only the sender, the recipient, and whoever they choose to tell know who paid whom and how much.

Validators and finality

  1. The sender builds the spend: nullifier, proof, and new output coins.
  2. Validators check it and sign the first spend they see for each nullifier. Each validator signs at most one spend per coin.
  3. Signatures from validators holding more than 2/3 of the stake weight form a certificate. The spend is final once the certificate exists.
  4. The parcel with the new coin and the certificate is delivered to the recipient: directly, through relays, or, for an offline recipient, through keepers.

The threshold is more than 2/3, not 51%: two such quorums always share an honest validator as long as dishonest validators hold less than a third of the weight, so two conflicting spends cannot both be certified. A network of n ≥ 3f + 1 validators tolerates f faulty ones: 4 tolerate one, 7 tolerate two.

Validators cannot be skipped, even when both parties are online: in a direct transfer a sender could hand the same coin to two recipients, and neither would know. Only delivery goes directly, never confirmation.

Validators join and leave through numbered membership versions signed by more than 2/3 of the current set. The chain of signed versions from genesis is a membership proof anyone can check.

What validators store

Validators keep nullifiers only for the last K epochs and the current membership version, not transaction history. A wallet refreshes old coins by sending them to itself at random times. At the end of an epoch, validators sign the root of its nullifiers, so older coins can still be revived through archives.

Public issuance

Total issuance and the genesis distribution are public; every other balance is hidden. Because the sum of all coins can be checked, hidden amounts cannot hide inflation.

Cryptography

The design uses only standardized primitives. Zero-knowledge proofs are planned on hash-based proof systems (the STARK family), because proof systems based on elliptic curves are not post-quantum. Transport and message encryption already use hybrid post-quantum key exchange (see Encryption).

What it is not

  • Not a world computer: payments need no global ledger, and smart contracts are not part of the payment layer. A general-purpose blockchain with smart contracts is planned separately, on top of the network (see Philosophy).
  • A DEX needs a history of trades in a strict order. It gets that order from a blockchain on top of the network, not from the payment layer; keepers can store its blocks as content-addressed blobs.
  • Not a permanent archive: long-term storage is a paid service of keepers, not a property of the network.

Stages

StageScope
FirstValidators with a closed set fixed at genesis. Transparent coins spent by the owner's signature, without zero-knowledge proofs. Transfers finalized by quorum certificates. Delivery to online recipients.
NextZero-knowledge coins with hidden amounts and nullifiers, epochs, keepers and offline delivery, stake.

The order and contents of stages may change.