Stellar testnet · OpenZeppelin Confidential Tokens v0.9.0
Disclosure and audit for
Stellar's privacy tokens.
Tally is the disclosure and audit service for Stellar's privacy tokens: confidential payouts to many recipients, with totals an outside party can verify, and auditor access that no single party controls.
One published round, round-017. Alice declares 5 lanes and a ledger window. 16 transfers land on Stellar testnet, each with its amount sealed as ciphertext. Dave checks one zero-knowledge proof and sees a verified total of 3,160 stroops. No single amount is revealed.
Built on Stellar's privacy standard
Confidential Tokens
Stellar's developer preview: private balances and amounts, public addresses
OpenZeppelin contracts
Token, verifier and auditor from stellar-contracts
Branch tracked
v0.9.0 @ df602b6
Network
Stellar testnet, protocol 29
Tally builds on these open-source components. No endorsement by, or partnership with, Stellar, SDF or OpenZeppelin is implied.
The problem
A public ledger shows every
amount, forever.
Grant programmes, bounty platforms, public-goods funding and aid disbursement pay many people in public. Paying off-chain hides the amounts but gives up the audit trail.
Recipients are exposed
An ordinary payment publishes its amount next to the recipient's address, permanently.
Off-chain loses the trail
Moving payouts off-chain hides amounts, and also removes the record a donor or auditor could check.
Tally keeps both
Amounts stay sealed on-chain; the round's total stays provable to whoever is entitled to check it.
Who it is for
Three parties, three different views
Three parties take part in a round. Each gets something different.
The payer
Pays many recipients from lane accounts it declared on-chain before the round opened.
The recipient
Registers a confidential account from their own wallet signature; the key never leaves their device.
The donor or auditor
Checks the total with their own key and a fresh nonce. No secret of the payer's is ever handed over.
- Payer sees
- every amount it sent
- Recipient sees
- its own amount
- Public ledger sees
- addresses and ciphertext
- Donor sees
- the total and the count
Answers with one proof
Amounts stay sealed on the ledger. When a donor asks, the payer answers with one zero-knowledge proof of the round's total.
Paid privately
Their amount is private from the public ledger and from whoever runs the payout.
Learns the total, nothing more
Learns the total and how many transfers it covers, and nothing about any single amount.
How a round works
Declare, pay, close, verify
Alice declares a round and pays through several lanes. The chain records who paid whom and holds only ciphertext for each amount. Dave, a donor, checks one proof of the total on his own machine.
Alice records the round id and its lanes in the round registry. The contract stamps the opening ledger.
Each lane sends confidential transfers. Sender and recipient addresses are public; the amount is sealed.
Alice closes the round. The contract stamps the closing ledger, fixing the window.
Dave issues a challenge, receives a proof, and checks it against every transfer the chain shows from the declared lanes in the window.
Demo video
Watch a round end to end
Recorded on Stellar testnet: one round from the declared lanes to the donor's check, the browser verification in real time, and both tampering attempts rejected.
Use cases
For anyone who pays many people from one pool
And has to account for it in public. Tally has no users today; these are the situations it is built for.
Grant programmes
Pay grantees without publishing each award; show funders the programme total.
Hackathon prizes
Pay winners privately and prove the prize pool went out in full.
Payroll
Keep salaries off the public ledger while an auditor can check the payroll total.
Aid disbursement
Protect recipients from being targeted, and give donors a checkable total.
DAO contributor payouts
Pay contributors without exposing each payment; prove the treasury outflow per round.
Tax and audit reporting
Statements for one account and period, and auditor access under a scoped request.
Needs the operator service: designed, not built
What an outside verifier learns, and does not
Learns
- The total sent from the declared lanes inside the declared window.
- How many transfers that total covers (the circuit publishes the count).
- The lane set and the window, read from the chain, not from the payer.
- That the proof answers the verifier's own challenge and nonce.
Does not learn
- Any individual amount.
- Which recipient received how much.
- Anyone's balance.
- Any secret of the payer's: the verifier holds only its own disclosure key.
The trust statement, verbatim
The donor is assured that the confidential transfers sent from the lane accounts Tally declared on-chain before the round opened, within that round's declared ledger window, total exactly the disclosed amount and that none has been withheld — because every confidential transfer publishes its sender address on-chain whether or not the funder chooses to disclose it, so an omitted transfer is visible as one the proof fails to cover.
This does not assure that the funder made no other payments, nor that the recipients are independent of the funder: the guarantee is scoped to transfers from the accounts declared before the round, not to the funder's total spend, and it establishes what amounts moved, not who ultimately controls the accounts that received them.
The operator service, planned
The compliance roles that OpenZeppelin Confidential Tokens and Nethermind's Stellar Private Payments define but leave to someone else. This is a design document today; none of it runs.
Split auditor-key custody
The auditor key is generated in pieces and held two-of-three by the issuer, Tally and an independent custodian. No single party, Tally included, can decrypt alone.
Scoped audit requests
A request names accounts, a ledger range and the data wanted. Each custodian checks scope itself and contributes only for events it resolves from the chain. Every step is logged.
Selective disclosure
The aggregate total over a round is built today. Per-period, per-counterparty and inbound totals, and auditor-attested totals, are designed.
Tax export
A statement for one account and period, generated by the holder with their own key, with the transaction references and the proofs of its totals. Not tax advice and no fiat valuation.
The design's weakest point is stated in it: for clawback and auditor-side proofs, the auditor key would be reassembled briefly inside an attested enclave. Read the design.
Live evidence
A real round on testnet: round-017
Published on 2026-12-05. Anyone with the repository can verify it until about ledger 6,212,560, when its events leave the RPC's seven-day window.
The round
- Funder
- GBAK4Z33…SHPW5Z
- Round id
- 030a11181f26…ced5dc
- Window
- ledgers 6,091,587 to 6,091,598
- Transfers
- 16 across 5 declared lanes
- Verified total
- 3,160 stroops of the wrapped asset, from the declared lanes in round-017
Contracts on testnet
- Token
- CDRRP2JF…QCURGN
- Verifier
- CAGL7SYH…QJB5LL
- Auditor
- CDMJCKJG…C5AMW7
- Round registry
- CDWIXFBO…S7BK7W
From demo/deployment.testnet.json. OpenZeppelin stellar-contracts v0.9.0 @ df602b613fbc4ae1e98ff62ba3caef671a370f65.
| Ledger | From (lane) | To | Amount field | Transaction |
|---|---|---|---|---|
| 6091590 | GB7IP7…WYQU | GANGRG…7I3W | 0aa3a894…1098 | cf7ae68d…213236 |
| 6091590 | GBPI3B…BUW3 | GCBLJY…ZLFR | 214d3c8e…33cd | 4aaf941e…744a9c |
| 6091590 | GCSJYS…OFGE | GDCYY2…NRNC | 0374e895…3ca8 | 78f02b97…5f25d1 |
| 6091590 | GC6MG6…7KO3 | GDGJPD…SVAN | 15ca73a8…abae | bd54f27a…953b14 |
| 6091590 | GCZOYZ…OTJZ | GD5DLG…V57I | 0b7ca2a5…81b9 | 8eed81fd…0f5955 |
| 6091593 | GBPI3B…BUW3 | GALX26…G6DV | 13a39b5e…4d76 | fb706c55…21f0e0 |
Showing 6 of 16. All of them are in the quickstart output and in the evidence pack.
Try it yourself
Verify the published round in your browser
No clone needed. Your browser reads the round and its transfers from testnet RPC, rebuilds every public input and checks the proof with bb.js, using the same code as tally verify. Two buttons let you tamper with the bundle and watch it fail.
1Clone and install
git clone --recurse-submodules https://github.com/Tally-Network/Tally cd Tally && pnpm install
Node and pnpm. Verifying needs no Noir toolchain: the compiled circuits are in the repository.
2Verify the published round
pnpm verify:evidence
Exit 0 means verified, 2 means the proof was rejected, 3 means the round aged out of the RPC window, 1 means it could not be checked.
3Run a fresh round yourself
pnpm demo
Creates fresh testnet accounts with friendbot and takes several minutes. One transfer is sent before the round opens and must be excluded.
The terminal replays output recorded in the repository from the run that produced round-017.
Measured
Costs, measured on testnet
Re-measured on 2026-10-05 on Stellar testnet, protocol 29. Method, raw data and transaction hashes are in MEASUREMENTS.md.
Confidential transfer
91,193,854
CPU instructions, 22.8 % of the 400,000,000 per-transaction cap
Transfers in one transaction
4
From one sender. At 4: 90.8 % of instructions and 95.1 % of size
Aggregate proof size
16,224 B
Zero-knowledge, the same size for 8, 16 or 64 transfers
On-chain check of a 64-transfer proof
37.7 %
Of the cap. It fits; Tally still verifies off-chain, for privacy
Register an account
88,344,016
CPU instructions, 22.1 % of the cap
Transfer proof
1.32 s
Warm, on an Apple M4 Pro
Four transfers in one transaction landed on testnet in fe362834…b59384. Earlier figures (one transfer per transaction, under a 100,000,000 cap) are superseded. MEASUREMENTS.md
Safeguards
Checks that run on every change
And the tampering cases the verifier rejects.
Secret guard
Runs first in CI and fails the build if a Stellar seed, a private key, or a hex secret appears in any tracked file. It also detects the retired demo auditor key.
Pinned verification keys
The verifier refuses a proof whose circuit key differs from the pinned file. CI rebuilds the circuits and fails on any drift.
Upstream vectors
The client reproduces all 19 OpenZeppelin v0.9.0 test vectors for the primitives it uses. One spender-only vector is not used.
Tampering rejected
A bundle whose sealed total was altered by one, and a bundle replayed against a different challenge, both fail with exit code 2.
How Tally differs
Others cover parts of this
Others on Stellar cover parts of this. The full, sourced comparison is in the docs.
| Project | Privacy system | What it covers | Relation to Tally |
|---|---|---|---|
| Remi (SCF #44) | OpenZeppelin Confidential Tokens | Auditor dashboard, compliance API and selective disclosure planned for its own remittance deployment | Closest funded overlap on the same standard. Tally aims to serve other issuers, with split custody and aggregate proofs |
| Arcane (SCF #42) | Its own shielded pool | Scoped disclosure by role and time window, logged, with a case portal | Same operator functions on a different privacy system |
| ZKELLA (SCF #45) | Its own shielded token | Viewing keys, sanctions non-membership, planned auditor API | Own stack; no aggregate disclosure |
| Moonlight (SCF #37) | Its own privacy channels | Privacy providers run audit flows inside Moonlight | The operator role exists, inside Moonlight only |
| Haven (SCF #45) | Not chosen yet | Privacy-first consumer neobank, pre-launch | Adjacent: a possible user of an operator |
| SDF, OpenZeppelin, Nethermind | First-party standards | Specs, reference contracts, demo auditor UI, allow/deny trees | Supply the tools; SDF asked for someone to run the operator role |
Status
Built, designed, and the limits
All three at the same weight. Items come from the repository's scope ledger and demonstration status.
Built
Runs today, on testnet
- Aggregate disclosure circuits for 8, 16 and 64 transfers, zero-knowledge, with a minimum group size enforced in the circuit
- Round registry contract on testnet, 16 tests, 10 of them negative
- Client ported to OpenZeppelin v0.9.0, passing the upstream test vectors
- End-to-end round, donor-verified, from one command
- Standalone challenge, prove and verify command-line tool
- Published round verifiable from a clean clone
- Non-custodial registration, tested against live testnet
Designed, not built
Written down; none of it runs
- Split auditor-key custody (two-of-three)
- Scoped audit requests with a public log
- Per-period, per-counterparty and inbound disclosure proofs
- Tax export statement
- Allow and deny lists for both privacy systems
- Durable event archive
- Auditor client that decrypts every event type
Limits
What Tally does not do yet
- Testnet only. Nothing has been audited
- OpenZeppelin's confidential tokens are a developer preview on an untagged branch
- Verification relies on about seven days of RPC events; there is no archive yet
- No users, integrations or partners
- Recipient independence is not verified
- The demo sends one transfer per transaction
- Registration runs headless; there is no wallet page yet
- In the design, the auditor key is reassembled briefly in an enclave for some proofs
Roadmap
No dates. The last stage depends on a decision outside this project.
Now
Now
Working now, on testnet
Confidential one-to-many payouts, the aggregate proof of the total, the round registry, the verification tool and a published round.
Next
Next
Next, on testnet
The auditor client and an event archive; split auditor-key custody; scoped audit requests with a public log; allow and deny lists; more disclosure proofs and tax export; a pilot with one issuer.
Mainnet
Mainnet
After SDF approves Confidential Tokens for mainnet
Mainnet deployment, hardware-backed key shares, auditor-side proofs through an attested enclave, payout batching, and fixes from an external audit.
FAQ
Questions
The short answers. The docs carry the detail and the sources.
Run a round, read the design,
or help shape the operator.
Issuers, pool operators and teams paying many recipients on Stellar can talk to us as design partners. Open an issue on GitHub and say what you need.