Skip to content

Commit

Permalink
Adds relay markers
Browse files Browse the repository at this point in the history
  • Loading branch information
vitorpamplona authored and fiatjaf committed Aug 8, 2023
1 parent f8aa3f4 commit 7957880
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions 172.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand All @@ -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>"]
]
}
Expand Down

0 comments on commit 7957880

Please sign in to comment.