upleb.uk

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

summaryrefslogtreecommitdiff
path: root/47.md
diff options
context:
space:
mode:
Diffstat (limited to '47.md')
-rw-r--r--47.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/47.md b/47.md
index d1030a4..932c263 100644
--- a/47.md
+++ b/47.md
@@ -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
110The **wallet service** generates this connection URI with protocol `nostr+walletconnect://` and base path it's hex-encoded `pubkey` with the following query string parameters: 110The **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:
175Response: 175Response:
176 176
177For every invoice in the request, a separate response event is sent. To differentiate between the responses, each 177For every invoice in the request, a separate response event is sent. To differentiate between the responses, each
178response event contains a `d` tag with the id of the invoice it is responding to, if no id was given, then the 178response event contains a `d` tag with the id of the invoice it is responding to; if no id was given, then the
179payment hash of the invoice should be used. 179payment hash of the invoice should be used.
180 180
181```jsonc 181```jsonc
@@ -247,7 +247,7 @@ Request:
247Response: 247Response:
248 248
249For every keysend in the request, a separate response event is sent. To differentiate between the responses, each 249For every keysend in the request, a separate response event is sent. To differentiate between the responses, each
250response event contains an `d` tag with the id of the keysend it is responding to, if no id was given, then the 250response event contains a `d` tag with the id of the keysend it is responding to; if no id was given, then the
251pubkey should be used. 251pubkey should be used.
252 252
253```jsonc 253```jsonc