Sharded Storage

Sharded Storage

ZK data storage with sharding and recovery in case of loss

Created on 2nd April 2023

Sharded Storage

Sharded Storage

ZK data storage with sharding and recovery in case of loss

The problem Sharded Storage solves

One of the problems of current blockchain scalability is that the blockchain size is growing very fast. The computation performance is already efficiently scaled by recursive zk rollups and VMs. But if you perform billions and trillions of transactions, you should store the state of blockchain somewhere.

The idea of decentralized zkSNARK-driven storage is inspired by Filecoin. BTW, there are no strong guarantees that the data will not be lost.

Our idea is based on the following observation:

If you have a N-sized vector, you can represent it as a polynomial of degree N-1. Then if you extrapolate it to the 2N-sized evaluation domain, any N points are enough to reconstruct the original vector.

This is the main idea of our storage. If we split 2N points into M chunks and store them on M different nodes, we can reconstruct the original vector if at least 50% of nodes are honest.

Challenges we ran into

We build our own node for storing data, implement p2p synchronization and complex logic of approximating, tracking changes and restoring data

Technologies used

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio