use iroh::{Endpoint, endpoint::presets};
use iroh_services::Client;
#[tokio::main]
async fn main() -> anyhow::Result<()> {
let endpoint = Endpoint::bind(presets::N0).await?;
let client = Client::builder(&endpoint)
.api_secret_from_env()?
.build()
.await?;
client.ping().await?;
Ok(())
}