Cesar Rodas 8591653f6b Replace book/code with journal scoping to prepare for CRM2 integration il y a 2 semaines
..
src 8591653f6b Replace book/code with journal scoping to prepare for CRM2 integration il y a 2 semaines
Cargo.toml c6ef03c386 Kuatia: append-only, auditable, multi-asset UTXO-style ledger il y a 2 semaines
README.md c6ef03c386 Kuatia: append-only, auditable, multi-asset UTXO-style ledger il y a 2 semaines

README.md

kuatia-types

Domain types for the kuatia ledger.

Pure data structures with no IO, no async, and minimal dependencies (serde, bitflags). This crate is the foundation — every other kuatia crate depends on it.

Key types

Type Description
AccountId(i64) Stable account identity
AssetId(u32) Asset identifier — conservation boundary
EnvelopeId([u8; 32]) Content-addressed transfer hash
PostingId { transfer, index } Posting identity within a transfer
Cent(i64) Smallest monetary unit, checked arithmetic
Posting Signed amount owned by one account
Transfer Atomic unit: consumes + creates postings
Account Versioned entity with policy and flags
PostingStatus ActivePendingInactiveInactive

Traits

  • ToBytes — deterministic binary serialization for content-addressing