What is Nostr?
tyiu / Terry Yiu
npub1yau…vjmf
2024-10-17 13:21:26

tyiu on Nostr: Vitor Pamplona hodlbod I’m having trouble wrapping (no pun intended) my head around ...

Vitor Pamplona (npub1gcx…nj5z) hodlbod (npub1jlr…ynqn) I’m having trouble wrapping (no pun intended) my head around the one-time use random keypair used to sign the kind 1059 gift wrap event. If I want to see the NIP-17 DMs that I’ve sent from my client, would I have to keep track of the random keypairs that I’ve used so that I can decrypt the gift wrap content and render them in the future? Alternatively, would I just need to store the seal events locally on my client?

Context: I’m adding NIP-17 DM support to Nostr SDK for Apple Platforms and the randomized keypair stuff on the gift wrap confused me.
Author Public Key
npub1yaul8k059377u9lsu67de7y637w4jtgeuwcmh5n7788l6xnlnrgs3tvjmf