What is Nostr?
Vitor Pamplona
npub1gcx…nj5z
2024-10-17 12:21:43
in reply to nevent1q…9n55

Vitor Pamplona on Nostr: All the non-DM cases send wraps to the regular NIP-65 inbox relay. There are cases ...

All the non-DM cases send wraps to the regular NIP-65 inbox relay.

There are cases where the wrap is just there to hide an inner event. They are not sealed, so that the inner event can be reshared with others.

Some stuff is sealed but not wrapped, like when sending notifications via push systems (no need to inform the destination because it's already the push systems job of delivering it).

Some group admin shared keys/secrets are sealed and wrapped.

All of these only use a generic wrap because they don't want the public to know which type of event is inside of it.

So, to me, NIP-59 just lists primitives that can be used according to the use case.

I tried to rewrite NIP-59 to match that here: https://github.com/nostr-protocol/nips/pull/1144
Author Public Key
npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z