diff options
Diffstat (limited to '46.md')
| -rw-r--r-- | 46.md | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -28,7 +28,7 @@ The remote signer would provide a connection token in the form: | |||
| 28 | bunker://<remote-user-pubkey>?relay=<wss://relay-to-connect-on>&relay=<wss://another-relay-to-connect-on>&secret=<optional-secret-value> | 28 | bunker://<remote-user-pubkey>?relay=<wss://relay-to-connect-on>&relay=<wss://another-relay-to-connect-on>&secret=<optional-secret-value> |
| 29 | ``` | 29 | ``` |
| 30 | 30 | ||
| 31 | This 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). | 31 | This 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 | ||
| 104 | The `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: | 104 | The `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 | ||
| 151 | The `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: | 151 | The `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) |