What is Nostr?
TheSilverMage /
npub16ms…n2rl
2023-03-06 23:25:49

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
Author Public Key
npub16ms7xvxv9jw4scjugafgcwd070zvttp3pt3358w7d8hhlafuzl8swpn2rl