Oddbean new post about | logout
 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