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-toolsPublished at
2023-03-06 23:25:49Event JSON
{
"id": "def0d43b38e1a1a18a38767d202c4488cc35e9e10469309eebef7459f84aa960",
"pubkey": "d6e1e330cc2c9d58625c47528c39aff3c4c5ac310ae31a1dde69ef7ff53c17cf",
"created_at": 1678145149,
"kind": 1,
"tags": [],
"content": "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\n",
"sig": "f7752e1a42d95ffd863904f1a9aa2f815e024f43fea9d44b6555629d1d185975b865f65970f0de4cb6760000b41f3f73f16e84a7abb5884b62706aea3b39ed5d"
}