mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-22 16:35:52 -05:00
892 B
892 B
NIP-37
Transport methods announcement
draft
optional
This NIP describes how digital services can announce how clients can reach them, it describes which network is used and depending on the network what other data is needed to reach it.
Specification
A replacable event of kind 11111
, containing one or more of the following tag(s):
["<network>", "<address>", "<protocol>"]
<network>
describes which network is used.<address>
describes where to address the service.<protocol>
describes which protocol/schema should be used
Example
{
"kind": 11111,
"tags": [
["clearnet", "some.domain.com", "wss"],
["tor", "somehash.onion", "ws"],
["i2p", "somehash.b32.i2p/", "ws"],
["ipv4", "157.240.212.35", "http"],
["ipv6", "2001:db8:3333:4444:CCCC:DDDD:EEEE:FFFF", "http"]
]
}