aboutsummaryrefslogtreecommitdiffstats
path: root/internal/handler/websocket/nip11.go
Commit message (Collapse)AuthorAgeFilesLines
* NIP-11: make relay info configurableClawd2026-02-221-13/+43
| | | | | | | | - 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
* refactor: rename project from nostr-grpc to muxstrbndw2026-02-141-2/+2
| | | | | | Update module path from northwest.io/nostr-grpc to northwest.io/muxstr. This includes updating all Go imports, protobuf definitions, generated files, and documentation.
* feat: implement NIP-09 (deletions) and NIP-11 (relay info)bndw2026-02-131-0/+60
NIP-11 (Relay Information Document): - Serves relay metadata at GET / with Accept: application/nostr+json - Returns name, description, supported NIPs, limitations - CORS headers for browser compatibility NIP-09 (Event Deletion): - Kind 5 events delete events referenced in 'e' tags - Only authors can delete their own events - Soft delete (marks deleted=1) - Records deletion in deletions table - Works across all protocols (gRPC, Connect, WebSocket) Fixed deletions schema: - deleted_event_id as PRIMARY KEY (not deletion_event_id) - Allows one deletion event to delete multiple events 3 new tests, 44 total tests passing Supported NIPs now: 1, 9, 11