diff options
Diffstat (limited to '46.md')
| -rw-r--r-- | 46.md | 20 |
1 files changed, 10 insertions, 10 deletions
| @@ -95,16 +95,16 @@ The `content` field is a JSON-RPC-like message that is [NIP-44](44.md) encrypted | |||
| 95 | 95 | ||
| 96 | Each of the following are methods that the _client_ sends to the _remote-signer_. | 96 | Each of the following are methods that the _client_ sends to the _remote-signer_. |
| 97 | 97 | ||
| 98 | | Command | Params | Result | | 98 | | Command | Params | Result | |
| 99 | | ------------------------ | ------------------------------------------------- | ---------------------------------------------------------------------- | | 99 | | ------------------------ | ------------------------------------------------- | ---------------------------------------------------------------------- | |
| 100 | | `connect` | `[<remote-signer-pubkey>, <optional_secret>, <optional_requested_permissions>]` | "ack" OR `<required-secret-value>` | | 100 | | `connect` | `[<remote-signer-pubkey>, <optional_secret>, <optional_requested_permissions>]` | "ack" | |
| 101 | | `sign_event` | `[<{kind, content, tags, created_at}>]` | `json_stringified(<signed_event>)` | | 101 | | `sign_event` | `[<{kind, content, tags, created_at}>]` | `json_stringified(<signed_event>)` | |
| 102 | | `ping` | `[]` | "pong" | | 102 | | `ping` | `[]` | "pong" | |
| 103 | | `get_public_key` | `[]` | `<user-pubkey>` | | 103 | | `get_public_key` | `[]` | `<user-pubkey>` | |
| 104 | | `nip04_encrypt` | `[<third_party_pubkey>, <plaintext_to_encrypt>]` | `<nip04_ciphertext>` | | 104 | | `nip04_encrypt` | `[<third_party_pubkey>, <plaintext_to_encrypt>]` | `<nip04_ciphertext>` | |
| 105 | | `nip04_decrypt` | `[<third_party_pubkey>, <nip04_ciphertext_to_decrypt>]` | `<plaintext>` | | 105 | | `nip04_decrypt` | `[<third_party_pubkey>, <nip04_ciphertext_to_decrypt>]` | `<plaintext>` | |
| 106 | | `nip44_encrypt` | `[<third_party_pubkey>, <plaintext_to_encrypt>]` | `<nip44_ciphertext>` | | 106 | | `nip44_encrypt` | `[<third_party_pubkey>, <plaintext_to_encrypt>]` | `<nip44_ciphertext>` | |
| 107 | | `nip44_decrypt` | `[<third_party_pubkey>, <nip44_ciphertext_to_decrypt>]` | `<plaintext>` | | 107 | | `nip44_decrypt` | `[<third_party_pubkey>, <nip44_ciphertext_to_decrypt>]` | `<plaintext>` | |
| 108 | 108 | ||
| 109 | ### Requested permissions | 109 | ### Requested permissions |
| 110 | 110 | ||