Merge pull request #983 from monlovesmango/NIP46-update-NIP44-calls

NIP46 - update NIP44 calls
This commit is contained in:
hodlbod 2024-02-21 08:11:42 -08:00 committed by GitHub
commit 7995a5bc37
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

8
46.md
View File

@ -126,10 +126,10 @@ Each of the following are methods that the client sends to the remote signer.
| `get_relays` | `[]` | `json_stringified({<relay_url>: {read: <boolean>, write: <boolean>}})` |
| `get_public_key` | `[]` | `<hex-pubkey>` |
| `nip04_encrypt` | `[<third_party_pubkey>, <plaintext_to_encrypt>]` | `<nip04_ciphertext>` |
| `nip04_decrypt` | `[<third_party_pubkey>, <ciphertext_to_decrypt>]` | `<plaintext>` |
| `nip44_conversation_key` | Potential future addition | |
| `nip44_encrypt` | Potential future addition | |
| `nip44_decrypt` | Potential future addition | |
| `nip04_decrypt` | `[<third_party_pubkey>, <nip04_ciphertext_to_decrypt>]` | `<plaintext>` |
| `nip44_encrypt` | `[<third_party_pubkey>, <plaintext_to_encrypt>]` | `<nip44_ciphertext>` |
| `nip44_decrypt` | `[<third_party_pubkey>, <nip44_ciphertext_to_decrypt>]` | `<plaintext>` |
| `nip44_get_conversation_key`| _Potential future addition_ | |
## Response Events `kind:24133`