Congrats! Using nostr-tools?

Reply to this note

Please Login to reply.

Discussion

Just following Super Testnet along his Nostr workshop from almost a year ago šŸ˜„.

Will get to the Nostr tools soon I hope.

You can use it directly in a html document using the bundle. https://github.com/nbd-wtf/nostr-tools#using-from-the-browser-if-you-dont-want-to-use-a-bundler and then you can open de html document in the browser, then open dev tools (normally F12) and in the console type 'window.NostrTools.{methods}' for example window.NostrTools.generatePrivateKey() to generate a privkey. Boom šŸ’„ you can explore the whole library from the console