iroh

IP addresses break, dial keys instead. Modular networking stack in Rust.

162 articles 9.7k View on GitHub ↗
162 articles
Graceful Shutdown of Iroh Endpoints and Routers: A Complete Guide

Learn how to gracefully shut down iroh endpoints and routers using endpoint.close().await for clean QUIC termination and router shutdown. Ensure UDP sockets close properly.

how-to-guide
Jul 2, 2026
Using iroh on Wasm Browser Platforms: Complete Configuration Guide

Configure iroh for Wasm browser platforms. This guide details its use with cfg(wasm_browser) for relay-only networking, disabling IP transports.

how-to-guide
Jul 2, 2026
Using iroh Presets Like N0 for Quick Endpoint Setup

Quickly set up iroh endpoints with presets like N0. Deploy TLS crypto providers, PKARR DNS, address resolution and relay configuration instantly.

getting-started
Jul 2, 2026
Building Multi-Protocol Servers with Router in iroh

Learn to build multi-protocol servers with iroh Router. Handle multiple protocols simultaneously on a single QUIC Endpoint using ALPN. Explore early connection filtering and graceful shutdown.

how-to-guide
Jul 2, 2026
Monitoring Connection Stats and Path Metrics in iroh: A Complete Guide

Learn to monitor connection stats and path metrics in iroh with our complete guide. Discover real-time counters for socket traffic and connection events via the Endpoint metrics API.

how-to-guide
Jul 2, 2026
Securely Managing Endpoint Secret Keys and Endpoint IDs in iroh

Securely manage endpoint secret keys and endpoint IDs in iroh. Generate or inject a SecretKey during Endpoint construction for local security and a shareable PublicKey as your EndpointId.

best-practices
Jul 2, 2026
Understanding iroh Relay Servers and NAT Traversal: P2P Connectivity in n0-computer/iroh

Learn how iroh relay servers and NAT traversal enable P2P connectivity in n0-computer/iroh. Discover QUIC connections, TURN-like intermediaries, and hole-punching for seamless communication.

deep-dive
Jul 2, 2026
Configuring DNS and Pkarr Address Lookup Services in iroh

Learn to configure iroh's DNS and Pkarr address lookup services using the Endpoint builder API for peer discovery. Translate EndpointId to EndpointAddr efficiently.

how-to-guide
Jul 2, 2026
How to Implement Path Selection Strategies in Iroh: A Complete Guide to Custom Network Path Selection

Learn to implement custom path selection strategies in Iroh using the PathSelector trait. Guide your network traffic for optimal performance with this comprehensive tutorial.

how-to-guide
Jul 2, 2026
How to Use Custom Transports in iroh with the unstable-custom-transport Feature

Learn to use custom transports in iroh with the unstable-custom-transport feature. Route packets over Bluetooth or Tor while retaining QUIC and NAT traversal logic.

how-to-guide
Jul 2, 2026
Configuring endpoint connection hooks for authentication in iroh

Secure iroh connections with custom authentication using endpoint connection hooks. Intercept QUIC handshakes for token-based pre-authorization. Learn more.

how-to-guide
Jul 2, 2026
How iroh Memory Address Lookup Works for Local Peer Discovery

Learn how iroh memory address lookup enables zero-latency local peer discovery using a thread-safe BTreeMap for instant, network-free connections.

internals
Jun 26, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →