diff options
| author | Pablo Fernandez <p@f7z.io> | 2023-12-07 17:01:25 +0000 |
|---|---|---|
| committer | Pablo Fernandez <p@f7z.io> | 2023-12-07 17:01:25 +0000 |
| commit | d0aef4c1581807a046b00396f67f3dd03cf599e8 (patch) | |
| tree | 4db5ade753cd9b7719cad126a641d0665abd9726 | |
| parent | 3983a52d3bb720852090ee02911f56ee2701dd73 (diff) | |
add nip-44 calls
| -rw-r--r-- | 46.md | 12 |
1 files changed, 12 insertions, 0 deletions
| @@ -84,3 +84,15 @@ The signer key will always be the key of the user who controls the signer device | |||
| 84 | - **nip04_decrypt** | 84 | - **nip04_decrypt** |
| 85 | - params: [`third-party-pubkey`, `nip04-ciphertext`] | 85 | - params: [`third-party-pubkey`, `nip04-ciphertext`] |
| 86 | - result: `plaintext` | 86 | - result: `plaintext` |
| 87 | - **nip44_get_key** | ||
| 88 | - params: [`third-party-pubkey`] | ||
| 89 | - result: `nip44-conversation-key` | ||
| 90 | - **nip44_encrypt** | ||
| 91 | - params: [`third-party-pubkey`, `plaintext`] | ||
| 92 | - result: `nip44-ciphertext` | ||
| 93 | - **nip44_decrypt** | ||
| 94 | - params: [`third-party-pubkey`, `nip44-ciphertext`] | ||
| 95 | - result: `plaintext` | ||
| 96 | - **ping** | ||
| 97 | - params: [] | ||
| 98 | - result: `"pong"` | ||