Sammy

npub16wg:rqf98had
Be excellent to each other. And party on dude!

Recent notes

Sammy
Sammy ยท 857d ago
@air217

I'm verified on Nostr, took me a short while so here's a summary of the changes I made if it helps anyone. Prereqs: Your own domain. For example, I own sammyjaved.com. This will let you upload the nostr.json necessary for verification using the NIP-05 specification. The specification basically assumes that owning a domain has some fixed cost, thus reducing the likelihood you are a bot. - In your Nostr client, go to your profile settings page and specify the NIP-05 field. Mine is set to "[email protected]". The format here is "<name>@<domain>". The <name> field here is arbitrary but you'll want to use a domain that you own. For example, I own sammyjaved.com. - Convert your npub key to a hex value. I used a docker container for this ```docker run --rm ghcr.io/rot13maxi/key-convertr:main --to-hex npub16wgk7s474eppd9xwqwfccvh57u0ev7c9q69sr4cnk3s3vk7av3rqf98had ``` This gave me my hex value d3916f42beae421694ce03938c32f4f71f967b05068b01d713b461165bdd6446 - Create a nostr.json file with a names key and this format <name>:< npub hex> { "names": { "_": "d3916f42beae421694ce03938c32f4f71f967b05068b01d713b461165bdd6446" } } The name specified here should match what you entered in the NIP-05 field in your profile settings. Since I used an underscore, I have an underscore in this json as well. - Upload your nostr.json file to the following address: <domain>/.well-known/nostr.json In my case, I need to make sure that visiting https://sammyjaved.com/.well-known/nostr.json will return the nostr.json file above. Nostr clients form this request from the NIP-05 value you specified in your profile settings. - I used nginx to serve this file, but this will vary depending on your server request/response setup. For me, this is what the nginx code looks like # nostr nip-005 verification location ~ /.well-known/nostr.json { add_header 'Access-Control-Allow-Origin' '*'; alias /var/www/html/sammyjaved.com/nostr.json; } - That's it! If all is well, you should know have a checkmark and be verified on Nostr! You can read more about NIP-05 here and see how to include your email address in your profile if you wish: https://github.com/nostr-protocol/nips/blob/master/05.md Thanks and for the NIP-05 proposal