diff options
| -rw-r--r-- | 47.md | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -107,7 +107,7 @@ The content of notifications is encrypted with [NIP04](https://github.com/nostr- | |||
| 107 | ## Nostr Wallet Connect URI | 107 | ## Nostr Wallet Connect URI |
| 108 | **client** discovers **wallet service** by scanning a QR code, handling a deeplink or pasting in a URI. | 108 | **client** discovers **wallet service** by scanning a QR code, handling a deeplink or pasting in a URI. |
| 109 | 109 | ||
| 110 | The **wallet service** generates this connection URI with protocol `nostr+walletconnect://` and base path it's hex-encoded `pubkey` with the following query string parameters: | 110 | The **wallet service** generates this connection URI with protocol `nostr+walletconnect://` and base path its hex-encoded `pubkey` with the following query string parameters: |
| 111 | 111 | ||
| 112 | - `relay` Required. URL of the relay where the **wallet service** is connected and will be listening for events. May be more than one. | 112 | - `relay` Required. URL of the relay where the **wallet service** is connected and will be listening for events. May be more than one. |
| 113 | - `secret` Required. 32-byte randomly generated hex encoded string. The **client** MUST use this to sign events and encrypt payloads when communicating with the **wallet service**. | 113 | - `secret` Required. 32-byte randomly generated hex encoded string. The **client** MUST use this to sign events and encrypt payloads when communicating with the **wallet service**. |
| @@ -175,7 +175,7 @@ Request: | |||
| 175 | Response: | 175 | Response: |
| 176 | 176 | ||
| 177 | For every invoice in the request, a separate response event is sent. To differentiate between the responses, each | 177 | For every invoice in the request, a separate response event is sent. To differentiate between the responses, each |
| 178 | response event contains a `d` tag with the id of the invoice it is responding to, if no id was given, then the | 178 | response event contains a `d` tag with the id of the invoice it is responding to; if no id was given, then the |
| 179 | payment hash of the invoice should be used. | 179 | payment hash of the invoice should be used. |
| 180 | 180 | ||
| 181 | ```jsonc | 181 | ```jsonc |
| @@ -247,7 +247,7 @@ Request: | |||
| 247 | Response: | 247 | Response: |
| 248 | 248 | ||
| 249 | For every keysend in the request, a separate response event is sent. To differentiate between the responses, each | 249 | For every keysend in the request, a separate response event is sent. To differentiate between the responses, each |
| 250 | response event contains an `d` tag with the id of the keysend it is responding to, if no id was given, then the | 250 | response event contains a `d` tag with the id of the keysend it is responding to; if no id was given, then the |
| 251 | pubkey should be used. | 251 | pubkey should be used. |
| 252 | 252 | ||
| 253 | ```jsonc | 253 | ```jsonc |