diff options
| author | Vitor Pamplona <vitor@vitorpamplona.com> | 2023-06-19 15:07:40 -0400 |
|---|---|---|
| committer | fiatjaf_ <fiatjaf@gmail.com> | 2023-08-08 13:27:32 -0300 |
| commit | 7957880b48c7a56687364d9325e28c17e1ed9ca2 (patch) | |
| tree | 359b073c5fdeec876870fabb645d6bb22ff615e5 | |
| parent | f8aa3f4e514dbe1688d269e71b1d5c6afad4c8c8 (diff) | |
Adds relay markers
| -rw-r--r-- | 172.md | 7 |
1 files changed, 4 insertions, 3 deletions
| @@ -10,7 +10,7 @@ The goal of this NIP is to create moderator-approved public communities around a | |||
| 10 | 10 | ||
| 11 | # Community Definition | 11 | # Community Definition |
| 12 | 12 | ||
| 13 | `Kind:34550` SHOULD include any field that helps define the community and the set of moderators. | 13 | `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. |
| 14 | 14 | ||
| 15 | ```js | 15 | ```js |
| 16 | { | 16 | { |
| @@ -30,9 +30,10 @@ The goal of this NIP is to create moderator-approved public communities around a | |||
| 30 | ["p", "<32-bytes hex of a pubkey2>", "<optional recommended relay URL>", "moderator"], | 30 | ["p", "<32-bytes hex of a pubkey2>", "<optional recommended relay URL>", "moderator"], |
| 31 | ["p", "<32-bytes hex of a pubkey3>", "<optional recommended relay URL>", "moderator"], | 31 | ["p", "<32-bytes hex of a pubkey3>", "<optional recommended relay URL>", "moderator"], |
| 32 | 32 | ||
| 33 | // relays used by the community | 33 | // relays used by the community (w/optional marker) |
| 34 | ["relay", "<relay hosting author kind 0>", "author"], | 34 | ["relay", "<relay hosting author kind 0>", "author"], |
| 35 | ["relay", "<relay where to post requests to and fetch approvals from>"], | 35 | ["relay", "<relay where to send and receive requests>", "requests"], |
| 36 | ["relay", "<relay where to send and receive approvals>", "approvals"], | ||
| 36 | ["relay", "<relay where to post requests to and fetch approvals from>"] | 37 | ["relay", "<relay where to post requests to and fetch approvals from>"] |
| 37 | ] | 38 | ] |
| 38 | } | 39 | } |