AI Briefing
KO

iroh - Open-Source Ultra-Fast P2P Networking Library Based on Public Keys

·2026.04.20 09:51

Key point

A Rust library that maintains the fastest P2P connections based on public keys.

Details

iroh is a P2P networking library that connects to peer nodes using public keys (dial keys) instead of network addresses.

Regardless of where the peer is located, it finds the fastest path, connecting directly via hole-punching when possible or maintaining the connection through a public relay server when needed.

The default transport layer is QUIC (Quinn), providing encryption, concurrent streams, datagrams, and communication without head-of-line blocking.

It's designed to work with the same API across multiple environments.

  • Runs on ESP32, Raspberry Pi, Linux, and more
  • Devices automatically discover each other without brokers or gateways
  • Broad support ranging from cloud servers to tablets and embedded systems

Ready-made extension protocols are also provided.

  • iroh-blobs: large content blob transfer
  • iroh-gossip: publish-subscribe
  • iroh-docs: distributed document/data sharing
  • iroh-willow: eventual-consistent key-value store

It's implemented in Rust, and can be integrated with other languages via FFI bindings. It's licensed under a MIT/Apache 2.0 dual license.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.