upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/39.md
diff options
context:
space:
mode:
Diffstat (limited to '39.md')
-rw-r--r--39.md11
1 files changed, 3 insertions, 8 deletions
diff --git a/39.md b/39.md
index 3777ac5..8a3247f 100644
--- a/39.md
+++ b/39.md
@@ -8,16 +8,11 @@ External Identities in Profiles
8 8
9## Abstract 9## Abstract
10 10
11Nostr protocol users may have other online identities such as usernames, profile pages, keypairs etc. they control and they may want to include this data in their profile metadata so clients can parse, validate and display this information. 11Users can declare their control over one or more online identities such as usernames, profile pages, keypairs in kind `10011` using `i` tags.
12
13## `i` tag on a metadata event
14
15A new optional `i` tag is introduced for `kind 0` metadata event defined in [NIP-01](01.md):
16 12
17```jsonc 13```jsonc
18{ 14{
19 "id": <id>, 15 "kind": 10011,
20 "pubkey": <pubkey>,
21 "tags": [ 16 "tags": [
22 ["i", "github:semisol", "9721ce4ee4fceb91c9711ca2a6c9a5ab"], 17 ["i", "github:semisol", "9721ce4ee4fceb91c9711ca2a6c9a5ab"],
23 ["i", "twitter:semisol_public", "1619358434134196225"], 18 ["i", "twitter:semisol_public", "1619358434134196225"],
@@ -28,7 +23,7 @@ A new optional `i` tag is introduced for `kind 0` metadata event defined in [NIP
28} 23}
29``` 24```
30 25
31An `i` tag will have two parameters, which are defined as the following: 26An `i` tag MUST have two parameters, which are defined as the following:
321. `platform:identity`: This is the platform name (for example `github`) and the identity on that platform (for example `semisol`) joined together with `:`. 271. `platform:identity`: This is the platform name (for example `github`) and the identity on that platform (for example `semisol`) joined together with `:`.
332. `proof`: String or object that points to the proof of owning this identity. 282. `proof`: String or object that points to the proof of owning this identity.
34 29