semisol on Nostr: A new event format that: - is usable as an in memory representation - requires no ...
Published at
2024-05-07 16:36:43Event JSON
{
"id": "004974ace9553dd603401fe8ae35d3ad0cd4f843a57779ddc58e4d3ce3b5c6b4",
"pubkey": "52b4a076bcbbbdc3a1aefa3735816cf74993b1b8db202b01c883c58be7fad8bd",
"created_at": 1715099803,
"kind": 1,
"tags": [
[
"r",
"https://gist.github.com/Semisol/cecfded3eab9497bc56142724add1c3c"
],
[
"p",
"97c70a44366a6535c145b333f973ea86dfdc2d7a99da618c40c64705ad98e322"
],
[
"p",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
]
],
"content": "A new event format that:\n- is usable as an in memory representation\n- requires no decoding step, and by extension no memory beyond the serialized event\n- can be hashed easily (one contiguous block of the seralized segment)\n- supports deduplication of repeated strings\n- supports millisecond-accurate timestamps\n- allows binary tags for efficient encoding of public keys and event IDs\n- allows binary content for efficient encoding of encrypted data\n- has 64-bit kinds to allow 32 bit application type + 32 bit sub-type to prevent potential conflicts\n- is backwards compatible with JSON events\n\nhttps://gist.github.com/Semisol/cecfded3eab9497bc56142724add1c3c\n\ncc nostr:npub1jlrs53pkdfjnts29kveljul2sm0actt6n8dxrrzqcersttvcuv3qdjynqn nostr:npub1ye5ptcxfyyxl5vjvdjar2ua3f0hynkjzpx552mu5snj3qmx5pzjscpknpr nostr:npub1xtscya34g58tk0z605fvr788k263gsu6cy9x0mhnm87echrgufzsevkk5s nostr:npub1fjqqy4a93z5zsjwsfxqhc2764kvykfdyttvldkkkdera8dr78vhsmmleku",
"sig": "3a0fa1d87c23d0f53fa33d56dd3bf15465bfa3b28d746859026941f9e3eeccff997d79297eaf952367b668f56d13b101cef30b8bd9e1a6bbe60d80ec2966fa4c"
}