A Deep Dive on Tachyon
Although Tachyon’s central contribution is its use of prunable nullifiers to scale Zcash without compromising privacy, we begin from a different vantage point. Rather than diving directly into how evolving nullifiers work, we first examine a foundational design decision in Tachyon’s key structure: the separation of concerns across subprotocols that shapes the rest of the system.
The Zcash Spec is most illustrious for its sedimentary layers of meticulous notations and its evolving key structures across network upgrades. We marvel at the sophistication of the key designs, at the laborious effort behind to strive for efficiency, security, and rich functionalities all at once. But why such growing complexity? After all, the Sprout upgrade, following the original Zerocash, only requires one payment key and one encryption key.
One source of the complexity is the separation of proof generation and transaction authorization. In Zerocash/Sprout, a valid SNARK proof already ensures rightful ownership, thus no further authorization needed theoretically. In practice, however, hardware wallets are both resource constrained and vendor gated to support intensive proof generation. While Sprout can lean on the zero knowledge of SNARKs to prevent linkability, Sapling spends authorized via signatures requires re-randomizable signature to prevent linkage between spends from the same owner. This re-randomization manifests through the authorization key in the secret witness and the randomized authorization key in the public instance of the proof. The spend authorization signature is verified against the publicized .
Another reason for the complexity is the conflation of note ownership and note transmission. Since the original Zerocash (inherited in all Zcash upgrades), the payment address serves dual purposes: declaring note ownership and facilitating transmission of note secrets. The sender of a transaction needs to securely communicate the output note openings so that they can be spent later by the recipient. Without assuming secure channels between all users, Zcash has been transmitting the encrypted memo in-band as part of the transaction, effectively using the blockchain as the public bulletin board. The payment address, publicized to the sender, contains a transmission key which is the encryption key of a hybrid public key encryption scheme. Zcash, from Sapling onward, is extra cautious about the privacy leakage in case of colluding senders under reused transmission keys. Therefore, diversified address is introduced to randomized the transmission key while preserving the same incoming viewing key for memo decryption and detecting incoming notes.
Furthermore, fine-grained disclosure of transaction flows requires a distinct outgoing viewing key to enable optional viewing of outbound notes. Viewing keys support selective disclosure of both incoming and outgoing notes, either to the account holder or to authorized third parties. This separation also facilitates quantum-safe outgoing viewing keys from day one, as they are not subject to the address-diversification requirement that currently ties to discrete-log–based constructions.
Decoupling Payment Protocol from Shielded Protocol
A key observation Tachyon makes is that we can separate the concerns of spend authorization and note transmission! This separation appears in the decoupling of the shielded protocol from the payment protocol. The payment protocol is responsible for full payment address construction, note transmission, and selective disclosure capabilities, while the shielded protocol is reduced to the minimal functionality required to maintain the shielded pool and enforce note ownership and authorized transfers on-chain.
Informally:
- Shielded protocol: binds every note to an owner for spend authorization
- Spend authorization requires both valid proof of ownership (proof of knowledge on ) and transaction authorization (signature under )
- Beyond maintaining the shielded pool, the blockchain acts as a data availability layer for arbitrary payment-protocol data
- Payment protocol: securely transmits relevant note info to intended recipients
The rationale for this separation becomes clearer when examining the underlying key material. Of all derived keys, only two are strictly necessary for enforcing note ownership: the nullifier key , used to derive nullifiers, and the authorization key , used to derive the randomized spend validation key. Both are known only to the note owner and supply as secret witnesses in the SNARK proof.
In Zcash today, a shielded payment address binds together and additionally includes for incoming note detection. Tachyon instead decomposes this structure into a payment key , a binding commitment to the pair and a separate transmission key managed entirely by the payment protocol. This significantly simplifies the shielded protocol’s key architecture by removing functionality unrelated to spend authorization.
Among the main security properties, Tachyon shielded protocol needs to uphold Ledger Indistinguishability (defined in Zerocash), Balance, Note Privacy, Note Privacy (OOB), Spend Unlinkability (but attackers access restricted to only payment key). Full Spend Unlinkability (attacker with access) and Faerie Resistance are now the responsibilities of the payment protocol. Security analysis on a more comprehensive list of properties is outside our scope.
This separation1 yields several benefits: a narrower and more manageable scope for shielded pool upgrades, cleaner isolation of security assumptions for auditing, greater flexibility in exploring payment protocol designs while preserving a stable shielded core, and the ability to develop sub-protocols in parallel. More broadly, we believe this separation of concerns enables Tachyon, and future post-Tachyon upgrades, to evolve more rapidly while supporting more modular security analysis.
Shielded Protocol
We incrementally cover the whole Tachyon shielded protocol in this section.
Note: in practice, all derivation functions (e.g., hash, KDF, XOF, and Derive) should be domain-separated; we omit this detail here for simplicity of presentation.
Payment Key
As explained above, Tachyon shielded protocol only expects an authorization key from a re-randomizable signature scheme2 and a nullifier key . While both keys should be derived from a master spending key as per ZIP-32, the concrete derivation path is specified by wallet standards. The transfer proofs in shielded transaction only use them directly as secret witnesses to further derive public values including (randomized) spend validating key and nullifier , but never constrain their derivations. The shielded protocol only mandates that they are indistinguishable from randomly sampled keys.
The payment key is the owner field every note commits to: a binding commitment to the pair. A wallet mints a fresh address per sender from its master spending key in ZIP-32-style. Instantiated with a hash-based commitment, gives a succinct owner field and quantum recoverability today. Publicizing directly, a Schnorr verification key, to senders who might have future access to a quantum computer exposes the user "Harvest Now, Decrypt Later" risk.
Spend authorization follows the same construction as in Orchard. The authorization key pair satisfies the DLog relation , and can be re-randomized into an unlinkable key pair using a randomizer . Transactions are signed using the re-randomized signing key . The resulting signature is unlinkable to the original spending authority, while remaining verifiable against the randomized spend validating key , defined as:
Note
A tachyon note is a tuple:
where is the payment key, is the value of the note, is pseudo-random note identity that binds to the note nullifier value as an input to its derivation, and is a random commitment trapdoor3. In contrast to Sapling/Orchard, the note commitment in Tachyon is purely based on symmetric primitives4. Thus, Tachyon doesn't require extra enforcement on derivation on wallets to achieve quantum recoverability like Orchard does.
Evolving Nullifier
Readers should refer to Sean's post and the short note [BM25] for a detailed motivation and an overview of Tachyon's evolving nullifiers.
A scaling Zcash produces more note commitments and nullifiers, both accumulating in the shielded pool. The commitment set grows on disk, but luckily storage is cheap. The nullifier set becomes the bottleneck: every transaction must check that its inputs' nullifiers have never appeared before, which forces consensus nodes to keep the whole set in memory on the critical path. At Visa-level throughput, this nullifier state would grow by an unattainable 500 GB per day.
Tachyon offloads most of this check to the user. The consensus node retains only nullifiers from the most recent blocks; the user supplies an exclusion proof attesting that their nullifier does not appear anywhere in the older history. This proof must be kept current as each new block lands, which Tachyon achieves incrementally via proof-carrying data (PCD). Since constantly scanning blocks and refreshing proofs is onerous, users can outsource the task to an oblivious syncing service (OSS). However, updating an exclusion proof requires knowing the nullifier value, and a nullifier revealed to the OSS lets it trace the eventual spend of that note — a disastrous privacy leak. Tachyon resolves this by letting nullifiers evolve across epochs: the value a user shares with the OSS in one epoch is unlinkable to the value revealed at spend time. This breaks a long-standing Zcash invariant: each note has only one nullifier that is globally unique value in the pool. As a result, Tachyon requires both a new nullifier derivation and a new double-spending prevention mechanism.
Philosophy: Client-side Validation (CSV).
Tachyon's scaling approach rests on one principle: move validation off the critical path of consensus and onto the client wherever possible. As a blockchain scales, the burden on consensus nodes grows along every axis — compute, memory, storage, and bandwidth. The remedy is to let the transacting client prove its own correctness and leave consensus only cheap verification. This principle guides many design decisions beyond our prunable nullifiers.
The ideal functionality for an epoched nullifier is a deterministic function
whose outputs are indistinguishable from random bytes. Such an binds to both the spending authority (via ) and the underlying note (via its per-note trapdoor ), while remaining unlinkable across epochs to anyone without .
Circuit efficiency and delegated privacy shape the choice of . A constrained PRF [BW13] would let the wallet hand an OSS an evaluation key for a delegation range, but the GGM-based candidate has relatively poor circuit efficiency (see its cost analysis). After exploring the alternatives, we instead entrust users themselves to derive and prove their nullifiers. The OSS receives nullifier values and a proclaimed range without any note-binding evidence: a valid syncing request may equally be a decoy list unrelated to any note. The user/wallet later binds the exclusion proof returned by the OSS to nullifiers derived from the actual note.
The leading candidate first derives the per-note master key , then evaluates several consecutive nullifiers with one algebraic permutation:
For example, if a user wants to cover epoch with a sponge rate of , she would delegate the range , a subrange of local derivation range realized by a single Poseidon squeeze: . In practice, the delegation range may be larger, which requires the user multiple PCD steps to fully cover the whole .
For the remaining presentation, denotes any construction that provides efficient batched evaluation and the required semantic security.
Ranged Nullifier Commitment
A ranged nullifier commitment binds a sequence of epoched nullifiers for some epoch range . This primitive provides three properties:
- Position and value binding. A committed entry binds both its epoch and its nullifier .
- Incremental range extension. The commitment can be incrementally built and updated without fixing the range endpoint in advance.
- Indexed-subset proof. Given commitments to two nullifier ranges, the prover can succinctly prove that every indexed value in one occurs in the other. Range counters separately enforce order and contiguity.
The natural candidate is a vector commitment (VC) scheme that supports subvector opening and updatability (cf a SoK on VC). However, existing solutions are all built on RSA or bilinear groups, neither is circuit-friendly. Luckily, in our specific use case, we don't strictly need a full-blown VC: our nullifier commitment is built incrementally, with each update proven correct against the running commitment. In other words, the prover in a standard VC is given to produce a commitment to the verifier for subvector opening, but a cheating prover could deviate from the prescribed commit algorithm; whereas in our context, we can enforce honest commit/update, thus expand the design space for the commitment scheme.
In our setting, the wallet locally proves correct derivation of nullifiers in range and commits to them. Concurrently, the OSS receives opaque pairs , proves each absent from all tachygrams appeared in the past epoch , and commits to the epoched nullifiers for which it has tested non-membership. Both the wallet and the OSS compute their nullifier commitment incrementally because both nullifier derivations and non-membership tests span across multiple PCD steps. The wallet then proves that the OSS-tested indexed set is contained in its locally derived range. This binds the delegated exclusion proof back to the note without revealing the note or any linkable information to the OSS.
Here is our concrete construction.
Let for , where evaluations outside any revealed set remain computationally indistinguishable from random. To bind both an epoch position and its value, fix a non-cubic residue and encode as the cubic factor
Encoding both the absolute epoch index and its nullifier in each factor provides both positional and value binding. It allows us to sidestep traditional vector commitments and collect the range as an indexed multiset, which admits a simple subset proof.
The wallet begins at an arbitrary epoch . For a consecutive range it derives the corresponding nullifiers and commits to
The commitment is incrementally built. Starting from , appending the next epoch gives
Using Ragu's polynomial oracle5 functionality, we can easily check the update to the commitment by identity testing at a random point. Importantly, this commitment is naturally extensible without fixing the overall range or the endpoint in advance.
An OSS receives opaque pairs and proves each absent from the assigned portion of epoch 's public history. It commits to the corresponding indexed factors for the consecutive range :
To bind the delegated work back to the note, the wallet proves that every OSS-tested occurs in its locally derived range. This indexed-subset relation is enforced via the standard quotient argument: there must exist a quotient such that
The commitments to , , and are fixed before the oracle challenge , after which the verifier checks .
Divisibility itself is commutative and therefore proves only indexed-multiset inclusion; it does not prove order. Order is enforced separately by requiring to be a contiguous increasing epoch range and checking its counter and sentinel endpoints as it is built.
Soundness sketch. For Pasta scalar field , we know , thus we can fix as a public non-cube. Then is irreducible over , and so is its image under every invertible affine substitution . For a valid epoch , we have in . With unique factorization, there is only a rare chance left for indexed-subset forgery: when is not injective:
But since our epoch range is small and the nontrivial cubic root of unity is very large, such coincidence will never occur. Even though we didn't explicitly enforce 's range in circuit, we do enforce its increment as the user or the OSS incrementally builds and . Additionally, an out-of-range will result in invalid anchor values in the final proof; thus indirectly rejected.
Nullifier Security
We now examine how the evolving nullifier upholds the security properties carved out for the shielded protocol. Readers can safely skip this section and come back later since the analysis refers to concepts introduced in later sections.
Balance. Only the holder of can compute any , since requires it. A spend proof pins both and to a deterministic function of the note and epoch, so a note has exactly one valid nullifier per epoch and no freedom to mint a fresh value that dodges a past spend. Double-spending is ruled out by two complementary checks: the user proves exclusion from authenticated older history, while consensus checks duplicates in the recent epochs it retains. Publishing both adjacent nullifiers makes those checks overlap across an epoch boundary.
Note Privacy. The adversary is a keyless third party reading the whole
on-chain transaction, including any in-band memo. The shielded footprint, namely
the commitment (hidden by ), the spend's revealed nullifiers (pseudorandom
by the semantic security of ), the rerandomized , and the hiding
,
reveals none of , , . The in-band memo is payment-protocol data
that the shielded protocol carries opaquely and never parses (committed only to
da_digest), so its secrecy rests on the payment protocol's encryption, not on
the shielded core.
Note Privacy (OOB). Here the note plaintext travels out of band rather than as an in-band ciphertext, so the adversary of concern is the sender, who learns but never the recipient's . Because every hangs off the master key , which cannot be formed without , knowledge of the note plaintext alone does not let the sender, or anyone it colludes with, recognize the recipient's eventual spend on chain or link it back to the note it sent.
Spend Unlinkability. Across epochs the of a fixed note are mutually pseudorandom to anyone lacking : by the semantic security of , any set of revealed evaluations leaves every evaluation outside it indistinguishable from random, and this holds even for the pair revealed together at spend. Delegation is list-bounded: an OSS delegated a set holds the explicit evaluations and no key material at all, so it can refresh exclusion proofs for exactly those epochs and predict nothing beyond the list. It sees the public history segments assigned to it, but not the note commitment, the user's note-binding proof, or the eventual spend endpoint. Range standardization, decoys, and local continuation can therefore keep maintenance and imminent-spend requests in the same cryptographic shape. And since binds the per-note , a list delegated for one note reveals nothing about any other note the user owns. To an attacker holding only the on-chain , the spend is unlinkable to it, since the two draw on disjoint randomness ( versus ). The stronger flavor of spend unlinkability, under incoming viewing key access, falls to the payment protocol, since Tachyon's shielded core has no .
Faerie-gold via the wallet. In Orchard, Faerie-gold resistance comes from binding each new note's to the unique nullifier of an input note. Tachyon's tachygram accumulator does not assign notes a canonical position, so the shielded protocol cannot enforce that binding. A malicious sender could in principle pick colliding values across two notes sent to the same recipient, where only one of them is spendable. We push detection to the recipient's wallet: upon receiving a note, the wallet computes the note's nullifier at a fixed reference epoch and rejects the note if it collides with any other note it currently holds. Since a wallet's note set is small, the check is cheap; the knowledge that compliant wallets will reject such collisions is enough to deter the attack.
Tachygram Accumulator
All shielded pools in Zcash today maintain two separate accumulators: a note commitment Merkle tree for efficient inclusion proofs and a nullifier set with constant-time membership queries for exclusion testing.
Tachyon instead uses a single cryptographic accumulator whose members are encoded as roots of a polynomial, so that both membership and non-membership tests reduce to a single evaluation query. Conveniently, Tachyon's PCD proof system natively and cheaply supports evaluation queries against online polynomial oracles5. Because the accumulator is universal6, it need not distinguish nullifiers from note commitments: a single accumulator collects indistinguishable 32-byte blobs, each a tachygram, that can be either a nullifier or a commitment.
The accumulator is the commitment to a polynomial :
The key properties of this universal accumulator:
- Membership is enforced via , non-membership via
. Both tests are insensitive to multiplicity, so this is a
multiset accumulator: a tachygram appearing times contributes the factor
, but a single occurrence already certifies membership.
- We do not deduplicate. In honest operation every tachygram is a distinct pseudorandom blob, so multiplicity exceeds one only with negligible (or adversarial) probability; and since (non-)membership ignores multiplicity, such cases are harmless.
- Consensus nevertheless requires every newly validated tachygram to be distinct from both the retained window and earlier tachygrams in the same candidate bundle. Consequently every accepted per-epoch accumulator guarantees to have a multiplicity of for all members/roots.
- Members are unordered: a multiset commitment, not a vector commitment.
- Multiset union
is polynomial multiplication, yielding a product accumulator
(unconditionally, with no disjointness precondition);
multiset difference is division, yielding a quotient
whenever the divisor is contained, and failing with a remainder otherwise.
- A union can be tested via at a random point .
We emphasize a subtlety in the security of this polynomial-based accumulator. Polynomial-commitment binding says that a commitment opens to one polynomial; it does not say that this polynomial is the accumulator of the claimed tachygrams. An attacker could instead commit to a polynomial that adds a malicious root or drops a genuine one, making the corresponding membership test true or false at will. Tachyon therefore verifies every against its published tachygram list using the technique below. The randomized identity test is sound relative to the PCS degree bound : commitments are fixed before the challenge, so a false identity passes with probability at most .
Checking Accumulator Correctness
Our goal is to check the correctness of the accumulator value given a public list of without expensive recomputation.
The solution is batch verification via a randomized point check. The verifier samples a random and invokes the PCS evaluation procedure on the (commitment, point, evaluation) claim , where is computed locally. Naturally, this proof can be made non-interactive with Fiat-Shamir. Notably, the verifier performs only cheap field operations, avoiding the group operations that recomputing the commitment would require (for Pedersen, KZG, or Bulletproof PCS).
Tachyon Transaction
Each block contains one or more transactions. Each transaction has a txid,
which commits only to its effecting data
(ZIP-244) and is therefore the stable,
non-malleable transaction identifier, and a wtxid
(ZIP-239), which additionally commits to the
malleable authorization data and is the identifier used to relay v5+ transactions
over the p2p network.
Each transaction optionally contains a bundle of transfers from each pool:
JoinSplit for Sprout (soon deprecated), Spend/Output for Sapling, Action for
Orchard, and now Tachyon Action for the new Tachyon pool.
A Tachyon Action transfer either spends an old note or creates a new one. Whether a spend or an output, its Action description is uniformly represented by a pair , where is the randomized spend validating key, whose derivation binds to the underlying note, and is a blinding commitment to the net value (positive for a spend, negative for an output, following the Sapling/Orchard sign convention). Unlike Sapling and Orchard, the tachygrams (nullifier or commitment) are left out of the description, because evolving per-epoch nullifiers are no longer static. We instead bind the note to through its randomizer :
A spend's re-randomizes the custody-held spending authority ; an output's carries no authority at all — creating a note requires none, since the binding signature already enforces that outputs are funded. An output's signing key is thus just , so a hot device can sign outputs without a custody round-trip; only spends need the custody-held . Both forms of are uniformly random points, indistinguishable on chain.
The Tachyon bundle inside a transaction carries a sequence of Action
descriptions together with the net balance of all action transfers
,
positive when value leaves the shielded pool, matching the valueBalance
convention of Sapling/Orchard and keeping the ZIP-209 pool-turnstile accounting
uniform across pools. The balance is proven by a binding signature
as in Sapling/Orchard.
Recall: How binding signature works.
The net value commitment in every action description is Pedersen-committed:
where is the blinding factor and is an independent group generator.
(Both value-commitment bases are independent of the spend-authorization base
behind ; in practice Tachyon reuses Orchard's ValueCommit generators.)
By the homomorphic property of Pedersen commitments, the verifier can sum the in a bundle to obtain , itself a blinding commitment to the net balance with blinding factor :
To verify the net balance, the validator reconstructs a discrete-log public key
and then verifies a Schnorr signature produced under . Effectively, the signature serves as a proof of knowledge of the secret scalar behind the public key .
Before describing the stamp, we name a recurring object it relies on: the spendability proof. Once complete, it establishes two historical facts about a spent note: its commitment appeared in a stamp included in a finalized block (inclusion), and every nullifier required for complete earlier epochs was absent (exclusion). For a same-epoch note the exclusion range is empty. Historical claims remain relative to an authenticated chain position until the target anchor is checked by consensus. Since old tachygrams are pruned from the live tachygram set, these facts are proven against an authenticated history of tachygrams on-chain.
Once the creation block is finalized, the wallet may prepare evidence for an immediate same-epoch spend, where no past exclusion is required. If the note survives the epoch, authenticated full-epoch evidence establishes both creation membership and inclusion-epoch nullifier exclusion. Additional full-epoch evidence extends exclusion through later completed epochs.
A Tachyon Stamp provides a PCD proof that every action in the bundle is
valid and that the action and tachygram accumulators match those actions.
Its public inputs are . The stamp
also publishes the tachygram multiset . The target epoch is implied
by the target in the anchor chain.
Alternatively, the stamp holds a wtxid reference to another transaction whose
stamp carries an aggregated PCD proof and the corresponding public inputs.
The accumulator is included to spare miners from recomputing it over all
tachygrams; instead, the correctness of is proven using the
batched verification trick.
The PCD construction supports aggregating finished bundle proofs: a new
aggregated transaction will be created whose stamp contains the union of the
action and tachygram multisets, their accumulators, the common anchor, and an
aggregated PCD proof. The stamps of all constituent transactions are replaced
by a reference to the aggregated transaction's wtxid.
Note: an aggregated Tachyon bundle shares exactly the same format as a normal standalone bundle (a.k.a. a Tachyon autonome), and may even carry additional Action descriptions of its own. A purely aggregating bundle, by contrast, carries an empty Action list (hence no authorization signatures), a zero value balance, a trivial binding signature, and a stamp holding the aggregated proof and its proof data.
The balance check and authorization signature verification (including the
SIGHASHcomputation) are identical for every bundle, aggregated or standalone. The only difference is proof verification: an aggregated bundle verifies against the single stamp of the aggregated transaction, so its cost is amortized across all constituents and thus economically incentivized.
Importantly, each Action description is associated with two tachygrams, a consequence of the evolving nullifiers. If a user proves only the nullifier for the current epoch , the epoch may advance to before the transaction is picked up from the mempool. Since neither miners nor the OSS—the latter responsible only for syncing past epochs, and never learning future nullifiers, least of all at spend time—can unilaterally update the proof, the transaction goes stale and requires further user input to refresh. This is poor UX and a potential timing side-channel that leaks privacy. We therefore require every spend action to reveal (and prove in circuit) the nullifiers for both the current and the next epoch, leaving an ample buffer against this cross-epoch race. To keep spend and output actions indistinguishable, we further require each output action to publish a dummy tachygram alongside its note commitment, so every action uniformly carries two.7
All non-malleable parts, collectively the effecting data, hash into a stable
identifier txid: a bundle commitment from each pool and their value balance
. In-band memos count as effecting data in the legacy pools,
and they remain so in the Tachyon pool, entering txid through the da_digest
described below.
Each Action description is first mapped to a field element:
The Action multiset and its polynomial commitment are
Repeated Action descriptions contribute repeated factors. The canonical encoding of enters the Tachyon bundle commitment directly.
All mutable parts (orange in the diagram) commit only to the auth_digest, and
hence transitively to wtxid = txid || auth_digest; only the stable parts
(green in the diagram) contribute to txid.
Specifically,
da_digestcommits to the (optional) memo bytes, which the Tachyon pool carries as an opaque DA blob: unconstrained, never parsed or interpreted by the shielded protocol.txidcommits to .auth_digestcommits to .
Keeping the memo payload inside the effecting data is what makes it
tamper-proof. Authorizing data is malleable by definition, and Tachyon relayers
rewrite it in flight: aggregation replaces a transaction's stamp, and with it
auth_digest and wtxid. With da_digest inside txid, tampering becomes
detectable: every authorization signature signs over it through the SIGHASH,
so altering the DA bytes yields a different transaction whose signatures no
longer verify. ZIP-244 makes the same choice for the legacy pools by hashing
their in-band memo ciphertexts into txid.
Finally, the Tachyon bundle carries a spend authorization signature for every
Action description, each signed over the SIGHASH, which commits to the same
transaction-wide effecting data (across all pools) used to derive txid8.
Block space can additionally serve as a data-availability layer for arbitrary
payment-protocol data used in note transmission; the shielded protocol neither
interprets this data nor checks its correctness. As explained later,
the payment protocol Tachyon targets distributes the recipient's KEM encapsulation
key out of band through the address, and carries a KEM ciphertext
in-band only on rare first-contact transactions (ordinary payments carry none), so
the in-band footprint stays small. The scheme is quantum-safe from day one and
leaves the format unchanged even through a full quantum upgrade.
Anchor Chain
An anchor chain is a hash chain whose updates absorb per-stamp tachygram accumulator commitments. Every stamp carries a committing to the tachygrams it introduces: those of a single bundle for a standalone transaction (a Tachyon autonome), or their union across many transactions for an aggregate. Each chain state (the field in each block header) is an anchor; itself is not an anchor, but a state delta to compute the next anchor. A stamp in consensus epoch extends the chain as
Binding at every tick lets a proof authenticate the epoch containing each anchor-chain segment without relying on external validation.
At the transition into every epoch , consensus appends exactly one domain-separated epoch sentinel, after all stamps of epoch :
Here is the final anchor-chain state before the transition; for an epoch with no stamps, it is simply . This is an ordinary update of the anchor-chain state already carried by every block header, not a new header field: the terminal block of epoch commits to after processing its stamps and the transition. By convention, the sentinel for epoch always means its first anchor . Epoch therefore spans to . Every transition has a sentinel, so even an empty epoch has two distinct, authenticated boundaries. For epoch zero, the genesis anchor-chain state replaces .
Every canonical anchor therefore determines a unique epoch: and all ordinary anchors after it but before belong to epoch . We write for this value and assume validators implement this map efficiently.
The chain therefore advances at sub-block, above-transaction granularity: in a block containing only standalone Tachyon bundles, it ticks once per transaction. A published stamp carries a target . As with Orchard anchors today, validators maintain the (unpruned) anchor chain and are responsible for validating the stamp's against the canonical history. When consensus accepts the stamp, its is absorbed into the current state to produce the next anchor.
Why anchor per-stamp rather than per-block, when the block is the unit of consensus finality? The primary justification is that it minimizes validator work, in alignment with our philosophy. Each stamp already ships a whose correctness is batch-verified in circuit, so a validator merely hashes it into the chain. A per-block anchor would instead force every validator to rebuild a block-wide accumulator from scratch: re-accumulating every tachygram in the block, interpolating the product polynomial, and committing to it, which involves an expensive multi-scalar multiplication for some PCS choices.
Per-stamp cadence also raises concerns about the cost of generating exclusion proofs. To prove never appeared in epoch , a user could naively show against the accumulator of every stamp folded into the chain that epoch. Instead, we leverage the multiset union operation on our accumulator polynomials to collapse the per-stamp checks into one. The product of all stamp polynomials in an epoch is itself an accumulator over all tachygrams of that epoch — the epoch accumulator :
and is absent from the epoch exactly when . Anyone (typically an OSS) can prove that is the correct product of the per-stamp polynomials whose commitments were absorbed into the anchor chain, by showing using the proof system's cheap polynomial-oracle queries5. Since the queries are served natively by the folding scheme and not through a step circuit, may have as high a degree as the PCS SRS allows, independent of any per-PCD-step-circuit size limit. Admittedly, the prover cost is still linear in the epoch's stamp count, but it is paid once and then amortized. The epoch accumulator , carrying its correctness proof, can now be reused to test each unspent note's epoched nullifier directly.
Sentinel transitions absorb no tachygram-accumulator commitment and therefore contribute no factor to . For an empty epoch , ; the distinct endpoint anchors still certify that the whole epoch was traversed.
This removes the per-stamp checks, but still has degree linear in the total number of tachygrams within an epoch. Even though Ragu theoretically supports high-degree polynomial oracles, they become practically infeasible: a modest throughput of TPS (all 2-input-2-output) and a two-week epoch would yield tachygrams. With our Bulletproof PCS's linear-time verifier, transaction verification would take more than 16 minutes9.
We now present an optimization that reduces the amortized per-nullifier cost to strictly sublinear, without maintaining or testing against any high-degree polynomials at all.
Quadratic Residue Filters
Our goal: prove non-membership of over an entire epoch at an amortized cost sublinear in , the total number of tachygrams in epoch .
The idea is bucketing: partition the epoch's tachygrams into smaller groups so that a query needs to examine only one of them. Assign each tachygram a short QR profile using discriminants that the queried tachygram can also evaluate. The profile is derived deterministically from the tachygram, partitioning the tachygram space into disjoint classes. Thus belongs to exactly one class and, if it appeared during the epoch, must lie in the corresponding bucket. Epoch-wide non-membership therefore reduces to one accumulator opening against that bucket.
To construct the profile buckets within the polynomial degree bound, first collect the epoch into bounded, unclassified root buckets. An OSS can route these buckets as they arrive under its privately chosen discriminants. Routing repeatedly decomposes each bucket under the next discriminant and merges adjacent buckets assigned the same resulting profile whenever their union remains within capacity. Once all buckets for one profile merge into a single bounded bucket covering the full epoch, that bucket is final; otherwise those buckets continue through another routing round. QR discriminants make each decomposition cheap to prove while keeping expected profile loads nearly balanced.
A number theory detour
Over a prime field , the nonzero elements split perfectly in half: the quadratic residues () and the non-residues (). Both classes are cheap to test in-circuit:
- : supply the root as advice; one constraint .
- : fix a public quadratic non-residue and supply with , since multiplying by a non-residue flips the class:
A QR discriminant is one such split under an offset : classify by whether is a square, assigning the exceptional value to the residue side. A random offset cuts any fixed epoch set roughly in half, and distinct discriminants tag every element with a -bit QR profile , where iff is a square or zero (written as ), and otherwise (written as ). The discriminants together sort the field into disjoint buckets of roughly equal size.
For a claimed non-residue bit, the circuit must also prove , for example with an inverse witness. Otherwise could incorrectly take the non-residue branch with square root zero.
Batched QR Test
Given the square-free vanishing polynomial , we can batch-test that all roots are QR, namely , as follows. Canonical epoch accumulators are square-free by the consensus uniqueness rule. "Square-free" here means that every root has multiplicity : there are no repeated .
- Prover interpolates all QR pairs into a polynomial where and .
- Prover computes and sends commitments to
and to the Verifier.
- Observe that the numerator vanishes over all (since ), so perfectly divides the numerator.
- Verifier samples a random and tests .
For an offset , the corresponding identities replace by . The prover for a batched test would set as:
Similarly, the prover for a batched test would set as:
QR Decomposition
With the batched QR test, we can reduce a QR decomposition claim to PCS evaluation claims. Let be the square-free accumulator of a set , and let be a fixed public quadratic non-residue. The relation is
It preserves without adding or removing elements. The left output contains exactly the elements and the right output exactly the elements.
The reduction works as follows:
- Prover interpolates such that
- Prover computes and commits to these four polynomials.
- After all commitments are fixed, the verifier samples and checks
The last check assigns the exceptional value to . The non-residue identity alone cannot distinguish it, since satisfies . Because is a product of linear factors, proves that is absent from the non-residue output. Together with , this forces it into whenever it occurs.
QR Bucket Routing
Routing Round. QR decomposition is the atomic algebraic relation: it takes one bounded bucket and returns its two factors under one discriminant. Bucket routing composes many such relations into decompose-merge routing rounds. A round decomposes its input buckets under the next discriminant and merges adjacent outputs with the same extended profile wherever their union remains within the bucket capacity.
The diagram below shows round , using discriminant . Its inputs are outputs of the preceding round, with and sharing one QR profile and carrying another. Decomposition sends each bucket's tachygrams left and its tachygrams right. The resulting buckets inherit the input bucket's anchor range and append the corresponding class bit to its profile. Both outputs retain that range even when one is empty and represented by the unit polynomial. Consequently, outputs produced from different input profiles remain different even when they take the same side under .
Merging then combines outputs only when two conditions hold: they have identical profiles, and their anchor ranges are contiguous. If the left bucket covers and the right covers , their merged bucket covers the union . A merge is performed only when the union remains within the bucket capacity. An output that cannot merge with its neighbor, such as the orange bucket in the diagram, remains a separate bucket with its original range.
Each routing round consumes buckets and, with high probability, emits buckets. Decomposition approximately halves each input, after which merging pairs of adjacent, same-profile outputs brings the resulting buckets back toward capacity.
Conveniently, each routing round is highly parallelizable and conducive to streaming. Decompositions are independent, while merges are local to ordered runs of same-profile buckets. The round can therefore be parallelized across those runs or pipelined over a stream of input buckets when memory is limited.
Routing Network with a Jagged Frontier. Every root bucket begins with a contiguous anchor range, and the root ranges together cover the epoch. Decomposition preserves these ranges, while each merge replaces two contiguous ranges by their union. This range invariant is what allows routing to turn many partial-epoch buckets into one full-epoch bucket for each final profile.
Call a routing round full when it is applied across the entire current layer. After full rounds, most profiles may already have one bounded bucket covering the whole epoch. Capacity fluctuations can nevertheless leave several partial-epoch buckets with the same profile at that layer. As illustrated below, only those unresolved buckets need another, partial routing round. Their decompositions preserve the partial ranges, and merges between matching outputs extend those ranges until they cover the full epoch.
This additional work creates a jagged frontier: buckets completed after the full rounds remain at depth , while unresolved buckets continue to deeper profiles. A partial routing round can complete some of those profiles and leave others unresolved, so a branch may require more than one partial round.
Zooming out, suppose root buckets cover consecutive ranges of one epoch. The network applies full routing rounds to all active buckets, then zero or more partial routing rounds only to unresolved same-profile buckets. At depth , the complete class for profile is
Routing for is complete only when all of is represented by one bounded bucket whose anchor range covers the epoch. Final profiles may therefore have different depths. They form a prefix partition of the field, and every final bucket covers the whole epoch. QR balance controls the expected number of full and partial rounds, while decomposition and contiguous range unions preserve the epoch's tachygrams.
QR Discriminant Choice. The discriminants must remain unpredictable to users while the epoch's tachygrams are chosen; otherwise a user could grind commitments to overload a chosen bucket. Each OSS privately samples its own and increments sequentially:
The OSS keeps private until the epoch closes, allowing it to build its routing network in flight without exposing a grinding target. Discriminant choice affects balance, not soundness: decomposition proofs certify the output buckets for any choice. Consumers may use any valid routing network, so a biased or prematurely revealed network can simply be ignored in favor of an honest OSS's routing network. Consecutive discriminants are not statistically independent, but their QR classes have negligible correlation and retain an almost-uniform profile partition.10
Queries and cost. After the epoch closes, a service reveals . A consumer authenticates one full-epoch final-bucket opening. For membership, it directly tests without deriving 's profile. For non-membership, it derives successive discriminants and profile bits, checks that they select the opened bucket, and tests . Routing processes a tachygram once per depth it traverses; this one-time work is amortized across later queries.
A 32-bit profile is sufficient for our intended scale. Even at two-input-two-output transactions ( tachygrams each) per second for a two-week epoch, there are fewer than tachygrams, or fewer than root buckets at entries each. Thus 32 bits is ample for . This leaves room for an unlikely unbalanced profile while keeping the complete profile derivation and QR checks compact.
Evidence Tree
The routing network above produces one proof per final bucket. Retaining and serving every proof is unnecessary: as an orthogonal post-processing step, the OSS folds any chosen set of final-bucket proofs into one proof committing to a evidence tree.
The evidence tree is a Poseidon Merkle tree over any chosen set of final buckets. A leaf binds the epoch, its sentinel endpoints, , the profile depth , the encoded profile , and the bucket's tachygram-set commitment . The folded proof attests that every included leaf came from a valid full-epoch routing bucket and that all leaves use the same epoch metadata. Its public output is a single authenticated tree root.
We use Poseidon's rate as the Merkle arity. One permutation absorbs four children and so resolves two bits of a leaf address, which is the most a rate- sponge resolves per permutation. The tree is therefore quaternary, with depth for final buckets, half the depth of a binary tree over the same buckets. A node absorbs its four children and nothing else, so it needs no domain constant, and a builder with fewer than four children to give repeats one. At the intended maximum of fewer than buckets, a path is at most levels deep. An opening costs one node hash per level and one leaf digest.
The tree need not contain every final bucket. It only needs to contain the bucket a query uses, and a builder holding a single bucket needs no tree at all: a sealed bucket is complete evidence on its own. The OSS retains its chosen final buckets, their Merkle tree, and one proof for the root. A query supplies the selected leaf and its Merkle path, and the bucket's own routing proof can then be dropped. After authenticating the leaf against the tree root, the consumer derives and checks the claimed profile only for non-membership; membership directly checks that the queried value is a root. This layer does not replace or alter routing: it only compresses a set of already proven buckets into one reusable certificate. Since routing runs in flight, tree construction is the only post-epoch work on the critical path.
Transaction Life Cycle
At a high level, Tachyon retains the Orchard/Ironwood transaction pipeline: the wallet prepares Spend and Output actions, proves their validity, balance-binds and authorizes the bundle, and submits the enclosing transaction to the mempool.
Tachyon differs in two main respects:
- Spend-proof construction. Evolving nullifiers require an older note to prove nullifier exclusion across past epochs. This work can be delegated to an OSS without identifying the note, after which the wallet binds the returned exclusion proof to its local derivation and may privately advance the anchor. Spend and Output proofs have very different workloads and can be prepared independently.
- PCD aggregation. The action proofs in one bundle are folded into a Tachyon stamp, and finished stamps from different transactions may be folded again into one aggregate proof.
The transaction flow is as follows:
-
Initialize the spendability proof. Once the note's creation block is included on chain, the wallet proves that the note commitment belongs to its creation stamp and records that stamp's resulting anchor. The final stamp later authenticates the path from this anchor to its consensus-checked target. The resulting proof supports an immediate same-epoch spend. Within the active epoch, the wallet may advance its anchor locally, without delegated work, to avoid revealing the exact inclusion anchor.
-
Synchronize spendability: local derivation and delegated exclusion. To spend a note from a past epoch, the wallet derives the required epoched nullifiers. It directly proves inclusion-epoch exclusion and commits any later range with a ranged nullifier commitment. It may give one or more OSSs opaque lists of values. For every delegated epoch, the OSS proves the value absent from authenticated full-epoch tachygram history and commits to the epoched nullifiers it tested.
The request and returned exclusion proof are note-independent: OSS cannot differentiate a syncing request from a decoy request unrelated to any note. After the proofs return, the wallet shows that the epoched nullifiers tested by the OSS form an indexed subset of its locally derived range. This binds the delegated exclusions to the local derivation without revealing the note. Together, authenticated creation membership and the required exclusion evidence establish spendability through the completed epochs. A final active-epoch anchor segment may be covered locally before spending.
-
Fold the action proofs into a stamp. Output actions are independent of historical anchors, require no synchronization, and can be constructed when the transaction is prepared. The wallet folds all action proofs into one Tachyon stamp. The stamp contains the aggregated PCD proof with public inputs
The stamp separately publishes . The bundle accumulator commits to two tachygrams per action: for a spend and for an output. Revealing both adjacent nullifiers protects the transaction against the cross-epoch race while it waits in the mempool. The wallet may also lift the finished stamp to a later target anchor within the same spending epoch.
-
Authorize and balance-bind. Concurrently with the proving path above, the wallet assembles the transaction body, computes the
SIGHASHover the effecting data, and produces:- an authorization signature for every action, verifiable against its published : spends sign under the re-randomized key (a custody round-trip), while outputs sign under the bare randomizer (no spend authority is needed, so a hot device can sign); and
- the net value balance and one binding signature over the value commitments.
-
Mempool and aggregation. The finished transaction enters the mempool as a standalone Tachyon bundle. A miner or another aggregator may lift several stamps whose anchors lie in the same epoch to a common later anchor, take the multiset union of their actions and tachygrams, combine both accumulators, and produce one aggregated PCD proof. Each constituent stamp is replaced by a reference to the aggregate transaction's
wtxid; the aggregate carries the combined tachygrams, accumulators, anchor, and proof.
Consensus Validation
The bundle balance check and authorization-signature validation are unchanged from Orchard. Tachyon adds stamp verification and a live tachygram-duplicate window.
Stamp verification. Given , the published tachygrams , , and , the validator:
- checks that the target occurs in canonical chain history and obtains .
- confirms is either the current or the preceding epoch: .
- confirms that commits to the Poseidon digests of the covered Action descriptions and that commits to .
- verifies the stamp's PCD proof against the public inputs . The proof enforces the integrity of both accumulators, the revealed nullifiers and output commitments, and the initial inclusion and past exclusion of every spent note.
What the stamp proves. A stamp's PCD proof is bound to its public target , which is either the starting sentinel or an ordinary anchor in the target epoch . The diagram above shows where each historical claim ends:
- Same-epoch spend. Inclusion is established through the note's inclusion anchor in epoch . No nullifier-exclusion claim is needed before that point, because the note did not yet exist. Anchor-chain authenticity then connects the inclusion anchor to the target .
- Past-epoch spend. Authenticated closed-epoch history establishes inclusion in epoch , and authenticated full-epoch histories prove nullifier exclusion for every epoch in . This reaches . An authenticated active-epoch chain segment then reaches the target without making a further exclusion claim.
Thus, in either case, the stamp proves the required inclusion, all required exclusion before epoch , and an authentic path to its target anchor. It does not claim that is absent from epoch . The target anchor therefore cannot be interpreted as an exclusion endpoint. The stamp guarantees only the required exclusion prior to epoch : through for an older note, while a same-epoch note requires no past exclusion.
Target-epoch duplicate check. Every spend targeting epoch must therefore publish . Consensus places every tachygram published in epoch into one duplicate set. A candidate is checked against the values already in that set and then inserted, so later candidates are checked against it in turn. By the end of the epoch, the check has covered the whole of . Two spends of the same note targeting derive the same and therefore collide. This uniform whole-epoch check applies identically to same-epoch and past-epoch spends.
Epoch-boundary race. If stamps targeting were accepted only during epoch , publishing and checking epoch would suffice. In practice, a transaction may still be waiting in the mempool when epoch begins. Requiring an immediate proof refresh would make transaction validity brittle, so Tachyon also accepts an epoch- stamp during epoch . Each spend publishes the adjacent pair so that the same stamp remains protected after this boundary crossing.
Consensus window (new double-spend rule). The one-epoch grace period means that, while processing epoch , validators may see both fresh stamps targeting and lagging stamps targeting . Consensus therefore retains one duplicate window containing all tachygrams from the current and preceding epochs. Candidate tachygrams are processed in deterministic order, with each value checked and inserted before the next. A candidate consequently conflicts with the retained window, an earlier bundle in the same block, or an earlier tachygram in its own bundle.
For a stamp targeting epoch , the two possible acceptance times are safe:
- Accepted in . The live window is . Another spend targeting publishes the same . A spend targeting also publishes as its next-epoch nullifier, so a conflicting value published in either retained epoch is detected. A still older spend is impossible for a same-epoch note; for an older note, it lies within the history covered by the stamp's past-exclusion proof.
- Accepted in . The live window is . A competing spend targeting shares , while one targeting shares . A spend targeting that was accepted during epoch also published and remains in the preceding-epoch window. If it was accepted earlier, it lies before and is caught by past exclusion. As above, such an earlier spend is impossible for a note created in epoch .
Verifying standalone vs. aggregated bundles. Balance, authorization, and the tachygram-window check retain the same per-constituent semantics in both cases. A standalone bundle is verified against its own stamp. In an aggregated bundle, each constituent stamp has been replaced by a reference to the aggregate, whose single PCD proof covers the entire batch. Aggregation therefore amortizes proof verification without changing which actions, signatures, balances, or tachygrams consensus checks.
Proof Statement
First, we give the three monolithic statements an action's proof must satisfy: the per-action statements (Output or Spend), and the bundle-level statement that composes them. Their recursive realization via a PCD computation graph, where each step covers some sub-statements and recursively verify/fold input proofs, follows afterward.
Output Action Statement
A valid instance of an Output Action statement assures that, given the public input:
- : net value commitment
- : randomized action validation key, carrying no spend authority
- : the output note commitment, published as a tachygram
- : a dummy tachygram, so an output reveals two tachygrams, indistinguishable from a spend's nullifier pair
the prover knows the secret witness:
- : note opening, where is the recipient's payment key taken from their address
- : an arbitrary preimage for the dummy tachygram
- the randomizers
such that the following conditions hold:
- Value commitment integrity: , committing the negated created value (value entering the pool counts negatively toward , per the sign convention).
- Value range: in-circuit, with
zatoshi (
MAX_MONEY): non-negative as in Ironwood; zero-value outputs are legal (e.g., carrying a memo with no payment), while the upper bound keeps balance arithmetic overflow-free. - Note commitment integrity: , so the published commitment opens to this note.
- Dummy tachygram integrity: , where is a domain-separated hash reserved for dummy commitments.
- Nonzero tachygrams: and .11
- Authorization: and , binding the validation key to the output note. The signing key behind is itself, so creating an output requires no spend authority (rationale).
The statement contains no anchor or epoch. Historical context neither changes an output nor affects its validity.
Spend Action Statement
A valid instance of a Spend Action statement assures that, given the public input:
- : net value commitment
- : randomized spend-validation key
- : the spend-time nullifiers, published as tachygrams
- : the target anchor, which uniquely implies the spend epoch
the prover knows the secret witness:
- : note opening
- : authorization key and nullifier key
- : the note's inclusion epoch
- authenticated active anchor-span and closed-epoch QR-bucket evidence witnessing inclusion and every required past-nullifier exclusion
- the randomizers
such that the following conditions hold:
- Value commitment integrity: , committing the spent value (value leaving the pool counts positively toward , per the sign convention).
- Value range: is re-checked against the witnessed note. Although its creating output already enforced this range, the redundant check provides cheap defense in depth and keeps balance arithmetic overflow-free.
- Note commitment integrity: .
- Payment key integrity: .
- Spend Authority: and , binding the validation key to the note.
- Commitment Inclusion: occurs in an authenticated creation stamp in
epoch :
- Creation membership: is a member of the creation stamp's accumulator, i.e. .
- Creation stamp integrity: an authenticated anchor-chain history links the creation stamp to the target .
- Past Nullifier Exclusion: for every complete past epoch
, the nullifier never appears in that epoch's tachygrams:
- Past nullifier derivation: and .
- Nullifier nonmembership: the routed full-epoch accumulator selected by 's profile evaluates nonzero at .
- Tachygram integrity: its certificate binds the accumulator to all authenticated stamps between and .
- Spend-time Nullifier Integrity: and are this note's nullifiers at epochs , derived from and therefore bound to ; both are constrained nonzero.11
Bundle-level Statement
The bundle statement glues the per-action statements together. Given the public inputs and published tachygrams:
- : the common target anchor, which implies the target epoch;
- : the Action multiset commitment;
- : the associated tachygram multiset, two tachygrams per action; and
- : their accumulator, a PCS commitment to ,
it attests that:
- Per-action satisfiability: every Spend statement holds at the common target , and every Output statement holds.
- Action-multiset integrity: hashing each emitted with Poseidon produces exactly the multiset committed by .
- Tachygram association: each action contributes exactly its statement's pair— for a spend or for an output—and these pairs form exactly the published multiset .
- Accumulator integrity: commits to for exactly the published multiset .
The value-balance check, authorization signatures, and canonical target-anchor check remain outside the PCD statement. For an output-only bundle, the prover supplies the target directly; no output claim is made historical, and consensus performs the same canonical-anchor check.
Proof Tree
We now decompose the Output, Spend, and bundle-level statements into proof trees. Each node is a step: a bounded circuit that takes up to two child PCD proofs plus some private witness, checks part of its statement, and emits a fresh PCD proof. A step's output is its header (the "data" of proof-carrying data), the public input that captures the computation so far. Headers flow upward, from children to parents. A parent, besides proving its part of the sub-statement, bridges two children by loading both headers and equality-checking the fields they must agree on (e.g. the same field to ensure they are proving consistently against the same underlying note). Sufficient bridging checks make each decomposition into a tree of sub-statements sound.
Notation: we will use different font families for steps and headers: . Fields in a header are wrapped in braces: with dot accessor .
Naming: steps use "noun + verb" with verbs like "seed, fuse, lift, merge", and the noun is the header the step emits, not the one it reads. So fuses into an , and fuses into an although it reads two s. Most fuse steps read and emit the same header, which leaves the rule invisible until one does not. Three steps whose output is a part of what they read are named for the input instead: , and . Headers use a qualified noun like "NoteSpendable, ArbitraryUnspent, NoteUnspent".
Color: User scope is blue (), OSS scope is red (), and shared headers are green (). OSS-generated shared-evidence steps are red.
As previewed in the Tachyon transaction flow, the wallet proves note-specific facts, the OSS proves absence of nullifiers over past epochs, and shared evidence supplies closed-epoch evidence trees, authenticated bucket openings, and active anchor spans. The wallet bridges those branches only after the OSS proof returns.
Shared Evidence: Anchor Spans and Evidence Trees
Shared evidence has two durable final forms. Ordinary evidence advances stamps within the active epoch. Closed-epoch evidence authenticates a set of final QR buckets under one Merkle root. and are intermediate shared headers on the way to that tree. is both the routing network's output and what a query replays out of a tree leaf. Anchor spans do not use QR routing.
Active anchor spans. An anchor-span header is
where has one root for each anchor produced inside the span. is a root of and is not. witnesses one stamp transition, including the epoch and the tachygram-accumulator commitment absorbed by that transition, and emits its two endpoint anchors with the commitment to . takes two headers, requires the left endpoint of the second to equal the right endpoint of the first, proves that the combined is the product of the two halves' polynomials, and emits the outer endpoints. Since neither step admits a sentinel transition, a fused span cannot cross an epoch boundary. These headers are built only for the active epoch and are consumed only by .
flowchart LR classDef o fill:#fde8ea,stroke:#DC143C,color:#1a1a1a; classDef s fill:#e7f3ea,stroke:#228B22,color:#1a1a1a; AnchorSpanSeedA([""]):::o --> a[""]:::s AnchorSpanSeedB([""]):::o --> b[""]:::s a --> AnchorSpanFuse([""]):::o b --> AnchorSpanFuse --> out[""]:::s
Continuous stamp summaries. While epoch is active, an OSS continuously summarizes its stamps in bounded headers
starts from one stamp with accumulator : it sets and computes by absorbing into under epoch . fixes the old accumulator, next stamp accumulator, and product before its challenge, checks
and advances by absorbing the same commitment . A summary closes before another stamp would exceed the polynomial capacity. Thus its anchors bracket exactly the stamp transitions whose tachygrams are roots of ; summaries cannot cross a sentinel transition.
%%{init: {"flowchart": {"nodeSpacing": 12, "rankSpacing": 18, "padding": 4, "useMaxWidth": true}, "themeVariables": {"fontSize": "12px"}}}%%
flowchart LR
classDef o fill:#fde8ea,stroke:#DC143C,color:#1a1a1a;
classDef s fill:#e7f3ea,stroke:#228B22,color:#1a1a1a;
SummarySeed([""]):::o
summary0[""]:::s
SummaryAdvance([""]):::o
summary1[""]:::s
SummarySeed --> summary0 --> SummaryAdvance --> summary1
Streaming QR routing. During epoch , an OSS privately samples and turns each completed summary into
Here is the routing depth, and is the integer encoding of the QR profile bits encountered so far, with NQR encoded as and QR as . Appending a side bit updates to . Every routing header carries the network's first discriminant unchanged, so a header at depth classifies at without having to carry itself. The OSS keeps these routing headers unpublished until the epoch closes, so they do not reveal while users can still choose tachygrams.
The root profile has and the OSS's chosen . A stamp not yet included in a summary can enter through . This has the same root shape and binds its one stamp transition directly. equality-constrains to the consumed summary and fixes the root fields above; here encodes the empty profile. The single-stamp seed likewise carries exactly the stamp accumulator absorbed by its anchor transition.
For an empty epoch, emits the root intake
The sealing checks below authenticate both sentinels, so the empty polynomial cannot be used to omit a nonempty prefix.
Each realizes one bounded bucket in an abstract routing round: its anchor endpoints encode that bucket's source range, and its polynomial commits to the bucket's tachygrams. A round over buckets expands into fixed-arity proof steps.
realizes the atomic decomposition. It takes one intake polynomial , fixes proposed sides , and checks
Relative to the four QR decomposition substatements, enforces decomposition through the product identity and zero-value assignment through the nonzero opening at . It emits a header carrying both commitments.
Each invocation returns one side as a new while checking the purity of its sibling:
- returning the QR side enforces NQR purity of , proving that contains every QR root of the parent; and
- returning the NQR side enforces QR purity of , proving that contains every NQR root of the parent.
To realize one routing round, is invoked once for each side of every split. Each invocation requires and appends its chosen bit,
carrying through unchanged, so the child classifies at .
Checking the sibling proves the returned child is complete for its class: the product relation leaves nowhere else for a matching input root to go. Creation membership is also safe, because splitting and merging never add roots and a zero opening does not depend on the bucket's class label.
Because a round descends both sides of every split, both purity substatements are checked and the split is exact: carries precisely the parent's roots and precisely its roots, satisfying all four decomposition substatements. The two checks enforce each other, since a stray root left in makes the QR-side descent unprovable and a stray root left in makes the NQR-side descent unprovable. The exact partition is therefore the only split from which both children can be emitted, and it is what routing an epoch means; impure sides are not an expected outcome.12
What an individual child carries is weaker, because the two child proofs are not recombined: each child carries the split checks and its sibling's purity check, which proves completeness but not its own purity. This weaker per-branch claim is what the membership and non-membership queries below rely on. Applying the construction independently to all routing buckets produces the round's unmerged children.
joins two intakes only when they have the same epoch, profile, and first discriminant, their anchor ranges are contiguous, and the product fits the PCS degree limit. It fixes both input polynomials and their product before checking
Merge enforces none of the four decomposition substatements anew. Instead, repeated binary merges combine each contiguous block of same-profile outputs while preserving their completeness, root provenance, and range coverage. Where another merge would exceed the degree limit, neighboring pieces remain separate outputs of the round. Thus split, descend, and merge realize the abstract round's variable output arity without requiring a variable-arity proof step.
Routing and merging proceed as summaries arrive. Once the epoch closes, any profile represented by a single full-epoch intake can be sealed; remaining pieces continue through further decompose-merge rounds. verifies that the intake begins at and that applying the closing sentinel transition to its terminal stamp anchor yields , and requires . It emits the sentinel-bounded header
The following diagram collects all three intake paths and the subsequent closed-epoch QR routing flow. Every header is shared, while every step is run by an OSS. The two side branches show separate instances of the same descend, merge, and seal steps.
%%{init: {"flowchart": {"nodeSpacing": 10, "rankSpacing": 16, "padding": 3, "useMaxWidth": true}, "themeVariables": {"fontSize": "11px"}}}%%
flowchart TB
classDef o fill:#fde8ea,stroke:#DC143C,color:#1a1a1a;
classDef s fill:#e7f3ea,stroke:#228B22,color:#1a1a1a;
summary[""]:::s
QrSummaryIntake([""]):::o
QrStampIntakeSeed([""]):::o
QrEmptyIntakeSeed([""]):::o
root[""]:::s
QrIntakeSplit([""]):::o
sides[""]:::s
DescendNqr([""]):::o
DescendQr([""]):::o
child0[""]:::s
child1[""]:::s
peer0[""]:::s
peer1[""]:::s
Merge0([""]):::o
Merge1([""]):::o
merged0[""]:::s
merged1[""]:::s
Seal0([""]):::o
Seal1([""]):::o
bucket0[""]:::s
bucket1[""]:::s
summary --> QrSummaryIntake --> root
QrStampIntakeSeed --> root
QrEmptyIntakeSeed --> root
root --> QrIntakeSplit --> sides
sides --> DescendNqr --> child0
sides --> DescendQr --> child1
child0 --> Merge0
peer0 --> Merge0 --> merged0 -->|full epoch| Seal0 --> bucket0
child1 --> Merge1
peer1 --> Merge1 --> merged1 -->|full epoch| Seal1 --> bucket1
Evidence tree. The hash tree is quaternary, because one Poseidon permutation absorbs four children. The proof graph is binary, because a step reads at most two predecessor proofs. One node of the hash tree therefore takes two steps to build, and is the header in between: a node with two of its four children in place.
The tree uses two Poseidon digests, and they stay apart by length. A leaf digest absorbs a QR-bucket domain constant and the bucket header, nine field elements in all, because the commitment takes two. A node digest absorbs four children and nothing else. Absorption carries no length encoding, so the two digests never coincide, and a node never stands where a leaf belongs.
admits two sealed buckets. It reads two proofs and hashes each one's whole header into a leaf digest,
and emits the two digests as one half-node,
emits that same header from two subtrees in place of two buckets, and hashes nothing: it records that two roots sit side by side under one node. then reads two half-nodes and hashes their four roots, left pair first, into one node,
The pair header has two producers because a node's two children are either two buckets or two subtrees. The bottom level of the tree holds buckets, and every level above it holds subtrees.
A tree over buckets costs steps. That is the fewest possible, because every step emits one proof and proofs must reduce to one. pays for it in width: two leaf digests, six permutations, the most of any step here.
The tree is a perfect quaternary tree: every node holds four children, and every leaf sits at depth . A builder short of four repeats a child, and the repeat is the same proof in two slots, so it costs one step and not a subtree. A repeated child is a bucket the tree holds twice. No step forbids it, and no query notices. The smallest tree holds four leaves. A builder with one bucket serves that bucket's own proof instead.
Every step of the tree holds one invariant:
every leaf beneath is the digest of a sealed bucket whose own four network fields are the this header carries.
establishes it, because it reads two sealed bucket proofs and hashes their headers itself. Every other step preserves it. and require their two inputs to agree on the four fields and carry those fields to the output, so a leaf beneath the new root was a leaf beneath one of the inputs.
The invariant says nothing about which buckets are under the root. A sealed bucket already covers its whole epoch on its own, so a builder that leaves a bucket out loses only the ability to answer for that bucket. Once a bucket sits under a root, the builder keeps the tree proof and discards the bucket proof.
The diagram below builds two levels. Four buckets reach one node, and that node joins three sibling subtrees under the root.
flowchart TB classDef o fill:#fde8ea,stroke:#DC143C,color:#1a1a1a; classDef s fill:#e7f3ea,stroke:#228B22,color:#1a1a1a; bucket0[""]:::s bucket1[""]:::s bucket2[""]:::s bucket3[""]:::s leafpair0([""]):::o leafpair1([""]):::o pair0[""]:::s pair1[""]:::s fuse0([""]):::o tree0[""]:::s tree1[""]:::s tree2[""]:::s tree3[""]:::s pairfuse0([""]):::o pairfuse1([""]):::o pair2[""]:::s pair3[""]:::s fuse1([""]):::o root[""]:::s bucket0 --> leafpair0 bucket1 --> leafpair0 --> pair0 --> fuse0 bucket2 --> leafpair1 bucket3 --> leafpair1 --> pair1 --> fuse0 fuse0 --> tree0 --> pairfuse0 tree1 --> pairfuse0 --> pair2 --> fuse1 tree2 --> pairfuse1 tree3 --> pairfuse1 --> pair3 --> fuse1 fuse1 --> root
A query walks the tree back down, and the whole path is a private witness. reads one tree. Per level it witnesses that node's four children and two side bits, and it checks that the four children hash to the node it holds. The outer bit selects a half, and the inner bit selects within that half. The selected child is the next node. The step emits the subtree it reached, again as an . The invariant survives the walk, because every leaf of a subtree of a valid tree is a leaf of that tree.
A descent walks four levels. The number is fixed, because a circuit's witness has a fixed shape. The depth of the tree must therefore be a multiple of four. It is not one in general: the depth is , which answers to the bucket count and not to the descent. A tree three levels short leaves the last descent with nothing to read, because below a leaf there is no node.
supplies the missing levels. It reads one tree and emits a tree whose root is : one new node, with the old root in all four slots. The tree gains a level above its root and keeps the leaves it had, so the invariant holds. A descent through that level reaches the same child for any side bits, so the level is a no-op that a fixed-width descent can still walk.
The two paddings answer different constraints, and a tree can need either alone. Repeating a child fills a short level, below, so that every node holds four. Capping raises to a multiple of four, above the root, so that whole descents reach a leaf. Neither one builds a bigger tree. A repeat is one proof in two slots, and a cap is one node over four copies of one root. Five buckets need both: they pad to leaves, which gives , and two caps raise to for one descent. A tree over buckets needs no leaf padding at all, because the count is already a power of four, and still takes three caps to carry to for four descents. A tree at takes neither.
Capping is also the cheap way to reach a depth. One cap is one permutation, once, and every later query shares it. Reaching the same depth from below would cost a step for every leaf added, and depth is logarithmic in the leaf count: means leaves, and means .
The last descent emits a tree of depth zero, whose root is the leaf digest itself. reads that tree. It witnesses the profile and the tachygram-set commitment, checks them against the leaf digest, and emits the bucket itself,
This is the invariant at depth zero: with one leaf beneath the root, "every leaf is a sealed bucket of this network" is a statement about that one bucket, and the step reads it off. The leaf payload is the bucket header, so what comes out is a and every consumer of a sealed bucket accepts it. accordingly has two producers, and , and both carry the same claim. is the only step that emits a tree whose root is a leaf digest, so every open follows a descent.
Two properties make the replay safe. First, a descent that stops one level early reaches a node, and no leaf preimage opens a node digest, so an open cannot present a node as a bucket. Second, the digest binds to the contents. A real bucket's contents under another value's profile would pass a non-membership fold and open nonzero, and would prove exclusion for a tachygram that belongs to a different bucket.
The path and the profile stay separate concerns. A membership consumer checks directly: every authenticated bucket polynomial divides the full-epoch tachygram polynomial, so any root is a tachygram published in that epoch, and the profile plays no part. A non-membership consumer also derives the first discriminants from , checks that the QR classifications of encode , and then checks . Each non-residue profile bit also requires . This separation keeps every step bounded.
flowchart TB classDef o fill:#fde8ea,stroke:#DC143C,color:#1a1a1a; classDef s fill:#e7f3ea,stroke:#228B22,color:#1a1a1a; tree[""]:::s cap([""]):::o padded[""]:::s descend([""]):::o leafTree[""]:::s open([""]):::o bucket[""]:::s tree -->|"depth not a multiple"| cap --> padded --> descend tree -->|otherwise| descend descend --> leafTree --> open --> bucket
The diagram below summarizes the active anchor-span and closed-epoch QR headers. may end at the active tip; and its bucket openings are available only for complete past epochs.
Same-epoch Spend
We start with the simplest case: a user spends a note created in the same epoch (). No past exclusion is required, so the spend needs no OSS assistance.
%%{init: {"flowchart": {"nodeSpacing": 20, "rankSpacing": 15, "padding": 5}}}%%
flowchart TB
classDef u fill:#e8eeff,stroke:#4169E1,color:#1a1a1a;
classDef o fill:#fde8ea,stroke:#DC143C,color:#1a1a1a;
classDef s fill:#e7f3ea,stroke:#228B22,color:#1a1a1a;
notesecret[""]:::u
spendable[""]:::u
spendheader[""]:::u
spendstamp[""]:::u
outputstamp[""]:::u
stamp[""]:::u
stampprime[""]:::u
anc[""]:::s
SpendableInit([""]):::u
SpendBind([""]):::u
SpendStamp([""]):::u
OutputSeed([""]):::u
StampMerge([""]):::u
StampLift([""]):::u
SpendableInit --> spendable --> SpendBind --> spendheader --> SpendStamp --> spendstamp
notesecret --> SpendBind
OutputSeed --> outputstamp
spendstamp --> StampMerge
outputstamp --> StampMerge
StampMerge --> stamp
stamp --> StampLift
anc --> StampLift
StampLift --> stampprime
Each completed spend or output branch emits a header whose commits to the single root and whose commits to that action's two tachygrams. multiplies both input multiset polynomials and emits their two commitments.
always means, relative to its carried anchor lineage, that its is included and every required past nullifier is excluded before its epoch. The lineage does not contain a note opening. compares the of the lineage with the on . takes the creation stamp data as private witness, proves occurs among that stamp's tachygrams and is a root of its accumulator, then computes the stamp's resulting anchor from that same accumulator. The later connects this seed-rooted lineage through evidence to a target checked against canonical history. A same-epoch spend requires no past exclusion because the note did not exist before that stamp, so this base case satisfies the same conditional invariant. For , the input stamp anchor must be or a root of its ,
and the output stamp anchor equals . records which anchors are in the span and not their order. The output anchor is therefore always . The span contains only authenticated stamp transitions and admits no sentinel transition, so the lift remains within the same spending epoch. Sufficient lift is needed to obfuscate the inclusion block for spend unlinkability. requires the target anchor and carried spending epoch to remain aligned. Consensus later checks that the target anchor occurs in canonical history in that epoch.
Users may cache the immediately after note inclusion and send it to a hardware wallet for spend-time signing in parallel with , and the later steps.
To map back to the monolithic action statement, our steps cover these sub-statements respectively:
- : all of output action statement.
- : conditional creation-stamp commitment membership; past nullifier exclusion is unnecessary in the inclusion epoch.
- : spend-time nullifier integrity, integrity of and , and the value range of . The step compares the on with the of the lineage. It derives and from the on , and constrains the two nullifiers to be nonzero. It commits the value of the note on as . It puts the target , and on .
- : integrity of , and the spend authority . The step checks that the witnessed derive the on .
- : ensures action and tachygram accumulator integrity at the bundle level.
- : proves same-epoch ancestry from the stamp's old anchor to its target .
The division into and is a consequence of the circuit budget. It is not a division of the statement. reads , and reads what puts on . If one circuit that contains both sets of conditions is not larger than the shared rank of the proof system, the two steps become one step. An implementation can divide into a bind step and a stamp step for the same reason.
Past-epoch Spend
When a wallet comes back online, it may rebuild or refresh spendability proofs for all its unspent notes. Once a note's inclusion epoch is in the past, spending it requires proving exclusion across every intervening epoch. The inclusion branch and exclusion branch remain independent. Each first replays its selected bucket out of the epoch's . A membership opening against the resulting proves that occurred in epoch . Separately, the user-owned consumes only the selected by 's profile. It privately witnesses the note opening and , then enforces
It copies and both sentinels from the opening, derives the nullifier's complete QR profile from , matches , and proves . Thus the output and excluded nullifier come from the same note, while the QR query proves absence from the whole epoch. The step emits
This direct singleton path replaces both the ranged proof and for the inclusion epoch. Those general steps remain useful for delegated, extensible later ranges.
consumes the singleton and the independent bucket opening. It requires the same epoch and sentinel endpoints, carries from the verified header, and proves without deriving or checking 's profile. It does not reopen the note, derive or test a nullifier, or consume anchor-span evidence. It emits the fully established
%%{init: {"flowchart": {"nodeSpacing": 20, "rankSpacing": 25, "padding": 5}}}%%
flowchart TB
classDef u fill:#e8eeff,stroke:#4169E1,color:#1a1a1a;
classDef s fill:#e7f3ea,stroke:#228B22,color:#1a1a1a;
vfyincl[""]:::u
inclTree[""]:::s
inclNfBucket[""]:::s
cmBucket[""]:::s
spendable[""]:::u
NoteUnspentInit([""]):::u
SpendableReinit([""]):::u
OpenInclNf([""]):::u
OpenCm([""]):::u
inclTree --> OpenInclNf --> inclNfBucket
inclTree --> OpenCm --> cmBucket
inclNfBucket --> NoteUnspentInit --> vfyincl
vfyincl --> SpendableReinit --> spendable
cmBucket --> SpendableReinit
Later exclusion ranges extend that reinitialized :
%%{init: {"flowchart": {"nodeSpacing": 20, "rankSpacing": 25, "padding": 5}}}%%
flowchart TB
classDef u fill:#e8eeff,stroke:#4169E1,color:#1a1a1a;
classDef o fill:#fde8ea,stroke:#DC143C,color:#1a1a1a;
classDef s fill:#e7f3ea,stroke:#228B22,color:#1a1a1a;
spendable[""]:::u
notesecret[""]:::u
nfwindowA[""]:::u
nfwindowB[""]:::u
nf[""]:::u
unspent[""]:::o
unspentprime[""]:::o
laterTree[""]:::s
laterNfBucket[""]:::s
vfylater[""]:::u
spendableprime[""]:::u
spendheader[""]:::u
spendstamp[""]:::u
UnspentSeed([""]):::o
UnspentLift([""]):::o
NoteSeed([""]):::u
NullifierDeriveA([""]):::u
NullifierDeriveB([""]):::u
NullifierFuse([""]):::u
UnspentBind([""]):::u
OpenLaterNf([""]):::o
SpendableLift([""]):::u
SpendBind([""]):::u
SpendStamp([""]):::u
NoteSeed --> notesecret
notesecret --> NullifierDeriveA --> nfwindowA --> NullifierFuse
notesecret --> NullifierDeriveB --> nfwindowB --> NullifierFuse
NullifierFuse --> nf
UnspentSeed --> unspent --> UnspentLift --> unspentprime --> UnspentBind --> vfylater
laterTree --> OpenLaterNf --> laterNfBucket --> UnspentLift
nf --> UnspentBind
spendable --> SpendableLift --> spendableprime
vfylater --> SpendableLift
spendableprime --> SpendBind --> spendheader --> SpendStamp --> spendstamp
notesecret --> SpendBind
witnesses the value and the trapdoors of one note with . It derives . It computes and . It is the only step that binds a note to its . Each subsequent step reads note fields that this step bound. It emits the reusable wallet-local header
Each consumes that header and derives one bounded window. Let be the circuit's fixed number of sponge groups and . The step witnesses a group-aligned start , sets , evaluates the batched nullifier construction once per group, and commits to
The commitment is fixed before a fresh challenge , after which one opening is checked against the same product evaluated directly from the in-circuit batched outputs. The step emits
is an implementation parameter rather than part of the nullifier construction; for example, covers sixteen epochs when .
combines two windows carrying the same . For ranges and , it checks the shared endpoint and proves
after all three commitments are fixed. It emits their union over . Repeated fuses therefore build any consecutive locally derived range from bounded batched steps.
Later past exclusion is built independently. derives bounded local windows from the note and combines them into a ranged nullifier commitment. The wallet may give the OSS the relevant opaque pairs , but no note-opening data. An header has the form
where contains one indexed factor for every epoch in . creates the empty range with . This seed cannot be bound into a spendable proof until at least one epoch is appended. Each :
- requires its current right sentinel to equal the input 's left sentinel;
- requires that bucket to cover the next epoch ;
- takes the opaque as witness, derives its complete QR profile from , matches , and proves in the same query step; and
- appends the indexed factor , fixing the old and new commitments before the oracle challenge and enforcing then sets and advances the right sentinel to .
These equalities force consecutive sentinel-to-sentinel advancement: an OSS cannot skip, repeat, or reorder an epoch. The resulting proof covers exactly , bracketed by .
then makes this note-independent proof note-specific. It requires and , and checks that the OSS commitment is an indexed subset of the wallet's locally derived commitment using the quotient relation. It carries the local into while retaining and their sentinels. Because each commitment factor binds both its epoch and value, this proves that every nullifier tested by the OSS is the actual nullifier derived for that note and epoch.
The inclusion-epoch singleton bypasses these general steps through and is consumed by . Every later instead feeds , which requires both children to carry the same and enforces the ordinary forward seam
For the first lift, , so later exclusion begins exactly where the reinitialized spendable ends. then derives for that epoch from the on , and does the same value checks as the same-epoch case. does the same authority checks, and emits . The diagram does not show output construction, stamp merge, or the final in-epoch stamp lift, because these steps do not change.
Delegation Extension and Multiple OSSs
The singleton inclusion-epoch is built and consumed separately at reinitialization. Beyond it, both branches remain extendable. The wallet derives another local window and combines it with ; an OSS extends a range beginning no earlier than by applying and to the next full-epoch tree. That later range need not fix its final endpoint in advance.
A wallet may also delegate different ranges to different OSSs. To combine two adjacent results, takes
It requires and equality between 's ending sentinel and 's starting sentinel. These checks establish order and exclude gaps or overlaps. It then emits
setting and proving the product identity at a random point after all three commitments are fixed. Although polynomial multiplication is commutative, the endpoint checks make the merged historical range ordered. Repeated merges can combine any number of adjacent post-bootstrap OSS results before the wallet binds them to its note. They do not absorb the separate inclusion-epoch singleton.
%%{init: {"flowchart": {"nodeSpacing": 20, "rankSpacing": 20, "padding": 5}}}%%
flowchart TB
classDef u fill:#e8eeff,stroke:#4169E1,color:#1a1a1a;
classDef o fill:#fde8ea,stroke:#DC143C,color:#1a1a1a;
left[""]:::o
right[""]:::o
merged[""]:::o
nf[""]:::u
verified[""]:::u
UnspentMerge([""]):::u
UnspentBind([""]):::u
left --> UnspentMerge
right --> UnspentMerge
UnspentMerge --> merged
merged --> UnspentBind
nf --> UnspentBind
UnspentBind --> verified
performs the same ranged-commitment indexed-subset check on the merged polynomial as on a single OSS result. The OSSs learn only the opaque nullifiers and ranges assigned to them; they do not learn , the note opening, another OSS's proof, or the eventual spend anchor. Request timing and range-selection policy remain wallet-level privacy concerns.
Aggregation
first combines the spend and output stamps within one transaction. Network aggregation applies the same operation one level higher, merging finished stamps from independently proven transactions.
Constituent stamps may carry different anchors in the same epoch. Before merging, the aggregator uses and shared evidence to move them to a common later anchor. The lift must remain within one epoch: crossing a sentinel would change the active nullifier window without proving the intervening exclusion. Once aligned, checks equal anchors, unions the action and tachygram multisets, proves each output accumulator is the product of its input accumulators, and folds the child proofs.
The resulting aggregate stamp has the same shape as a standalone stamp and can
be merged again. Balance and authorization remain attached to each constituent
transaction; aggregation neither creates nor removes an action. At block
construction, covered transactions discard their redundant stamps and refer to
the aggregate by wtxid, as detailed in the aggregation chapter.
Payment Protocol
As established in the motivation, the payment protocol owns secure note transmission. That entails a full payment address carrying the key material for incoming-note detection, plus infrastructure for fast memo retrieval and spending-witness construction. The leading Tachyon-compatible payment protocol is being developed by ValarGroup; we sketch their architecture and design rationale here.
flowchart TB
subgraph _Payment Protocol_
addr["**Address Creation**
Payment link"]
memo["**Memo Encryption**"]
discovery["**Note Discovery**
Incoming note detection + decryption"]
check["**Spendability Check**
Note spendability + Faerie Gold Prevention"]
wit["**Witness Construction**
Cached spendability, delegated exclusion, local lift, stamp assembly"]
end
subgraph _Shielded Protocol_
transfer["**Shielded Transfer**"]
end
addr -- "`pk_d`" --> transfer
memo -- "`(tag, memo)`" --> transfer
transfer --> discovery --> check --> wit
The infamous13 pain point of the existing note-transmission mechanism is shielded sync by trial decryption of memos distributed in-band. Roman's article gives a detailed motivation and problem statement; briefly, the linear scan it requires leaks metadata and grows infeasible for bandwidth-limited mobile wallets as Zcash throughput scales.
One promising remedy is Private Information Retrieval (PIR), which lets a
client query a database without the server learning anything about the query
(slides below by Corrigan-Gibbs).
With PIR, the sender publishes the encrypted memo with a short tag attached, and
the resulting (tag, encrypted_memo) pairs are stored in a PIR database for
instant, leak-free retrieval.
PIR Databases
Modern single-server PIR trades preprocessing for a faster online
response and lower per-query communication. Since many of the costs we care about
scale as , we keep every database bounded, capping its expected
size to hold overhead in check. For our scope, the payment protocol maintains at
least the following PIR databases (entries written as key => value):
- Epoched memo DB: a per-epoch
tag => memostore, synced from the DA blobs on chain. - First-contact memo DB: a
tag => KEM.c || memostore for the handshake transactions, synced from chain. It is also chunked, but over a much longer horizon than per-epoch, given how rare first-contact transactions are. - Epoched tachygram DB: a per-epoch,
hash-table-bucketed
H(tg)[:4] => tg (32 bytes) || blk_height (u32_le) || anchor_height (u32_le) || action_count (u8)store, recording each tachygram together with its stamp's block and post-stamp anchor, synced from stamps on chain. - PKI DB: an off-chain address registry
H(addr) => addr, returning a full address (its ML-KEM encapsulation key and payment key) from a short digest.
Full Payment Address
The decoupling split the owner-binding payment key from the note-transmission key, leaving the latter for the payment protocol to define. A Tachyon payment address is
with two components, both minted fresh per sender:
- Payment key : the owner field every note commits to (defined earlier), committing to a freshly indexed pair so that payment keys from the same wallet are unlinkable. The decoupling lets us refresh it independently of the transmission key.
- Transmission key : the encapsulation key of a freshly sampled ML-KEM key pair.
Why not an Orchard-style transmission key. Orchard derives a whole family of diversified transmission keys from diversified bases , all sharing one incoming viewing key . This is convenient, since minting as many unlinkable addresses as needed never increases the number of viewing keys note discovery must scan. But it is not quantum-private: a sender who later gains access to a quantum computer could retroactively recover by breaking discrete log, and a single exposes every incoming note of the recipient, past and future. ML-KEM sidesteps this, as its encapsulation is lattice-based and post-quantum secure, and the symmetric encryption under the KEM-derived shared secret is already quantum-safe today.
No persistent viewing key? Tags to the rescue. An unfortunate byproduct of switching to ML-KEM is that the "diversified base, same " algebraic relation no longer holds14: instead, the decapsulation key is freshly sampled for each new address. Naively, this multiplies the cost of shielded sync by the number of in the wallet, since each must be trialed during the linear scan. PIR shortcuts that trial decryption by attaching to every encrypted memo a retrieval handle, the , which the recipient queries the memo database with directly. The incoming viewing key in Tachyon is therefore effectively:
As the figure below shows, we sample the KEM key pair deterministically. Although
ML-KEM's public KeyGen
is randomized, wallets invoke the derandomized KeyGen_Internal(d, z) with
derived from the HD-wallet master spending key, so the key pair is
reproducible from the seed. The sequence of tags is bound to the shared secret of
a channel, predictable to the two parties but opaque to everyone else. We say more
about tags in the next section.
Two freshness schedules: per-sender and per-note. Address diversification historically existed to stop colluding senders from recognizing that two addresses belong to the same recipient, which calls for a per-sender schedule for . Tags need a tighter one: since a appears directly on chain, any reuse would link the two transactions carrying it to the same recipient, so a fresh tag must be generated for every output note.
Payment address PKI. An ML-KEM encapsulation key is a few kilobytes, too large for a QR code or payment URI. We therefore keep a PIR database that maps a short digest to the full address, , queried on demand. Two concerns remain open: the registry grows without bound, and rerunning PIR preprocessing on every new entry is expensive. In practice we will likely split the registry into size-capped chunks, conceding a few bits of privacy so that a preprocessing rerun touches only the last, not-yet-full chunk.
Note Discovery
In one breath: first contact hands the sender a fresh address, the opening transaction completes the handshake, a stateful wallet then fast-syncs through the PIR databases, and an AEAD-encrypted wallet state posted on chain backs full recovery from the mnemonic alone.
Note discovery breaks into three interrelated procedures: handshake, stateful sync, and recovery. In the handshake, a tentative sender makes first contact and obtains a distinct KEM encapsulation key from the recipient, establishing a shared secret that will encrypt every future note sent to that recipient. The tags attached to those encrypted memos, the recipient's advice for fast PIR retrieval, are derived deterministically from and known only to the two channel parties. Once the recipient comes online and decapsulates , its wallet enters stateful sync, updating its local state (handshake material, the number of notes seen on the channel, and each note's spendability) as it syncs blocks with help from the PIR databases. Finally there is the rare case of recovery from mnemonic, where a wallet rebuilds its state from scratch by scanning the chain alone, ideally accelerated by PIR servers when available.
We examine each procedure more closely and explore possible design choices.
Everything starts with the recipient sharing a fresh address: the sender uses its payment key to construct the output note and its transmission key for secure in-band secret distribution. Disseminating is trivial when the two already share a secure channel (Signal, WhatsApp, and the like), and a recipient may simply publicize contact info for anyone to reach. The first-contact problem arises when the recipient would rather not broadcast a private contact (opening an OOB channel with every sender) or is not always online to answer handshake requests. The simplest answer is a dynamic URI that serves a fresh from a precomputed sequence on each access, in practice a self-hosted page handing out a new HD-derived on every click15.
Once the sender has , it runs KEM.Encaps(ek) to obtain the shared secret
and a KEM ciphertext 16, and from then on encrypts every note to the
recipient symmetrically under . The ciphertext is sizable, 768 bytes to 1.5
KB in ML-KEM depending on security level, far more than the 32-byte
that plays the analogous role in Orchard. This overhead is the
primary reason we maximize shared-secret reuse. Three subtleties follow:
- Only first-contact transactions carry the KEM ciphertext ; follow-ups omit it. The resulting distinction is harmless: in the security reduction the simulator emits transactions with and without the field at random, so ledger indistinguishability still holds.
- Costly as first contact is, parties with an existing secure channel should still not send a randomly sampled shared secret directly: that has no forward secrecy and leaks all past and future incoming notes the moment the channel is breached. Nor should they send the encrypted memo over the OOB channel, unless the recipient will spend it soon, since a memo with no on-chain backing complicates wallet recovery and can permanently strand unspent coins.
- For two payments to the same recipient to be mutually unlinkable, the sender must open a new channel; by design, all notes on one channel trace back to the same first-contact , and hence to the same sender.
Beyond the shared secret that produces the encrypted memo, the other half of the memo-encryption task is attaching a short tag for fast retrieval. As noted above, tags must be distinct per note. Ours are all derivable from the shared secret, except for the first-contact tag:
The whole sequence is predictable to the channel parties but private to everyone else. The first-contact tag cannot depend on : the recipient does not yet hold at first contact, and binding the tag to would force a trial decapsulation of every transaction with a non-empty KEM-ciphertext field. Setting instead lets the recipient locate the first-contact transaction and its memo with a single PIR query. The predictable sequence keeps wallet tracking state minimal, eases mnemonic recovery, and preserves unlinkability.
Alternative tag designs that don't work.
First, who picks the tag values?
- Sender-picked: too much bookkeeping for the recipient wallet, and it needs integration (or manual relaying) between the messaging app and the Zcash wallet.
- Receiver-picked, random: the recipient must be online to issue new tags before more notes can be sent, and wallet state grows linearly in the number of tags.
- Receiver-picked, sequentially derivable: minimal wallet state, just the
first-contact seed and a running
num_tagscounter.
Second, what does the sequential derivation look like?
- : if leaks, anyone can derive the whole sequence, breaking unlinkability.
- : works, but recovering the -th tag means walking the entire hash-chain prefix.
- : random access, but the first-contact tag is unknown to the recipient, forcing a trial decapsulation for .
- : checks every box.
To detect notes, the recipient first settles any new handshakes by querying the
first-contact memo DB at , for each it handed out in an
address. On a hit it runs KEM.Decaps(dk, c) to recover the shared
secret and decrypt the memo. From there, detecting that sender's later notes
is cheap: the subsequent tags are all computable, and querying them against the
epoched memo DB is near-instant, at most one PIR query per unsynced
epoch to collect every tagged memo since the last sync. The minimal state a
wallet keeps locally for a fast next sync is:
where is the HD derivation index of the channel's , its first-contact block, and the number of notes detected on it so far; each note additionally records its plaintext opening, its mint block, and the block where the last sync stopped. In normal operation a wallet caches far more, such as the of each channel, to avoid recomputation.
Last and perhaps most important, a wallet must be recoverable from the mnemonic alone, even if more slowly than a stateful resync. The idea is to periodically encrypt the minimal state under authenticated encryption and post the ciphertext on chain, reusing the optional opaque data field we add to the transaction format. A wallet starting from scratch reverse-scans from the chain tip, trial-decrypting these wallet-state ciphertexts; on the first hit it recovers its state and returns to fast, PIR-accelerated syncing.
Note Spendability
Two questions gate whether a received note is worth keeping: is it actually spendable, and is it free of Faerie-gold collisions.
Spendability and witness data. A note is spendable only if its commitment was added to the pool and its nullifier has stayed absent since. Building and maintaining the spendability proof means knowing, for any tachygram, whether and where it appears on chain, exactly what the epoched tachygram DB answers privately. A wallet PIR-queries it to locate its note's commitment (for inclusion) and to confirm its per-epoch nullifiers are absent (for exclusion), without revealing which tachygram it is asking about.
Faerie-gold prevention. Recall the shielded protocol pushes Faerie-gold detection to the wallet: a cheap nullifier test lets the recipient reject colliding notes. On receiving a note the wallet computes its nullifier at a fixed reference epoch and checks it against the notes it already holds. A malicious sender has two avenues, both blocked:
- Reused . Two notes sent to one recipient with the same share every ; recomputing at the reference epoch exposes the collision, and the wallet keeps only one (only one was ever spendable).
- Targeted collision. Choosing a whose nullifier collides with that of an honestly created note is a second-preimage on the nullifier derivation, infeasible for a hash/PRF-based .
Witness Construction
Witness construction is where the payment protocol's databases feed the shielded protocol's transaction life cycle. Having discovered and validated its notes, a wallet:
- uses creation-stamp data from the epoched tachygram DB to build and
cache an active-epoch
NoteSpendableproof as soon as the creation block finalizes; - independently extends one local header and delegates opaque nullifiers and sentinel-bounded epoch ranges to one or more OSSs;
- after the inclusion epoch closes, directly binds its derived to one through , then joins that singleton exclusion with the separate bucket opening at ; later lifts consume ranges beginning at ; and
- folds the updated spends and spend-time outputs into a fresh stamp, advances it with active evidence if needed, then performs authorization.
A same-epoch spend skips steps 2 and 3. If the wallet crosses an epoch without OSS help, it uses the same unspent steps locally rather than a different statement.
In short, the shielded protocol defines what the witness must prove, and the payment protocol supplies the data-availability and private-retrieval layer that makes assembling it practical at scale.
Quantum Safety
Tachyon is designed to be quantum-private today and quantum-sound after a future upgrade. These are different bars. Privacy must hold retroactively, since an adversary can harvest today's chain and decrypt once it has a quantum computer, so anything protecting privacy must already be post-quantum. Soundness (no forgery, no theft) need only hold at spend time, so it can wait for a coordinated network upgrade before quantum computers arrive.
Quantum-private today. Everything Tachyon publishes is either a hiding commitment or encrypted under post-quantum symmetric/KEM crypto, so a future quantum computer learns nothing about old transactions:
- the owner field and the note commitment are hash/symmetric (Poseidon) commitments, hiding even against a quantum computer;
- nullifiers are PRF/hash outputs, pseudorandom against a quantum computer, so spend unlinkability survives;
- memos travel under ML-KEM, post-quantum from day one.
The only discrete-log values on chain are the per-action value commitment , the randomized validating key ( for spends, for outputs), and the binding key. The Pedersen is perfectly hiding, so even a quantum computer learns nothing about . Re-randomization makes the other two quantum-private as well: a quantum computer can take the discrete log of to recover , but is a fresh secret mask, so the result is unlinkable to or to any other spend. Privacy and unlinkability therefore already hold against a quantum adversary.
Not yet quantum-sound. What a quantum computer can do is forge. Recovering from lets it authorize a spend, and breaking the discrete-log-based PCD proof system lets it fabricate a spend proof for a note it does not own. Together that is theft, not a privacy break, which is why soundness can wait for a coordinated upgrade. Two pieces must then go post-quantum: the re-randomizable signature (Schnorr re-randomization is intrinsically discrete-log, below) and the proof system itself (below). A third classic obstacle, discrete-log address diversification, never arises here, as the payment protocol already replaced with a fresh per-sender ML-KEM key (above).
PQ Signature Re-randomization
Re-randomization buys unlinkability by publishing a fresh-looking but valid key/signature each spend. With no post-quantum re-randomizable signature, we recover the same effect from zero knowledge. Instead of broadcasting a signature to be checked against , the spender proves knowledge of a valid post-quantum signature in zero knowledge. The proof reveals nothing about the signature, so two spends by the same key stay unlinkable, exactly what re-randomization provided. Proving signature knowledge in-circuit puts a premium on a circuit-friendly scheme, one cheap to verify inside a proof; SNARK-friendly post-quantum signatures such as CAPSS, built on arithmetization-oriented permutations, are designed for exactly this. And since authorization is now a proof rather than a separate signature, it folds into the transaction's PCD proof, unifying authorization and validity into one post-quantum artifact. The randomized key then drops out of the action description entirely. One detail moves with it: today 's randomizer is what binds the note to its action, so with gone that binding has to be re-established as a constraint inside the proof statement.
PQ PCD Proofs
The remaining gap is the proof system itself. Tachyon's PCD/folding (Ragu) commits with discrete-log-based polynomial commitments, which a quantum computer breaks, undermining the proof soundness that the theft vector above relies on. A full quantum upgrade swaps this for a lattice-based folding scheme resting on SIS/Module-LWE rather than discrete log. The folding structure that makes Tachyon's spendability proofs incremental is preserved; only the underlying commitment and its hardness assumption change. Concrete lattice folding constructions are an active research area, and the details remain TBD.
-
One way to convince yourself that such separation works is to reproduce all of Orchard functionalities in this decoupled framework. We leave it as a homework exercise for the readers. As a hint, your diversified address now may look like where is the diversified payment key, is the diversified transmission key. Your can now be directly derived from master spending key , rather than meandering through layers of indirect derivation (similarly for outgoing viewing key). ↩
-
Tachyon sticks with , a Schnorr-based signature over the Palla curve supporting re-randomization, as in Orchard. See our approach when fully migrating to post-quantum world. ↩
-
Pseudorandom values like and should be deterministically derived from the wallet master key via secure KDF to avoid poor operational entropy. The derivation should be standardized. ↩
-
Sapling and Orchard uses variants of the vector Pedersen commitment, which relies on DLog hardness. We choose Sponge-based Hash constructed from algebraic permutation Poseidon. ↩
-
Ragu PCD proof, through reduction of knowledge, reduces down to a list of evaluation claims of multiple opening points on multiple polynomials. These claims are then folded into a single running aggregated claim. Ragu expose the capability to fuse online/application-time polynomial queries into the proof system directly, without encoding the evaluation through the constraint system which can be expensive. This is spiritually similar to lookup argument enforced as part of the PIOP relation rather than through the circuit. ↩ ↩2 ↩3
-
In crypto literature, a universal accumulator is dynamic (supports insertion and removal) and supports both membership and non-membership proofs. ↩
-
Without the dummy, a spend would carry two tachygrams and an output one. A bundle already reveals its action count (one authorization signature per action), so the tachygram count would give away the split: spends and outputs. Padding fixes identically, hiding the split. The leak without padding is only arity: tachygrams ride in the stamp as one flat multiset, so which action is a spend is never visible either way. ↩
-
txidandSIGHASHare domain-separated with different personalization strings, but they commit to the same effecting data.SIGHASHfurther incorporates a SIGHASH type byte, thenConsensusBranchIdnetwork-version identifier (e.g., NU5, NU6), and other consensus-level metadata. ↩ -
Estimate from zka.lc: MSM on over Pallas using Zcash's
pasta_curvesimplementation on an AWS EC2 m5.2xlarge instance. ↩ -
Writing for the quadratic character, distinct translates satisfy , while standard character-sum bounds place each fixed -bit profile within of field elements, apart from the zero convention. Since random translates each fixed input uniformly, expected bucket loads are correspondingly balanced; for in the protocol field, the relative deviation is negligible. ↩
-
Every published tachygram is constrained nonzero. Poseidon outputs hit zero only with negligible probability, but the explicit guard reserves zero as a degenerate value: it keeps every accumulator factor non-trivial, and closes the zero-valued edge cases that tend to produce identity points in committed form, which in-circuit point representations cannot hold (a bug class already paid for once in the implementation). ↩ ↩2
-
A builder that wants only the bucket for one profile prefix can descend along that path alone, constraining only the siblings it meets. Such a chain does admit children that retain opposite-class roots, and the resulting bucket is still sound: an extra is a genuine tachygram of the span whose profile differs from the bucket's in a position the query checks, so it can never equal a matching candidate and only makes a non-membership opening stricter. The extras still consume the bucket's degree budget, and every sibling branch is forfeited, so a builder serving arbitrary queries covers all profiles and splits exactly. ↩
-
Due to the linear cost of the shielded sync and an unprotective gas price, Zcash NU5 experienced a DOS attack, referred to as the sandblasting attack, preventing wallets from syncing fast enough to access their funds. ↩
-
The diversified-base trick yields two key pairs and that are unlinkable yet share the same . Such a relation is easy in the discrete-log world but has no known secure analogue in the LWE world. ↩
-
A fancier option is an introduction service that shares a channel with the recipient Bob, who hands it a list of fresh addresses in advance, each authenticated by a signature under a well-known public key of his. Alice then reaches the always-online service, which accepts all incoming requests. Two subtleties: (1) the service must vouch for the authenticity of a relayed , via a signature or a ZKP; (2) it must defend against DOS, e.g. rate-limiting through an upfront micropayment. ↩
-
The KEM ciphertext is distinct from the encrypted memo, which is a ciphertext under the shared secret. is analogous to the ephemeral in Orchard's DH setting: the material a recipient needs to decapsulate the shared secret. ↩