A decentralized CDN where nodes bond stake, cache content-addressed blobs, and earn per-MB USDC payments through off-chain vouchers backed by a shared on-chain pool (ADR 003). Built in Rust on iroh QUIC. Open source under MIT OR Apache-2.0.
Status: early / pre-launch. Running toward a PoC on an L2. No tagged release yet, and APIs, wire formats, and economics are still in flux. The ADRs are the source of truth for current thinking.
- decdn/decdn: the core Rust monorepo. A Cargo workspace with the
decdn-nodedaemon anddecdnCLI, plus crates for the protocol, cache, client, incentive, and reputation layers. It also holds the Solidity contracts and the ADRs behind the design. Most work happens here. - decdn/devops: the official DevOps repo for deploying a deCDN node.
- decdn/sponsor: sponsored testnet on-ramp. A captcha-gated gateway grants new clients a spending allowance so they can fetch paid content without setting up a wallet first.
- decdn/stats: network status dashboard built from on-chain settlement data.
- decdn/website: Next.js landing page, live at decdn.org.
- Design first. Every subsystem is tracked in numbered ADRs. Start with
adr/README.mdfor the reading order andadr/architecture.mdfor the overview. - Rust 2024 edition, MSRV 1.95. Tests run under
cargo nextest. Contributions must passcargo fmt,cargo clippy, andcargo deny check. SeeCONTRIBUTING.mdfor environment setup. - Strict anti-panic policy. Clippy denies
unwrap_used,expect_used,panic, andindexing_slicingacross the whole workspace. New contributors run into this most often. - Docs. User and operator docs are at docs.decdn.org.
Open an issue on the relevant repo, and use decdn/decdn for protocol and node questions. Report security vulnerabilities privately as described in SECURITY.md. There's no public chat or mailing list yet.
Core code is dual-licensed under MIT OR Apache-2.0.