diff options
| author | Oscar Merry <MerryOscar@users.noreply.github.com> | 2024-08-05 23:08:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-05 23:08:41 +0100 |
| commit | 29eec055c2ccf115dae3e8560506b480f1a6de05 (patch) | |
| tree | 634fa65565d0bf40eca479de9851c0c95058af72 /47.md | |
| parent | 13b830d228b122b29f9d96a3bf10601406ddd646 (diff) | |
| parent | 428a4779d7c4f4c2ff53815e8958e7cf99d69d26 (diff) | |
Merge branch 'nostr-protocol:master' into external-content-ids
Diffstat (limited to '47.md')
| -rw-r--r-- | 47.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -38,7 +38,7 @@ a plaintext string with the supported commands, space-separated, eg. `pay_invoic | |||
| 38 | Both the request and response events SHOULD contain one `p` tag, containing the public key of the **wallet service** if this is a request, and the public key of the **user** if this is a response. The response event SHOULD contain an `e` tag with the id of the request event it is responding to. | 38 | Both the request and response events SHOULD contain one `p` tag, containing the public key of the **wallet service** if this is a request, and the public key of the **user** if this is a response. The response event SHOULD contain an `e` tag with the id of the request event it is responding to. |
| 39 | Optionally, a request can have an `expiration` tag that has a unix timestamp in seconds. If the request is received after this timestamp, it should be ignored. | 39 | Optionally, a request can have an `expiration` tag that has a unix timestamp in seconds. If the request is received after this timestamp, it should be ignored. |
| 40 | 40 | ||
| 41 | The content of requests and responses is encrypted with [NIP04](https://github.com/nostr-protocol/nips/blob/master/04.md), and is a JSON-RPCish object with a semi-fixed structure: | 41 | The content of requests and responses is encrypted with [NIP04](04.md), and is a JSON-RPCish object with a semi-fixed structure: |
| 42 | 42 | ||
| 43 | Request: | 43 | Request: |
| 44 | ```jsonc | 44 | ```jsonc |