Skip to main content

Architecture decisions

Product and security ADRs for Zunia.

ADRTopicStatus
Core 0003Custody modelAccepted: self-custody only
Indexer 0001Tx historyAccepted: user-scoped LCD (first 5, cap 50)
Indexer 0002Realtime detect/queueAccepted
Indexer 0003Worker hostAccepted: container (Fly/Railway/Render), not Vercel serverless
Core 0002Kernel language (Rust vs TS)Proposed
Core 0004Cosmos client libsProposed

Indexer

Hono + Zod + Postgres (DATABASE_URL) for durable history; realtime WS on always-on worker via zunia-infra. See zunia-indexer.

Infra

zunia-infra = Pulumi for workers/DNS — not a second Terraform stack; registry keeps its own Pulumi.