Case study

Decentralized storage protocol

A storage network with no central coordinator: buyers and providers meet as peers, files survive node failures, and storage agreements, payments and penalties settle on-chain without a trusted intermediary.

Personal · ongoingGo · SolidityP2P · erasure coding
01

The problem

Centralised storage puts one company between users and their data. That company is a single point of failure (outages, lost files) and a single point of control (pricing, access, deletion). Users rent space; they don't own anything verifiable.

The goal of this protocol is to let anyone sell spare storage and anyone buy it, with the network rather than an operator guaranteeing that files stay available and that providers keep their promises.

02

How it works

Four layers, one network.

1. P2P layer in Go

A networking layer written in Go from scratch connects storage buyers and providers as nodes. Peers discover and validate each other directly, replacing a central coordinator.

2. Erasure coding

Files are split into data shards plus parity shards and spread across different nodes. Any large enough subset of shards rebuilds the original. For example, with 4 data and 2 parity shards, any 4 of the 6 are enough, so a file survives two providers going offline. This removes the single point of failure without storing full copies everywhere.

3. Heartbeat liveness

A heartbeat monitor checks that providers are still online and serving. Unresponsive nodes are detected and penalised automatically, so uptime is enforced by the protocol rather than by someone watching dashboards.

4. Tokenomics & settlement

A native utility token and on-chain penalty mechanism govern storage agreements, payments and downtime penalties. They execute without a trusted intermediary, giving users verifiable ownership of their data at the protocol level.

03

Stack

GoSolidityP2P networkingErasure codingSQLiteCryptographyTokenomics

Status: in active development.