Nostr should adopt CBOR as its wire protocol, instead of JSO...

The Fishcake (nostr.build)

npub137c5pd8gmhhe0njtsgwjgunc5xjr2vmzvglkgqs5sjeh972gqqxqjak37w

hex

b046a569efd8ce23f667c53116ae82150b65f576d7dce024d075af66bd99130c

nevent

nevent1qqstq349d8ha3n3r7enu2vgk46pp2zm974md0h8qyng8ttmxhkv3xrqprpmhxue69uhhyetvv9ujuem4d36kwatvw5hx6mm9qgsglv2qkn5dmmuhee9cy8fywfu2rfp4xd3xy0myqg2gfvmjl9yqqrq07zymv

Kind-1 (TextNote)

2026-05-04T03:37:08Z

Nostr should adopt CBOR as its wire protocol, instead of JSON. Much more efficient and as widely supported

https://cbor.io/impls.html https://github.com/hildjj/cbor2

原始 JSON

{
  "kind": 1,
  "id": "b046a569efd8ce23f667c53116ae82150b65f576d7dce024d075af66bd99130c",
  "pubkey": "8fb140b4e8ddef97ce4b821d247278a1a4353362623f64021484b372f948000c",
  "created_at": 1777865828,
  "tags": [
    [
      "r",
      "https://cbor.io/impls.html"
    ],
    [
      "r",
      "https://github.com/hildjj/cbor2"
    ]
  ],
  "content": "Nostr should adopt CBOR as its wire protocol, instead of JSON. Much more efficient and as widely supported \n\nhttps://cbor.io/impls.html\nhttps://github.com/hildjj/cbor2",
  "sig": "c727e6e4b7462fdc4b0b0361e23198c89f286c29271001007ac7c503520136bfb1dc0f025c05c67739e5111b26e83885b6cee5d742d54c5aec081e7b56137c2d"
}