In five minutes you’ll have two iroh endpoints connecting over the iroh-ping protocol. Clone the repo, run the included quickstart example as a receiver in one terminal and a sender in another, and watch the round-trip time print.Documentation Index
Fetch the complete documentation index at: https://docs.iroh.computer/llms.txt
Use this file to discover all available pages before exploring further.
1. Set your API key
If you want to see your metrics and verify connectivity, get an API key from your project’s Settings → API Keys tab and export it as an environment variable. See API Keys for the full walkthrough.2. Install Rust
3. Clone iroh-ping
4. Run the receiver
5. Run the sender
In another terminal:<TICKET> with the ticket from the receiver. The sender will print the round-trip time once the connection succeeds.
Next steps
Integrate iroh into your own app by following one of the tutorials below.Connect two endpoints
Build the receiver/sender ping app from scratch and learn how iroh-ping, tickets, and routers fit together.
View metrics
See your direct data rate and other connectivity metrics in the dashboard.
Add a relay
Configure dedicated relays for your endpoints and learn why they matter for production.