Event JSON
{
"id": "6b42ade1718e50ad96f1342fd2cb4f88f242b196d8a82e07376c437fa8b42cb9",
"pubkey": "4a38463c2a75e68c24416e7720a3b3befbb0ea6872d5a04692c39e18e8f2dcac",
"created_at": 1728054345,
"kind": 1,
"tags": [
[
"e",
"43c20f2913eb50d34a167dd0668c37100e17ba91402accd90441d3c4193784bb",
"",
"root"
],
[
"p",
"ba80990666ef0b6f4ba5059347beb13242921e54669e680064ca755256a1e3a6"
],
[
"p",
"c7617e02242f5853fe5b513d411f19b44ad3f0da95a28d33a9b7e927f255dd2d"
],
[
"p",
"ee6ea13ab9fe5c4a68eaf9b1a34fe014a66b40117c50ee2a614f4cda959b6e74"
],
[
"p",
"50d94fc2d8580c682b071a542f8b1e31a200b0508bab95a33bef0855df281d63",
"",
"mention"
],
[
"r",
"https://github.com/cashubtc/nuts/blob/main/00.md"
]
],
"content": "The legacy format v3 encodes the JSON with base64_urlsafe with the prefix cashuA.\n\nThe v4 format uses smaller JSON keys and adds CBOR (converts the JSON to binary) then encodes as base64_urlsafe with the prefix cashuB.\n\nThis results in smaller sized tokens.\n\nThe prefix was my suggestion to make the difference both human and machine readable, iirc.\n\nCC nostr:nprofile1qqs9pk20ctv9srrg9vr354p03v0rrgsqkpggh2u45va77zz4mu5p6ccpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsz9thwden5te0dehhxarj9ehhsarj9ejx2a30qyg8wumn8ghj7mn0wd68ytnddakj7xph5zr\n\nFor more info:\n\nhttps://github.com/cashubtc/nuts/blob/main/00.md",
"sig": "5c7d406804e2f01ea2b6e620d24f91644bd129a7920e6c76ed534b14547238cb99a39f4a677a882fbb75d53631cb7122cd718852c73450da0e691b7a3bfc1355"
}