Credit, debit, hold
Per-account atomic section around every write. Idempotency nonces dedupe retried posts. Holds reserve balance up front with automatic expiry.
A distributed append-only ledger for metered billing. Post credits, debits, and holds at any regional edge — writes replicate asynchronously, no leader, no consensus on the hot path.
Per-account atomic section around every write. Idempotency nonces dedupe retried posts. Holds reserve balance up front with automatic expiry.
POST to the nearest edge. Events propagate over libp2p gossipsub; a periodic catch-up sync closes any gaps. Write latency stays at the edge, not the slowest region.
Every node holds a full replica of the event stream. No primary, no Raft, no Paxos — regions converge asynchronously and dedupe by origin key (node_id, epoch, seq).
LLM tokens, API credits, prepaid accounts. Append-only event stream per (bucket, account) with void and hold_release for corrections. Bounded sync lag, auditable forever.
POST /events to credit or debit any account at any regional edge. GET /balances from the same edge or any other. The mesh handles replication.