diff options
| author | Francisco Calderón <fjcalderon@gmail.com> | 2024-11-04 15:39:21 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-04 15:39:21 -0300 |
| commit | 03f3bc39678262ecbd5d870c9da44723023557ff (patch) | |
| tree | e75ecf32d3bc906a8b26314488a1ae90996169c1 /39.md | |
| parent | f72a2f69ed93cf442e83bf9e7e16f6c06da40384 (diff) | |
| parent | 6bcd89c097e97e65dbc95e7c6b7b8348e8dd6b5c (diff) | |
Merge branch 'master' into p2p-nip
Diffstat (limited to '39.md')
| -rw-r--r-- | 39.md | 9 |
1 files changed, 6 insertions, 3 deletions
| @@ -12,16 +12,19 @@ Nostr protocol users may have other online identities such as usernames, profile | |||
| 12 | 12 | ||
| 13 | ## `i` tag on a metadata event | 13 | ## `i` tag on a metadata event |
| 14 | 14 | ||
| 15 | A new optional `i` tag is introduced for `kind 0` metadata event contents in addition to name, about, picture fields as included in [NIP-01](https://github.com/nostr-protocol/nips/blob/master/01.md): | 15 | A new optional `i` tag is introduced for `kind 0` metadata event defined in [NIP-01](01.md): |
| 16 | ```json | 16 | |
| 17 | ```jsonc | ||
| 17 | { | 18 | { |
| 19 | "id": <id>, | ||
| 20 | "pubkey": <pubkey>, | ||
| 18 | "tags": [ | 21 | "tags": [ |
| 19 | ["i", "github:semisol", "9721ce4ee4fceb91c9711ca2a6c9a5ab"], | 22 | ["i", "github:semisol", "9721ce4ee4fceb91c9711ca2a6c9a5ab"], |
| 20 | ["i", "twitter:semisol_public", "1619358434134196225"], | 23 | ["i", "twitter:semisol_public", "1619358434134196225"], |
| 21 | ["i", "mastodon:bitcoinhackers.org/@semisol", "109775066355589974"] | 24 | ["i", "mastodon:bitcoinhackers.org/@semisol", "109775066355589974"] |
| 22 | ["i", "telegram:1087295469", "nostrdirectory/770"] | 25 | ["i", "telegram:1087295469", "nostrdirectory/770"] |
| 23 | ], | 26 | ], |
| 24 | ... | 27 | // other fields... |
| 25 | } | 28 | } |
| 26 | ``` | 29 | ``` |
| 27 | 30 | ||