Related work:
Goliath seeks to create the first decentralized database cryptonetwork.
The core innovation is using recursive ZK proofs to achieve horizontal scalability.
Currently the main problem is choosing an efficient representation for the database, which can be proven recursively.
There are three problems really:
- Implementing a basic database index structure.
- Process database writes, updating a set of indexes.
- Ideas: Vector commitments scheme.
- Kate polynomial commitments [1] [2].
- Proving this database efficiently on-chain, so we can build an economic model.
- Nodes prove database work, in exchange they receive fees.
- Ideas: StarkNet contract which verifies proofs
- Scaling the communication and computational costs of the database network.
- Recursive proofing is O(log N) communication (aggregating proofs) and O(log N) computational efficiency.
- Proving database work is ??
- Ideas: recursive proofing system
Idea:
- We could implement the system in Cairo, which is the most feature complete environment.
- We process maybe one tx per proof.
- And then we send the proofs around the network, verifying using Giza.
- This is still O(N^2) cost.
- There’s another party which aggregates proofs.
- We could proof recursively using this.