Back to browse
GitHub Repository

Rust implementation of the Hyperswarm P2P networking stack — wire-compatible with the existing Node.js network. Includes Kademlia DHT, Noise handshakes, UDP hole-punching, and BBR congestion control. Pure Rust, no C dependencies.

13 starsRust

Peeroxide – Full wire-compatible Rust implementation of Hyperswarm

by eshork·Apr 26, 2026·1 point·0 comments

AI Analysis

●●●BangerWizardryNiche Gem

Pure Rust UDX with BBR joins the live public HyperDHT without Node.js FFI.

Strengths
  • Wire-compatible lets Rust peers connect to existing Node.js peers on live network.
  • Pure Rust libudx with BBR congestion control removes C dependency hell.
  • 497 tests with golden fixtures verify protocol correctness against reference implementation.
Weaknesses
  • Niche utility limited to developers already buying into the Hypercore ecosystem.
  • AI-assisted development might raise questions about long-term maintainability by the author.
Target Audience

Rust developers building decentralized apps

Similar To

hyperswarm · libp2p · holepunch

Post Description

Just shipped peeroxide, a complete, production-ready Rust port of the Hyperswarm P2P networking stack. It’s fully wire-compatible with the existing Node.js implementation, so Rust peers can join the live public HyperDHT and seamlessly discover/connect with Node.js peers. Key features:

Full HyperDHT (Kademlia + hole-punching + blind relays) Noise handshakes + SecretStream encryption Pure-Rust libudx with BBR congestion control (no C dependencies) Topic-based peer discovery 497 tests + golden fixtures + live cross-language interop validation

All three crates are now live on crates.io at v1.0.1:

peeroxide peeroxide-dht libudx

GitHub: https://github.com/Rightbracket/peeroxide

This was a solo project, but I used Claude (Anthropic) + OpenCode/oh-my-openagent very heavily. I needed this for a different project and hope other people find it useful too.

Similar Projects