presetIrohServices

Build an endpoint preset for your project's dedicated relays.

Mirrors iroh_services::preset(): mints a short-lived access token scoped to the endpoint's key and to relay use only, then configures the endpoint to use your relays with that token. Pass the result as EndpointOptions::preset.

The token is minted here, at preset-build time, so build the preset shortly before binding the endpoint.