diff options
Diffstat (limited to '51.md')
| -rw-r--r-- | 51.md | 32 |
1 files changed, 25 insertions, 7 deletions
| @@ -54,7 +54,8 @@ Aside from their main identifier, the `"d"` tag, sets can optionally have a `"ti | |||
| 54 | | Kind mute sets | 30007 | mute pubkeys by kinds<br>`"d"` tag MUST be the kind string | `"p"` (pubkeys) | | 54 | | Kind mute sets | 30007 | mute pubkeys by kinds<br>`"d"` tag MUST be the kind string | `"p"` (pubkeys) | |
| 55 | | Interest sets | 30015 | interest topics represented by a bunch of "hashtags" | `"t"` (hashtags) | | 55 | | Interest sets | 30015 | interest topics represented by a bunch of "hashtags" | `"t"` (hashtags) | |
| 56 | | Emoji sets | 30030 | categorized emoji groups | `"emoji"` (see [NIP-30](30.md)) | | 56 | | Emoji sets | 30030 | categorized emoji groups | `"emoji"` (see [NIP-30](30.md)) | |
| 57 | | Release artifact sets | 30063 | groups of files of a software release | `"e"` (kind:1063 [file metadata](94.md) events), `"i"` (application identifier, typically reverse domain notation), `"version"` | | 57 | | Release artifact sets | 30063 | group of artifacts of a software release | `"e"` (kind:1063 [file metadata](94.md) events), `"a"` (software application event) | |
| 58 | | App curation sets | 30267 | references to multiple software applications | `"a"` (software application event) | | ||
| 58 | 59 | ||
| 59 | ### Deprecated standard lists | 60 | ### Deprecated standard lists |
| 60 | 61 | ||
| @@ -117,22 +118,39 @@ Some clients have used these lists in the past, but they should work on transiti | |||
| 117 | "pubkey": "d6dc95542e18b8b7aec2f14610f55c335abebec76f3db9e58c254661d0593a0c", | 118 | "pubkey": "d6dc95542e18b8b7aec2f14610f55c335abebec76f3db9e58c254661d0593a0c", |
| 118 | "created_at": 1695327657, | 119 | "created_at": 1695327657, |
| 119 | "kind": 30063, | 120 | "kind": 30063, |
| 121 | "content": "Release notes in markdown", | ||
| 120 | "tags": [ | 122 | "tags": [ |
| 121 | ["d", "ak8dy3v7"], | 123 | ["d", "com.example.app@0.0.1"], |
| 122 | ["i", "com.example.app"], | ||
| 123 | ["version", "0.0.1"], | ||
| 124 | ["title", "Example App"], | ||
| 125 | ["image", "http://cdn.site/p/com.example.app/icon.png"], | ||
| 126 | ["e", "d78ba0d5dce22bfff9db0a9e996c9ef27e2c91051de0c4e1da340e0326b4941e"], // Windows exe | 124 | ["e", "d78ba0d5dce22bfff9db0a9e996c9ef27e2c91051de0c4e1da340e0326b4941e"], // Windows exe |
| 127 | ["e", "f27e2c91051de0c4e1da0d5dce22bfff9db0a9340e0326b4941ed78bae996c9e"], // MacOS dmg | 125 | ["e", "f27e2c91051de0c4e1da0d5dce22bfff9db0a9340e0326b4941ed78bae996c9e"], // MacOS dmg |
| 128 | ["e", "9d24ddfab95ba3ff7c03fbd07ad011fff245abea431fb4d3787c2d04aad02332"], // Linux AppImage | 126 | ["e", "9d24ddfab95ba3ff7c03fbd07ad011fff245abea431fb4d3787c2d04aad02332"], // Linux AppImage |
| 129 | ["e", "340e0326b340e0326b4941ed78ba340e0326b4941ed78ba340e0326b49ed78ba"] // PWA | 127 | ["e", "340e0326b340e0326b4941ed78ba340e0326b4941ed78ba340e0326b49ed78ba"], // PWA |
| 128 | ["a", "32267:d6dc95542e18b8b7aec2f14610f55c335abebec76f3db9e58c254661d0593a0c:com.example.app"] // Reference to parent software application | ||
| 130 | ], | 129 | ], |
| 131 | "content": "Example App is a decentralized marketplace for apps", | 130 | "content": "Example App is a decentralized marketplace for apps", |
| 132 | "sig": "a9a4e2192eede77e6c9d24ddfab95ba3ff7c03fbd07ad011fff245abea431fb4d3787c2d04aad001cb039cb8de91d83ce30e9a94f82ac3c5a2372aa1294a96bd" | 131 | "sig": "a9a4e2192eede77e6c9d24ddfab95ba3ff7c03fbd07ad011fff245abea431fb4d3787c2d04aad001cb039cb8de91d83ce30e9a94f82ac3c5a2372aa1294a96bd" |
| 133 | } | 132 | } |
| 134 | ``` | 133 | ``` |
| 135 | 134 | ||
| 135 | ### An _app curation set_ | ||
| 136 | |||
| 137 | ```jsonc | ||
| 138 | { | ||
| 139 | "id": "d8037fa866eb5acd2159960b3ada7284172f7d687b5289cc72a96ca2b431b611", | ||
| 140 | "pubkey": "78ce6faa72264387284e647ba6938995735ec8c7d5c5a65737e55130f026307d", | ||
| 141 | "sig": "c1ce0a04521c020ae7485307cd86285530c1f778766a3fd594d662a73e7c28f307d7cd9a9ab642ae749fce62abbabb3a32facfe8d19a21fba551b60fae863d95", | ||
| 142 | "kind": 30267, | ||
| 143 | "created_at": 1729302793, | ||
| 144 | "content": "My nostr app selection", | ||
| 145 | "tags": [ | ||
| 146 | ["d", "nostr"], | ||
| 147 | ["a", "32267:7579076d9aff0a4cfdefa7e2045f2486c7e5d8bc63bfc6b45397233e1bbfcb19:com.example.app1"], | ||
| 148 | ["a", "32267:045f2486c7e5d8bc63bfc6b45397233e1bbfcb197579076d9aff0a4cfdefa7e2:net.example.app2"], | ||
| 149 | ["a", "32267:264387284e647ba6938995735ec8c7d5c5a6f026307d78ce6faa725737e55130:pl.code.app3"] | ||
| 150 | ] | ||
| 151 | } | ||
| 152 | ``` | ||
| 153 | |||
| 136 | ## Encryption process pseudocode | 154 | ## Encryption process pseudocode |
| 137 | 155 | ||
| 138 | ```scala | 156 | ```scala |