What is Nostr?
ynniv /
npub12ak…6fdh
2025-03-02 04:25:51
in reply to nevent1q…zehs

ynniv on Nostr: JSON is just an encoding. For nostr it's necessary to produce this encoding in order ...

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.
Author Public Key
npub12akj8hpakgzk6gygf9rzlm343nulpue3pgkx8jmvyeayh86cfrus4x6fdh