C 84b91a42e4 Head a journal entry with the caller's own reference 3 gün önce
..
adr b401e9833d Cut 0.4.0, with a deadline on held funds and no cross-account read 4 gün önce
examples 70b9992a2d Make kuatia the only crate an application depends on 3 gün önce
README.md 3066a87107 Give the book an examples section, its only ones being buried away 2 hafta önce
SUMMARY.md b401e9833d Cut 0.4.0, with a deadline on held funds and no cross-account read 4 gün önce
accounting-mapping.md 883e5621d0 Give the ledger an asset registry, and make an amount carry its asset 4 gün önce
accounts.md 883e5621d0 Give the ledger an asset registry, and make an amount carry its asset 4 gün önce
architecture.md 883e5621d0 Give the ledger an asset registry, and make an amount carry its asset 4 gün önce
changelog.md ca752e859f Render the doc tree as a book so its diagrams and nav are usable 2 hafta önce
crates.md 84b91a42e4 Head a journal entry with the caller's own reference 2 saat önce
glossary.md 883e5621d0 Give the ledger an asset registry, and make an amount carry its asset 4 gün önce
inflight.md b401e9833d Cut 0.4.0, with a deadline on held funds and no cross-account read 4 gün önce
journaling.md 883e5621d0 Give the ledger an asset registry, and make an amount carry its asset 4 gün önce
pending-states.md 883e5621d0 Give the ledger an asset registry, and make an amount carry its asset 4 gün önce
storage-schema.md 883e5621d0 Give the ledger an asset registry, and make an amount carry its asset 4 gün önce
transfers.md 883e5621d0 Give the ledger an asset registry, and make an amount carry its asset 4 gün önce

README.md

Kuatia

kuatia (kuatiʼa) is Guaraní for paper, document, writing.

An append-only, auditable, multi-asset UTXO-style ledger library in Rust.

Kuatia models value as postings: signed amounts of one asset owned by exactly one account. A transfer atomically consumes existing postings and creates new ones, enforcing per-asset conservation (sum(consumed) == sum(created)). That is the same safety guarantee as double-entry bookkeeping, Σ debits = Σ credits, expressed over signed postings. There are no mutable balance fields, so an account's balance is always the sum of its live postings.

A committed transfer is a journal entry. A transfer with several movements is a compound entry, one balanced event touching many accounts and, since each asset balances independently, many assets. The append-only transfer log is the accounting journal: replaying it reconstructs every balance, so the ledger is auditable by construction.

How this book is laid out

Concepts covers the model: the architecture and why it is shaped that way, accounts, transfers and the resolve algorithm, and inflight holds.

Examples are worked walkthroughs: overdraft and the shortfall posting, a currency exchange, a retail point of sale, and the runnable programs you can cargo run.

Accounting maps the model onto practice, both as journaling and as a term-by-term mapping from classical double-entry.

Reference is the crate reference, the SQL storage schema and the glossary, which defines every term.

Decisions is the ADR log: every significant, hard-to-reverse design decision, with the options that were rejected and why. An ADR is never edited to reverse a decision; a later one supersedes it.