Cool. Here’s the spec probably a good place to start https://github.com/nostr-protocol/nips
Discussion
+ read the lib code
Thanks. I've seen the specs quickly a while ago and understand there are multiple nips. Just want to write a 'Hello world' note or so in NIP-01, sign it and send it to an existing relay. Asking this to chatgpt comes with libraries such as nostr-tools and when asked without it, another one for the cryptography. I prefer an example where its without those libraries linked in the code, and the needed code/javascript for cryptography, signing, websockets etc is directly in the same html/javascript file. I hope there is such an example so I can understand it bit by bit, and to have it fully client side without external dependencies.
For the basics you need some libs, writing the signing stuff is kinda hard 🥸
I didn't asked it well. I meant that I want the process in one file instead if using multiple files/CDN's. Like https://www.bitaddress.org/ is doing for Bitcoin, so I can understand it better, so adding the code for signing in the same file where I can add the rest of hello world note would be nice