diff options
| author | Kieran <kieran@harkin.me> | 2024-10-15 11:15:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-15 11:15:54 +0100 |
| commit | 1e2f19863ca56754daa2466881eb22087a71b17d (patch) | |
| tree | 4f7be759dce290fea1d3ae10c403260b466ee16c /39.md | |
| parent | 53afaaece61f02e92b5ef9c3e9c32945c7ebf522 (diff) | |
| parent | e381b577c997b849fa544eea7dc9f08b360b4a33 (diff) | |
Merge branch 'master' into nip71-imeta
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 | ||