Replying to Avatar ynniv

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.

Avatar
Liberty Farmer 10mo ago

the receive side has no knowledge of anything, it cannot reconstruct or verify signature. it is merely a passthrough, as it has no access or knowledge of the nsec.

Reply to this note

Please Login to reply.

Discussion

No replies yet.