Skip to main content

DIG_RELAY_URL

Constant DIG_RELAY_URL 

Source
pub const DIG_RELAY_URL: &str = "wss://relay.dig.net:443";
Expand description

Canonical DIG NAT-traversal relay endpoint.

This is the WebSocket URL a DIG Node dials by default to obtain a relay reservation (so NAT’d peers stay reachable). It is the value used unless an operator overrides it via the DIG_RELAY_URL environment variable (or disables the reservation with DIG_RELAY_URL=off).

Format: wss://<host>:<port> — the relay protocol (RelayMessage, RLY-001..RLY-007) is JSON over a secure WebSocket. Mainnet uses the canonical public deployment relay.dig.net on port 443 (the live NLB public TLS listener; the earlier :9450 listener is closed).

Kept byte-identical to dig-node’s relay::DEFAULT_RELAY_URL and the dig-relay server’s documented client endpoint.