diff --git a/61.md b/61.md index 6c8445539d..6d348bb8dc 100644 --- a/61.md +++ b/61.md @@ -4,7 +4,7 @@ NIP-61 Unbounded List -------------- -`draft` `optional` `author:arthurfranca` +`draft` `optional` `author:arthurfranca` `author:vitorpamplona` An unbounded list is a group of events with the same pubkey and `n` (name) tag. An event can have many `n` tags, thus being member of many unbounded lists. @@ -46,11 +46,13 @@ Tags other than `d` and `n` may be encrypted with [NIP-44](#44.md) similar to NI An event with kind `33118` is defined as a parameterized replaceable unbounded list event for people. The `n` tag(s) holds the list name(s) the event is currently part of. -The `p` tags included in these lists MUST follow the format of kind 3 events as defined in [NIP-02 - Contact List and Petnames](02.md). +The single `p` tag included in these lists MUST follow the format of kind 3 events as defined in [NIP-02 - Contact List and Petnames](02.md). ## Event Examples ```js +// Unbounded subscriber list event also part of the unbounded +// "private:5c83da77af1dec6d7289834998ad7aafbd9e2191396d75ec3cc27f5a77226f36" list { "kind": 33118, "tags": [ @@ -72,6 +74,8 @@ The `p` tags included in these lists MUST follow the format of kind 3 events as ``` ```js +// A NIP-51 list being part of the unbounded +// "private:5c83da77af1dec6d7289834998ad7aafbd9e2191396d75ec3cc27f5a77226f36" list { "kind": 30000, "tags": [ @@ -85,3 +89,25 @@ The `p` tags included in these lists MUST follow the format of kind 3 events as ...other fields } ``` + +```js +// Unbounded contact list can be made of +// thousands of events like the one below +{ + "kind": 33118, + "tags": [ + ["d", "random5189992173907396"] + ["n", "contacts"] + ], + "content": "`], + ["summary", ""], + ["email", "bla@ble.com"] + ])>", + ...other fields +} +```