From 5195d8031b7930069ba5441a6cd1e7a59c21c546 Mon Sep 17 00:00:00 2001 From: Clawd Date: Sun, 22 Feb 2026 14:08:54 -0800 Subject: NIP-11: make relay info configurable - Add relay config section (name, description, pubkey, contact, icon) - Wire config to NIP-11 handler - AuthRequired/RestrictedWrites now reflect actual auth config - Add NIP-42 to supported_nips list - Update example config --- config.example.yaml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config.example.yaml') diff --git a/config.example.yaml b/config.example.yaml index 93f6000..5618b7e 100644 --- a/config.example.yaml +++ b/config.example.yaml @@ -1,3 +1,10 @@ +relay: + name: "muxstr relay" + description: "High-performance Nostr relay with gRPC, Connect, and WebSocket support" + pubkey: "" # operator's hex pubkey (optional) + contact: "" # admin contact email (optional) + icon: "" # relay icon URL (optional) + server: grpc_addr: "localhost:50051" http_addr: "localhost:8007" -- cgit v1.2.3