mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
Adds relay markers
This commit is contained in:
parent
f8aa3f4e51
commit
7957880b48
7
172.md
7
172.md
|
@ -10,7 +10,7 @@ The goal of this NIP is to create moderator-approved public communities around a
|
||||||
|
|
||||||
# Community Definition
|
# Community Definition
|
||||||
|
|
||||||
`Kind:34550` SHOULD include any field that helps define the community and the set of moderators.
|
`Kind:34550` SHOULD include any field that helps define the community and the set of moderators. `relay` tags MAY be used to describe the preferred relay to download requests and approvals.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
{
|
{
|
||||||
|
@ -30,9 +30,10 @@ The goal of this NIP is to create moderator-approved public communities around a
|
||||||
["p", "<32-bytes hex of a pubkey2>", "<optional recommended relay URL>", "moderator"],
|
["p", "<32-bytes hex of a pubkey2>", "<optional recommended relay URL>", "moderator"],
|
||||||
["p", "<32-bytes hex of a pubkey3>", "<optional recommended relay URL>", "moderator"],
|
["p", "<32-bytes hex of a pubkey3>", "<optional recommended relay URL>", "moderator"],
|
||||||
|
|
||||||
// relays used by the community
|
// relays used by the community (w/optional marker)
|
||||||
["relay", "<relay hosting author kind 0>", "author"],
|
["relay", "<relay hosting author kind 0>", "author"],
|
||||||
["relay", "<relay where to post requests to and fetch approvals from>"],
|
["relay", "<relay where to send and receive requests>", "requests"],
|
||||||
|
["relay", "<relay where to send and receive approvals>", "approvals"],
|
||||||
["relay", "<relay where to post requests to and fetch approvals from>"]
|
["relay", "<relay where to post requests to and fetch approvals from>"]
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user