Hasty Briefsbeta

Bilingual

Iroh: A library to establish direct connection between peers

10 months ago
  • #QUIC
  • #rust
  • #networking
  • Iroh provides an API for dialing by public key, finding and maintaining the fastest connection.
  • It attempts direct connections first, using hole-punching if necessary, with fallback to public relay servers.
  • Built on QUIC using Quinn, offering authenticated encryption, concurrent streams, and avoiding head-of-line blocking.
  • Pre-existing protocols include iroh-blobs, iroh-gossip, iroh-docs, and iroh-willow for various functionalities.
  • Easiest to use from Rust, with example code provided for connecting and accepting connections.
  • Includes iroh-ffi for FFI bindings to use from other languages.
  • Repository contains multiple crates like iroh, iroh-relay, iroh-base, etc., for different functionalities.
  • Licensed under Apache 2.0 or MIT, with contributions dual-licensed.