mirror of
https://github.com/Routstr/protocol.git
synced 2026-08-12 08:53:23 +00:00
24 lines
629 B
Markdown
24 lines
629 B
Markdown
# RIP-02: Node Listing
|
|
|
|
- [ ] Create PR to the Nostr repo to add a new Kind 40500 event
|
|
|
|
Nodes announce their presence and capabilities via a Nostr event for client discovery.
|
|
|
|
**Kind**: 40500
|
|
|
|
```json
|
|
{
|
|
"kind": 40500,
|
|
"created_at": <unix-timestamp>,
|
|
"tags": [
|
|
["d", "<node-id>"], // Unique node identifier
|
|
["p", "<operator-pubkey>"],
|
|
["url", "https://..."], // Inference endpoint
|
|
["onion", "<tor-onion-address>"], // Tor hidden service endpoint
|
|
],
|
|
"content": "Human-readable description"
|
|
}
|
|
```
|
|
|
|
Clients subscribe to Kind 40500, index by `d` tag, and override older listings with newer events.
|