diff options
Diffstat (limited to '46.md')
| -rw-r--r-- | 46.md | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -58,7 +58,7 @@ _user_ passes this token to _remote-signer_, which then sends `connect` *respons | |||
| 58 | 58 | ||
| 59 | ## Request Events `kind: 24133` | 59 | ## Request Events `kind: 24133` |
| 60 | 60 | ||
| 61 | ```js | 61 | ```jsonc |
| 62 | { | 62 | { |
| 63 | "kind": 24133, | 63 | "kind": 24133, |
| 64 | "pubkey": <local_keypair_pubkey>, | 64 | "pubkey": <local_keypair_pubkey>, |
| @@ -136,7 +136,7 @@ The `content` field is a JSON-RPC-like message that is [NIP-04](04.md) encrypted | |||
| 136 | 136 | ||
| 137 | ### Signature request | 137 | ### Signature request |
| 138 | 138 | ||
| 139 | ```js | 139 | ```jsonc |
| 140 | { | 140 | { |
| 141 | "kind": 24133, | 141 | "kind": 24133, |
| 142 | "pubkey": "eff37350d839ce3707332348af4549a96051bd695d3223af4aabce4993531d86", | 142 | "pubkey": "eff37350d839ce3707332348af4549a96051bd695d3223af4aabce4993531d86", |
| @@ -156,7 +156,7 @@ The `content` field is a JSON-RPC-like message that is [NIP-04](04.md) encrypted | |||
| 156 | 156 | ||
| 157 | ### Response event | 157 | ### Response event |
| 158 | 158 | ||
| 159 | ```js | 159 | ```jsonc |
| 160 | { | 160 | { |
| 161 | "kind": 24133, | 161 | "kind": 24133, |
| 162 | "pubkey": "fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52", | 162 | "pubkey": "fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52", |
| @@ -196,7 +196,7 @@ _client_ should display (in a popup or new tab) the URL from the `error` field a | |||
| 196 | ### Announcing _remote-signer_ metadata | 196 | ### Announcing _remote-signer_ metadata |
| 197 | 197 | ||
| 198 | _remote-signer_ MAY publish it's metadata by using [NIP-05](05.md) and [NIP-89](89.md). With NIP-05, a request to `<remote-signer>/.well-known/nostr.json?name=_` MAY return this: | 198 | _remote-signer_ MAY publish it's metadata by using [NIP-05](05.md) and [NIP-89](89.md). With NIP-05, a request to `<remote-signer>/.well-known/nostr.json?name=_` MAY return this: |
| 199 | ``` | 199 | ```jsonc |
| 200 | { | 200 | { |
| 201 | "names":{ | 201 | "names":{ |
| 202 | "_": <remote-signer-app-pubkey>, | 202 | "_": <remote-signer-app-pubkey>, |