mirror of
https://github.com/Routstr/protocol.git
synced 2026-08-08 23:34:42 +00:00
629 B
629 B
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
{
"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.