Nostr'a Katılın
2023-03-07 00:25:49 CET

TheSilverMage on Nostr: Tried asking some devs but being ignored. How do I load this nostr-tools repo locally ...

Tried asking some devs but being ignored. How do I load this nostr-tools repo locally and get it to work? Readme leaves out a bunch of steps apparently. Here's a chunk of code. *Magic*. It works. No it doesn't. I ran the npm install nostr-tools command. Copy pasted the "Generating a private key and a public key" section into a html file inside a header script tag. Tried opening the file in a browser. I get JS errors. They left out a huge chunk of directions here. https://github.com/nbd-wtf/nostr-tools