upleb.uk

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

summaryrefslogtreecommitdiff
path: root/46.md
diff options
context:
space:
mode:
Diffstat (limited to '46.md')
-rw-r--r--46.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/46.md b/46.md
index 1528116..57fd2b0 100644
--- a/46.md
+++ b/46.md
@@ -28,7 +28,7 @@ The remote signer would provide a connection token in the form:
28bunker://<remote-user-pubkey>?relay=<wss://relay-to-connect-on>&relay=<wss://another-relay-to-connect-on>&secret=<optional-secret-value> 28bunker://<remote-user-pubkey>?relay=<wss://relay-to-connect-on>&relay=<wss://another-relay-to-connect-on>&secret=<optional-secret-value>
29``` 29```
30 30
31This token is pasted into the client by the user and the client then uses the details to connect to the remote signer via the specified relay(s). 31This token is pasted into the client by the user and the client then uses the details to connect to the remote signer via the specified relay(s). Optional secret can be used for single successfully established connection only, remote signer SHOULD ignore new attempts to establish connection with old optional secret.
32 32
33### Direct connection initiated by the client 33### Direct connection initiated by the client
34 34
@@ -101,7 +101,7 @@ nostrconnect://<local-keypair-pubkey>?relay=<wss://relay-to-connect-on>&metadata
101} 101}
102``` 102```
103 103
104The `content` field is a JSON-RPC-like message that is [NIP-04](https://github.com/nostr-protocol/nips/blob/master/04.md) encrypted and has the following structure: 104The `content` field is a JSON-RPC-like message that is [NIP-04](04.md) encrypted and has the following structure:
105 105
106```json 106```json
107{ 107{
@@ -148,7 +148,7 @@ The `connect` method may be provided with `optional_requested_permissions` for u
148} 148}
149``` 149```
150 150
151The `content` field is a JSON-RPC-like message that is [NIP-04](https://github.com/nostr-protocol/nips/blob/master/04.md) encrypted and has the following structure: 151The `content` field is a JSON-RPC-like message that is [NIP-04](04.md) encrypted and has the following structure:
152 152
153```json 153```json
154{ 154{
@@ -224,4 +224,4 @@ Coming soon...
224 224
225## References 225## References
226 226
227- [NIP-04 - Encryption](https://github.com/nostr-protocol/nips/blob/master/04.md) 227- [NIP-04 - Encryption](04.md)