add nip-44 calls

This commit is contained in:
Pablo Fernandez 2023-12-07 17:01:25 +00:00
parent 3983a52d3b
commit d0aef4c158

12
46.md
View File

@ -84,3 +84,15 @@ The signer key will always be the key of the user who controls the signer device
- **nip04_decrypt** - **nip04_decrypt**
- params: [`third-party-pubkey`, `nip04-ciphertext`] - params: [`third-party-pubkey`, `nip04-ciphertext`]
- result: `plaintext` - result: `plaintext`
- **nip44_get_key**
- params: [`third-party-pubkey`]
- result: `nip44-conversation-key`
- **nip44_encrypt**
- params: [`third-party-pubkey`, `plaintext`]
- result: `nip44-ciphertext`
- **nip44_decrypt**
- params: [`third-party-pubkey`, `nip44-ciphertext`]
- result: `plaintext`
- **ping**
- params: []
- result: `"pong"`