diff options
| author | Clawd <ai@clawd.bot> | 2026-02-22 14:08:54 -0800 |
|---|---|---|
| committer | Clawd <ai@clawd.bot> | 2026-02-22 14:08:54 -0800 |
| commit | 5195d8031b7930069ba5441a6cd1e7a59c21c546 (patch) | |
| tree | 50a110dd565cc1c9330c61dea6f4cc720e1efbd0 /config.example.yaml | |
| parent | 3b760256768e45ddb2965aab2a60f11327972e63 (diff) | |
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
Diffstat (limited to 'config.example.yaml')
| -rw-r--r-- | config.example.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
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 @@ | |||
| 1 | relay: | ||
| 2 | name: "muxstr relay" | ||
| 3 | description: "High-performance Nostr relay with gRPC, Connect, and WebSocket support" | ||
| 4 | pubkey: "" # operator's hex pubkey (optional) | ||
| 5 | contact: "" # admin contact email (optional) | ||
| 6 | icon: "" # relay icon URL (optional) | ||
| 7 | |||
| 1 | server: | 8 | server: |
| 2 | grpc_addr: "localhost:50051" | 9 | grpc_addr: "localhost:50051" |
| 3 | http_addr: "localhost:8007" | 10 | http_addr: "localhost:8007" |
