1. Install Rust
2. Clone iroh-ping
3. Run the receiver
4. 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.
5. See your metrics (optional)
Now that ping is working, hook the example up to Iroh Services to watch connectivity metrics like direct data rate. Get an API key from your project’s Settings → API Keys tab, export it, and rerun the example: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.