Arqueo
Open conservation proofs for closed ledgers.
A closed ledger proves it did what its rules say; a third party checks it without the ledger, without a network, and without trusting the author.
- For operators — you keep the ledger closed; you publish a proof, not your books.
- For auditors and supervisors — you verify in seconds on an ordinary computer, against a public spec, without seeing a single account. Download the verifier kit.
- For builders — Rust, STARK proofs, versioned wire format (
zkssl/0.5), MIT/Apache-2.0. Read the spec.
Arqueo is the Spanish accounting term for a cash count: verifying that what the ledger says is actually there. This project makes that act cryptographic, exhaustive, and verifiable by a third party without opening the ledger.
- Private ledger The operator keeps it. Nobody else sees it.
- Proof + signed epoch head Published every epoch; co-signed by independent witnesses.
- Independent verifier Anyone's machine, offline. It accepts, or rejects naming the rule.
The verifier needs the proof, the signed head and the public specification. It does not need the ledger, the operator, or a network.
The problem
When an organisation keeps a closed ledger — member balances, certificates, deposits, client funds — and a third party has to believe a statement about that ledger, the universal practice is to declare and audit by sample. Across the domains reviewed — federated community currency, guarantee-of-origin certificates, energy communities, digital library lending, deposit-return systems, safeguarding of client funds — the technique deployed protects the integrity of the record or the privacy of the data. In none of them is the conservation of the unit of account proved.
What exists today, measured
A ledger engine in Rust: accounts; two-phase payments whose STARK proof is generated on the payer's machine — no setup ceremony and no curves —; a signed epoch head, with a hash-based signature (XMSS), that the node publishes; witnesses that co-sign it; and an evidence package that an independent verifier checks with the node switched off.
What a third party checks today, measured — without the ledger, without a network and without trusting the author: an unrewritable history, with an extension proof; inclusion with a receipt; single use of a label inside a ledger, and detection of the same label across two ledgers; cut-off and completeness — every operation the node receives ends applied, rejected with proof or declared, or a named red says it did not —; and, for the causes the rejection envelope covers, the cause of a refusal. Conservation and authorship of each payment are checked today by the node, not re-verified by the third party's verifier: they travel inside the payment's own proof, enforced in circuit before it applies; of the supply, a third party sees the one the signed head commits. The invariant survives a restart: the roots at rest are persisted and verified on reopening.
The format is a governed contract: a written rule on when the version goes up, conformance vectors retained per version and never rewritten, and an RFC process with states — thirteen RFCs accepted (among them the evidence package, the published consumption, the proofs over the committed state and over the pending item, what a proof reveals, the reception receipt and the zkssl/0.5 train) and ten proposed. The spend key never travels through the API and a proof does not publish a literal of its witness; since the zkssl/0.5 cut the promise is stronger: for the twenty-three proof families, the honest verifier's view is simulated without the witness — hiding under named hypotheses, with the outside review of the argument still pending, and the promise says so. The design rule: no statement is added unless the witness that would falsify it can be written first.
Licence MIT OR Apache-2.0. Not audited by third parties — no amount of the project's own tests substitutes for that. An audit record (AUDITORIA.md) that records every sealed decision and also the hypotheses that turned out false.
Try it: the verifier kit
A standalone verifier, its specification and its conformance vectors, in one download. It runs offline, without the repository and without asking anyone anything: five checks, in this order — a file that adds up; a tampered file that does not, with the broken rule named; the same label published in two ledgers, detected from their two signed heads with both nodes off; a swap of ledgers, rejected by name; and a reception receipt that resolved inside its window, or a named red that says it did not. Step by step: doc/KIT_EN.md (Spanish: doc/KIT.md).
- Release
arqueo-verify-v0.5.0(zkssl/0.5), produced on commit966f6429and published on 2026-10-29; measured from outside — the download, the API digest, and the kit running its twelve catalogues from inside the tarball, 528 of 528 entries — in the audit entry that registers it. - Tarball
arqueo-verify-0.5.0-x86_64-unknown-linux-gnu.tar.gz— sha256212bf7fbfab9ad2939736750f5dd8824fff4d47e7d11647e75fd5944e6c680ae, 31,964,196 bytes, 538 files. - Binary (rustc 1.97.1): sha256
a19a8c2c597cf6b6c0a2182df086b56fa238ae622c23b6e3e46719e0f7479fb7. It judges every proof by its mark and rejects earlier ones by name; release0.4.4stays published and judges thezkssl/0.4envelopes. - Requires Linux x86_64 and glibc 2.34 or newer. Check the download before believing it:
sha256sumagainst the hash above, thensha256sum -c SHA256SUMSinside.
The hashes are published next to their commit — here, on the release page and in the audit record; the tarball cannot carry its own hash. To rebuild it: git checkout 966f6429 and bash tools/artefacto.sh with the toolchain that VERSION names; reproducing the same hash is demonstrated only within one machine, and the kit says so.
Where it applies
The shape of the problem is always the same: an operator keeps a ledger; the people who depend on it cannot see it; and the two do not trust each other. Today the conflict is settled by a third party who opens the ledger — an auditor, a supervisor, a court — once a year, by sample. Arqueo replaces that opening with a proof, and it fits wherever the unit of account is born and dies inside the ledger: issued by the operator, moved between accounts, retired by the operator.
- Conservation measured, in the node — nothing was created or lost: every send, claim and burn proves it in circuit before the node applies it, and the layer checks the aggregate — supply equals balances plus what is in flight — on reopening. Without the node, a third party sees the supply the signed head commits; the kit does not re-verify transition proofs. Deposit-return schemes, guarantees of origin, vouchers and public aid, electronic money balances, share and unit registers, loyalty liabilities, netting between group companies or between operators.
- No double use measured — within one ledger a unit is consumed once, and the consumption is published in the signed head. Across two ledgers the same label is detected from their two signed heads, with both operators offline: detection, not prevention, and only if both compute the label the same way. Tickets and passes, quotas (fishing, water, emissions), licences and API credits, and the characteristic fraud of EU-funded programmes: the same expense certified twice, to two bodies.
- An unrewritable history, with an extension proof measured — today's ledger is yesterday's plus something. Membership rolls, internal electoral censuses, case files, batch traceability.
- Inclusion with a receipt measured — the user proves their entry was recorded, without the operator's goodwill. Public registries of submissions, legal deadlines, marketplace sellers, beneficiaries of aid.
- Authorship without the key travelling measured, in the node — the operator sees everything and still cannot move an account it does not control: enforced in circuit on every send, claim and burn; without the node, only the pledge proves its author. The key never travels through the API. Local currencies, time banks, community savings.
- Cut-off and completeness measured — nothing stays in flight past its time, and every operation the node receives ends applied, rejected with proof or declared: the completeness envelope says, without the node, that a receipt resolved inside its window — or names the operator that did not resolve it. The declared residue: an operator that never issues a receipt leaves no trace. Two-phase settlement between firms, clearing between operators, period close.
- Rejection with cause measured — a refusal comes with the rule that produced it, portable for the causes the envelope covers. Appeals against denied aid, claims, admissions.
Where it does not apply, and says so: wherever the question is what the ledger is worth rather than what it did. Bank solvency and reserves, central counterparties (their job is counterparty risk, at volumes far above this engine's measured throughput), and ledgers whose operator verifies itself by design, such as a central bank's own settlement platform. Arqueo proves conservation, not solvency. The domains named above beyond the six reviewed in the proposal are candidates: they share the shape, and they have not yet been measured.
Public funds: the same expense certified twice
The fraud is simple and hard to see: one invoice justifies a regional grant and, months later, the same invoice justifies a European one at another counter. Today it is caught by sampling, or by cross-checking databases after the fact. What Arqueo has, measured (RFC-0006, accepted): a body that certifies an expense publishes the consumption of a label in its signed head; inside that ledger a label is consumed once, and the proof of it travels without the node. Two bodies that compute the label the same way can each read the other's signed head and see the same label in both — detection from two signed heads with both nodes off, which is step 3 of the kit; a duplicated or swapped ledger is rejected by name, which is step 4.
What that does not claim, said in the same breath. It detects; it does not prevent: two sovereign ledgers can accept the same label, nobody orders between them, and a third party sees it afterwards, at the heights those heads sign. The label is an agreement — H(domain, agreed identifier), public and precomputable by whoever knows the identifier — so for two bodies to detect the same invoice they must compute it the same way, and that is governance between them, not a property of the code. And the oracle limit: the invoice is born outside the ledger; what is proved is that the same label was published, not that the invoice is real. Anchoring the identifier in a verified e-invoicing source (in Spain, VeriFactu or TicketBAI) is the natural fit, and it is a candidate, not a measurement. Between countries, not even detection until a shared label exists.
Against the audit assertions: existence, accuracy, cut-off and completeness of what a ledger did are measured today — completeness with its declared residue: a receipt the node never issued leaves no trace. Solvency — whether the money is in the bank — is out of scope by design.
What it does not do
- The operator sees. There is no privacy of amounts or participants against whoever keeps the ledger; privacy is against the external verifier.
- A third party does not re-verify a payment's conservation or authorship. The proofs of send, claim and burn are verified by the node; the log keeps their digest, and no wire method serves them. Of the supply, a third party sees what the head signs; of authorship, the pledge.
- An operation the node never acknowledged is not detected. An operator that issues no receipt leaves no trace; once a receipt exists, the completeness envelope names what was not resolved.
- The oracle limit. The proofs speak of the ledger, not of the world: Arqueo applies where the unit is born and dies inside the system.
- Between ledgers it detects; it does not prevent. Two ledgers can each accept the same label. A third party holding both signed heads sees it afterwards, at the heights those heads sign, never before; and a label two bodies can compare is an agreement between them, not a property of the code.
- A rejection with cause proves the rule, not the refusal. Not that the node refused, nor when, nor that the rule is fair: the proof says the rule was applied over what a signed head commits.
What comes next
The five proofs over the same committed state are measured (RFC-0007, RFC-0008 and RFC-0010, accepted): the rejection with proof of cause; the ageing of what is in flight, in its empty-box form; the portable pending receivable; the payment in progress; and completeness — with a named red when a receipt was not resolved. What is missing, in order of importance. Distributed consensus: without it the operator sees the balances and can censor. The alternative this project does pursue — demonstrable accountability, in the manner of Certificate Transparency — has the signer, the index guardian, the heartbeat, the independent verifier and the witnesses; it still lacks deploying the head anchor (its format and verifier exist, RFC-0012, accepted; of its medium, RFC-0013, proposed, the tree, the signed note and its envelope are built, and its publisher and deployment are not) and a key custody that is proven, not only declared. Then: an external audit, including the outside review of the hiding argument, which is still pending; the admission receipt; delegating the proof to third parties; and an expiry policy for freezes.
The name
Arqueo comes from arca, the chest, the strongbox: to arquear is to count what the chest holds. Latin arca comes from arceō, to enclose, to hold in; and Greek ἀρκέω (arkéō) grows from the same root, and means to hold off and, from there, to suffice, to be enough. The name carries both halves of what this project proves: the ledger is closed, and what is in it is exactly what should be there.
The oldest chest in that lineage is the Ark of the Covenant: what it held was a law that had to be obeyed by everyone, and yet the ark itself was not to be opened or looked into. That is the shape of the problem here. The rules of a ledger bind everyone who relies on it; the ledger is not theirs to open. Arqueo lets the rules be verified without opening the box.
Where to look
- Repository — code, tests, and the audit record (
AUDITORIA.md) - Specification, RFCs and conformance vectors —
spec/; wire version in forcezkssl/0.5 - Security documentation — the declared limits, in one place
- Use cases, measured and candidate — the table behind «Where it applies»; measured rows carry their source, candidates say so
- Verifier kit, release
arqueo-verify-v0.5.0— the download, with its hashes next to their commit; release0.4.4stays published for thezkssl/0.4envelopes; manual indoc/KIT_EN.md - RFC-0006, the published consumption — single use inside a ledger, detection between ledgers, and what it does not claim
- RFC-0009, what a proof reveals — proof by proof; since the
zkssl/0.5cut, the view is simulated without the witness, under named hypotheses - RFC-0010, the reception receipt — what the operator cannot deny having received
Papers
- From Institutional Trust to Verifiable Properties
- Comparative Implementation of a ZK Settlement Layer across Five Proof Systems
- Provable Compliance without Full Ledger Disclosure
- Residual Trust After Verification: A Microeconomic Account of What Proofs Cannot Eliminate
- Residual Surfaces in Retail CBDC Incidents and the Verification-Residual Partition
- Reputation, Residual Power, and Verification Investment in Digital Settlement
All deposits are on Zenodo under CC-BY 4.0. They were published under the project's previous name and predate some corrections sealed since in the repository; the repository text is current.