mleku on Nostr: Envelopes form an API, events and filters are the result and query. The envelopes are ...
Envelopes form an API, events and filters are the result and query. The envelopes are a bit retarted, in that some have context, eg auth and event, but it's technically a distinct protocol
Otherwise it would just be an API
Published at
2024-10-11 21:11:21Event JSON
{
"id": "ad02e26fbccada1cd3d57d2d510dd03781f6548fb3d009c6cc17b31f17b8e5c1",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1728681081,
"kind": 1,
"tags": [
[
"p",
"8633073b8567da97ad119fedd9716154aa283234cbb7d28d5131daa077d1cf7a",
"wss://relay.damus.io/",
"Diacone Frost"
],
[
"e",
"49097d483d24f207c084e7b71972aa2e552d0b04b10c2cc828be34113cd3d6de",
"wss://nos.lol/",
"root",
"8633073b8567da97ad119fedd9716154aa283234cbb7d28d5131daa077d1cf7a"
]
],
"content": "Envelopes form an API, events and filters are the result and query. The envelopes are a bit retarted, in that some have context, eg auth and event, but it's technically a distinct protocol\n\nOtherwise it would just be an API",
"sig": "c211f9716b3524c0bc17647583ae90b81e3876c0cf5da4a6619a95e2c53bc9edef4cb13cfb00a4601a9e74057bf256799ee5f97d825d4eab01a91bb6db46d257"
}