I figure explaining the spec in terms of JSON is fine, since JSON is the structural framework of the protocol messages. But yeah mixing implementation details leads to confusion.

Less code examples, more Gherkin acceptance criteria.

Reply to this note

Please Login to reply.

Discussion

I agree on JSON, I may be confusing it with another nip, but I believe nip01 used to have psuedo java-script all over the place, specifically when describing schnorr signatures. I just re-read it and it looks like all the code snippets are gone

NIP-01 has been updated several times.