Note

nostrich
·
1675305859
Step-by-Step Guide to #Nostr NIP-05 Verification on a Next.js Site w/ #DamusApp Create a folder called .well-known in the public folder of your #Nextjs project, then create a file named nostr.json with the following content: { "names": { "name": "hex key" } }. https://pbs.twimg.com/media/Fn7b2TqWYAADEJp.jpg If you don't know your public hex key, convert your nsub key to a hex key using damus.io/key/ and replace the placeholder text ‘hex key’ with the converted hex key in nostr.json. Don’t forget to set your name. (e.g., ‘tony’, ‘jack’) Deploy your Next.js site and check for CORS issues using https://cors-test.codehappy.dev. You can view your nostr.json file by navigating to http://www.yourdomain.com/.well-known/nostr.json Complete Verification in @damusapp by going to Profile > Edit > NIP-05 Verification > input the name you set in your nostr.json file, followed by an @, and then finally the domain. It should look like an email address: [email protected], [email protected] > Save > Verified > ✔️ ⚡️ 🍻