diff options
| author | hodlbod <jstaab@protonmail.com> | 2024-09-03 13:56:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-03 13:56:56 -0700 |
| commit | c02b161d9ed8f2edb7633b467ad2dd25252ed55c (patch) | |
| tree | 0a9198bac9d1976cf0744c30516400ee5cff26aa /59.md | |
| parent | 378dfaa5dbf44bd1f17fd70f8727b636b7c99239 (diff) | |
| parent | c8dc1eadffe0ff894ec39e291c5b28bb18e6db9e (diff) | |
Merge pull request #1477 from kehiy/jsonc
format(all): JSON formatting
Diffstat (limited to '59.md')
| -rw-r--r-- | 59.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -41,7 +41,7 @@ A `seal` is a `kind:13` event that wraps a `rumor` with the sender's regular key | |||
| 41 | to a receiver's pubkey but there is no `p` tag pointing to the receiver. There is no way to know who the rumor is for | 41 | to a receiver's pubkey but there is no `p` tag pointing to the receiver. There is no way to know who the rumor is for |
| 42 | without the receiver's or the sender's private key. The only public information in this event is who is signing it. | 42 | without the receiver's or the sender's private key. The only public information in this event is who is signing it. |
| 43 | 43 | ||
| 44 | ```js | 44 | ```json |
| 45 | { | 45 | { |
| 46 | "id": "<id>", | 46 | "id": "<id>", |
| 47 | "pubkey": "<real author's pubkey>", | 47 | "pubkey": "<real author's pubkey>", |
| @@ -60,7 +60,7 @@ Tags MUST must always be empty in a `kind:13`. The inner event MUST always be un | |||
| 60 | A `gift wrap` event is a `kind:1059` event that wraps any other event. `tags` SHOULD include any information | 60 | A `gift wrap` event is a `kind:1059` event that wraps any other event. `tags` SHOULD include any information |
| 61 | needed to route the event to its intended recipient, including the recipient's `p` tag or [NIP-13](13.md) proof of work. | 61 | needed to route the event to its intended recipient, including the recipient's `p` tag or [NIP-13](13.md) proof of work. |
| 62 | 62 | ||
| 63 | ```js | 63 | ```json |
| 64 | { | 64 | { |
| 65 | "id": "<id>", | 65 | "id": "<id>", |
| 66 | "pubkey": "<random, one-time-use pubkey>", | 66 | "pubkey": "<random, one-time-use pubkey>", |