Add recommendation to delegate event IDs to signers

This commit is contained in:
artur 2024-04-26 10:14:58 +02:00
parent 191fb58e53
commit df0833e00a

4
07.md
View File

@ -24,6 +24,10 @@ async window.nostr.nip44.encrypt(pubkey, plaintext): string // returns ciphertex
async window.nostr.nip44.decrypt(pubkey, ciphertext): string // takes ciphertext as specified in nip-44 async window.nostr.nip44.decrypt(pubkey, ciphertext): string // takes ciphertext as specified in nip-44
``` ```
### On event `id`
Apps and libraries SHOULD delegate generation of event `id` to signers, this allows injection of NIP-13 Proof of Work support through signers.
### Implementation ### Implementation
See https://github.com/aljazceru/awesome-nostr#nip-07-browser-extensions. See https://github.com/aljazceru/awesome-nostr#nip-07-browser-extensions.