Post
I am sending compressed Json, yes. A full signed note. I have no idea what your math means, or where it came from? A timestamp is not 4 bytes, the kind is not 1, it is a min of 7(kind:1;). content: "Hello Nostr"; would be 23 bytes. Uncompressed of course.
0
0
JSON is just an encoding. For nostr it's necessary to produce this encoding in order to verify the signature, but if your medium is constrained, there's no reason you can't define a new encoding. Nostr timestamps are unix timestamps: the essential information in them is four bytes. For essential fields you can just declare an ordering: they need to be there, this is the order, this is their size etc. A receiver would then reconstruct the JSON object based on the format, and then be able to verify the signature.
0