mirror of
https://github.com/hanzoai/mpc.git
synced 2026-10-30 19:45:28 +00:00
HybridKV routes infra.KV traffic: - threshold_keyinfo/* → encrypted ZapDB (ConsensusKV/NatsKV) - ready/*, api_keys/*, generic → SQLiteMeta (hanzoai/dbx + modernc.org/sqlite) SQLiteMeta provides typed tables (wallets, peers, api_keys, audit_log) with per-org isolation via OrgID columns, plus a generic kv fallback for untyped keys. WAL mode, parameterized queries, zero CGo. 23 tests pass. Key shares never touch SQLite.