yak.finance/ledger
Ledger
Company records that stay correct, and private, even when someone inside — human or AI — has access to every server.
designedin development
The consensus core (Molt Petit) is proven; the ledger layer above it is designed and not yet built. Component by component, below.
Why
Companies are about to run AI agents inside their own infrastructure: wide access, machine speed, and motives that are not fully legible and can be altered from outside by a line hidden in a document. Organisations learned, more or less, how to hire people without fearing them. With AI insiders that is still open.
Ledger answers a narrower question: how to keep the records that matter most correct and private when something inside the perimeter — with access to every server — may be wrong or turned. Financial state is the first application, because the cost of an error is clear and unrecoverable. Access-controlled documents in a law firm or a large corporate are the next.
What it is
A Kotlin/JVM library over a shared, seven-operator service. To the institution integrating it, it behaves like a database driver: open an account, move a balance, read consistent state, each call carrying its own authorisation. Underneath there is no single database and no single operator who can be wrong or dishonest on their own. Changes are ordered and validated by seven independent institutions running a consensus protocol whose safety properties are machine-checked theorems, and the whole history is carried by a constant-size zero-knowledge certificate rather than by anyone's copy of the records.
Two things follow that are hard to get any other way. An attacker who fully controls your infrastructure cannot make the ledger accept an invalid change — the validity decision does not run inside your perimeter. And a settled transaction cannot be reverted, whatever subsequently happens to the systems that produced it.
What is visible and what is not
Each institution has a shard — its own ledger, fully visible to it and to nobody else. Outside the shard, its state is a single cryptographic root. The operators verify a batch without learning its contents, its structure or how many transactions it contains. Every submission carries two independent attestations: a signature, saying which institution stands behind it, and a zero-knowledge proof, saying the change obeyed the rules. They answer different questions and fail differently, which is the point.
What holds when the shared infrastructure is attacked
Safety holds as long as compromised slots plus stolen keys stay within two of the seven in any window of seven slots. Exceeding it means compromising three independent institutions at once — different companies, different clouds, ideally different enclave vendors and jurisdictions. Stolen keys die on rotation. A forced conflict names its authors: producing two conflicting states leaves non-repudiable evidence identifying which operators equivocated, which is what makes the consortium's contractual exposure enforceable rather than decorative.
[ diagram · shard, root, seven operators, certificate · to be drawn in the system style ]
Rules inside a shard
Accounts carry their own rules, enforced automatically and checked twice by different parties on different bases. Multisig backed by hardware keys — a phone's secure element is a perfectly good signer. Time locks with a cancellation window held by a separately-keyed party: the control that matters most against an attacker operating at machine speed. Receipts from external services as inputs; certificates for counterparties and auditors as outputs. And external settlement credentials held in a TEE that verifies the ledger's proof before it will authorise anything.
Where this stands
The consensus core — agreement on shared history, the forged-chain bound — against the shipped validator sourcesproven, in Lean
Hardware custody, key rotation and leak containment, standby ignition, spend caps, the accountability resultproven as models
Post-quantum signatures and proving cost on commodity hardware; the consensus rule adds under 2% to a certificate's proving costmeasured
The ledger layer — accounts, shards, committed state, cross-shard movementdesigned, not built
External receipts, settlement certificates, proof-gated release of settlement keysdesigned, not built
Adoption by institutionsan open commercial question
What it does not do
If an action is inside the envelope declared in advance — properly authorised, past its grace period, rule-respecting — the ledger will accept it, whoever initiated it. Nothing here divines intent. The operator set is fixed and closed; there is no liveness recovery, so a broad simultaneous outage halts the ledger rather than degrading it, with safety untouched; and safety depends on reasonably synchronised clocks. These are the price of deterministic finality at a fixed depth and a client that needs to hold almost nothing.
Not a replacement for a core banking database: the integrity layer for the operations where being wrong is unrecoverable. The long tail stays where it already is.