A decentralized CDN where nodes stake, cache content-addressed blobs, and earn per-MB payments over off-chain USDC channels. Built in Rust on iroh QUIC.
Status: early / pre-launch. Running toward a PoC on an L2. APIs, wire formats, and economics are still in flux — the ADRs are the source of truth for current thinking.
- decdn/decdn — core Rust monorepo. Cargo workspace with
protocol,cache,gossip,node,incentive, andreputationcrates, plus the Solidity contracts. Most work happens here. (Not public yet, still cooking) - decdn/website — Next.js landing page.
- Design-first. Architecture is tracked in ADRs under
decdn/adr/. Start witharchitecture.md, then follow the numbered ADRs for whichever subsystem interests you. - Toolchain. Rust 2024 edition, MSRV 1.85. Tests run under
cargo nextest. Contributions should passcargo fmt,cargo clippy, andcargo deny check. - Devcontainer recommended. The core repo ships a VS Code devcontainer with the toolchain preconfigured — see
CONTRIBUTING.mdindecdn/decdn. - Anti-panic policy. Clippy denies
unwrap_used,expect_used,panic, andindexing_slicingworkspace-wide. New contributors trip this most often.
Open an issue on the relevant repo. No public chat or mailing list yet.
Core code is dual-licensed under MIT OR Apache-2.0.