Overview of Protocol-Owned AI Agent (PoAIA)
T ≥ T_min) and protocol invariants are never violated.website·Indexed 33 days ago
https://docs.weavedb.devA decentralized, modular database protocol designed as a Layer-0 data hub for blockchains. It features a decentralized Log-Structured-Merge engine, optimistic ZK rollup mechanisms, and support for NoSQL and Relational models using JSON. The ecosystem includes FPJSON for functional programming, ARJSON for optimized encoding, zkJSON for zero-knowledge provable data, and various node types including Rollup, Validator, and ZK Prover nodes.
T ≥ T_min) and protocol invariants are never violated.FPJSON (Functional Programmable JSON) is a domain-specific language (DSL) used by WeaveDB to enable decentralized database functionality. It allows for advanced, composable functional programming within a JSON format, enabling the definition of data ownership, programmable data manipulations, and access control rules. FPJSON powers several core WeaveDB features:
uint256 values in Solidity. When querying a specific path in the JSON, only the bits for that path and its value are passed to Solidity as public signals, keeping the rest of the JSON private.ARJSON is a high-performance JSON encoding and compression algorithm designed for speed and efficiency. It outperforms traditional byte-level serialization formats like MessagePack and CBOR by utilizing bit-level optimizations and columnar restructuring. It is particularly effective for structured data with repetitive patterns, achieving up to 95% better compression rates than MessagePack in some cases. Key features include:
64 bits = Milliseconds × 1000 + Transaction CounterWeaveDB emulates a Log-Structured-Merge (LSM) engine to achieve cloud-grade performance (10ms-200ms query responses) while maintaining decentralization. It maps traditional LSM components to decentralized infrastructure: