peer-pubkey

Co-authored-by: monlovesmango <96307647+monlovesmango@users.noreply.github.com>
This commit is contained in:
fiatjaf_ 2023-11-21 22:25:19 -03:00 committed by GitHub
parent c5c2d86a47
commit e4bddbee7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
46.md
View File

@ -77,7 +77,7 @@ And the events the remote signer sends to the client have the following format:
- params: []
- result: `{ [url: string]: {read: boolean, write: boolean} }`
- **nip04_encrypt**
- params: [`pubkey`, `plaintext`]
- params: [`peer-pubkey`, `plaintext`]
- result: `nip4 ciphertext`
- **nip04_decrypt**
- params: [`peer-pubkey`, `nip4 ciphertext`]