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 Published at
2024-10-17 12:21:43Event JSON
{
"id": "a8c3fc958764f5c52ba6ede3a4f5cee5636bd9875460683a28aada05ea8c076d",
"pubkey": "460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"created_at": 1729167703,
"kind": 1,
"tags": [
[
"e",
"0000de0f4bfb333baad00bd5ea5887b87ebe501e1fe64a26aee4eb948808ace5",
"",
"root"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"p",
"97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"r",
"https://github.com/nostr-protocol/nips/pull/1144"
]
],
"content": "All the non-DM cases send wraps to the regular NIP-65 inbox relay. \n\nThere 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. \n\nSome 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). \n\nSome group admin shared keys/secrets are sealed and wrapped. \n\nAll of these only use a generic wrap because they don't want the public to know which type of event is inside of it. \n\nSo, to me, NIP-59 just lists primitives that can be used according to the use case. \n\nI tried to rewrite NIP-59 to match that here: https://github.com/nostr-protocol/nips/pull/1144 ",
"sig": "f42720a0db04ed7896a5f2ea73854b04182c9ef1e2f92db2f574630a79161e365477995606d1e680f3c3f3730465afb8359b76985eecc3bb418759744191c7d0"
}