diff options
| author | kehiy <kehiiiiya@gmail.com> | 2024-09-03 20:41:31 +0330 |
|---|---|---|
| committer | kehiy <kehiiiiya@gmail.com> | 2024-09-03 20:41:31 +0330 |
| commit | e6552476aa2e5ca7256be572a9aa226ec8a022ee (patch) | |
| tree | 46f14902bd2bfb85e5f3369ece456c46b697b1a2 /59.md | |
| parent | b4a2561df7325b8624bc5ffad154ec946ade2f1e (diff) | |
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>", |