diff options
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 | ||