Configuration for TLSNotary instance

interface TLSNotaryConfig {
    loggingLevel?:
        | "Debug"
        | "Info"
        | "Warn"
        | "Error";
    notaryPublicKey?: string;
    notaryUrl: string;
    rpcUrl?: string;
    websocketProxyUrl?: string;
}

Properties

loggingLevel?:
    | "Debug"
    | "Info"
    | "Warn"
    | "Error"

Logging level: 'Debug' | 'Info' | 'Warn' | 'Error'

notaryPublicKey?: string

Notary's public key (hex string) for verification

notaryUrl: string

Notary server URL (e.g., 'wss://node.demos.sh:7047')

rpcUrl?: string

RPC URL for requesting dynamic proxies (e.g., 'https://node.demos.sh')

websocketProxyUrl?: string

WebSocket proxy URL for TCP tunneling (e.g., 'wss://node.demos.sh:55688')

Use rpcUrl instead - proxies are now dynamically allocated per-request