Colby Serpa💡 on Nostr: Document in JSON, run CBOR in production. Can literally convert JSONs to CBORs easily ...
Document in JSON, run CBOR in production. Can literally convert JSONs to CBORs easily with one line of code.
That way devs can follow NIPs easily but gain the speed of CBOR. This would scale Nostr a ton.
Published at
2024-06-22 01:44:46Event JSON
{
"id": "e26531034e7bd88ef50ce48557931f6985e3eca663c55c5e862c0c5ff291945d",
"pubkey": "59cacbd83ad5c54ad91dacf51a49c06e0bef730ac0e7c235a6f6fa29b9230f02",
"created_at": 1719013486,
"kind": 1,
"tags": [
[
"e",
"06efd9f832d46740b8e7d23fc29fa183a67b409e2fb263c5f90f366c1f4b33de",
"",
"root"
],
[
"p",
"a4cb51f4618cfcd16b2d3171c466179bed8e197c43b8598823b04de266cef110"
],
[
"p",
"e8ed3798c6ffebffa08501ac39e271662bfd160f688f94c45d692d8767dd345a"
]
],
"content": "Document in JSON, run CBOR in production. Can literally convert JSONs to CBORs easily with one line of code.\n\nThat way devs can follow NIPs easily but gain the speed of CBOR. This would scale Nostr a ton.",
"sig": "849a572ad45974ec8049f9bd5f8cb611fdf7309f221b234670413eb92b1ac03da04752fff17817e13131f0dfb00567469e799ffa289e2cc1f2741d4a3a99d06a"
}