Adds relay markers

This commit is contained in:
Vitor Pamplona 2023-06-19 15:07:40 -04:00 committed by fiatjaf_
parent f8aa3f4e51
commit 7957880b48

7
172.md
View File

@ -10,7 +10,7 @@ The goal of this NIP is to create moderator-approved public communities around a
# 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
{
@ -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 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 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>"]
]
}