I’m too stubborn to pay for one and too proud to ask for help setting my own 😭 damn shame too because I’ve got some top shell domains…

Reply to this note

Please Login to reply.

Discussion

It’s not hard. Here are some directions if you have your own website:

NIP-05 verification for free with your own domain (Damus):

Convert your public key to hex on https://damus.io/key

In your files, you should have a folder called:

/.well-known

Create a file and name it:

nostr.json

In the file, type:

{

"names":

{

"your_username":"your_public_key"

}

}

Then go to a file called:

.htaccess

and put this at the top:

Header set Access-Control-Allow-Origin "*"

Header set Access-Control-Allow-Headers "*"

Header set Access-Control-Allow-Methods "GET"

In your Damus profile settings, there is a section called NIP-05 Indentifier. Type:

your_username@your_domain.extension (ex. btcapsule@btcapsule.com).

That’s it! Now you will have a nice checkmark next to your name.

have to check why this not working for me...

Thank you bros. I think the ./well-known directory part is where I botched it the last time I tried… will give it another go tomorrow now that I have two anons I know I can zap for guidance.. this is why I fucking love it here. Cheers anons

🍻⚡️

If you want to host your own lightning address with nip57 (zaps), I'm working on something, too.

https://github.com/believethehype/satdress

Why it actually need to convert to hex key? Is it "must do" ?

Yes, it's specified that it looks for your key in hex format.

Ohhh that's why it's not working for me. Thanks

It's working now 🎉

LOL i don't see it yet. Thanks anyway. Maybe try another clint :)

Great THANK YOU

ยังไม่มีเวปไซด์เลย #[2]

For the last part, after creating the nostr.json file, if you run a nginx server, you can alternatively also add a new location within the server{} tag.

location /.well-known/nostr.json {

root /var/www/html;

add_header Access-Control-Allow-Origin *;

}

Do you bros know if SSL is required for this to work? Followed the instructions to a T but no dice yet.. I just did it about an hour ago so idk if maybe it just needs time to propagate or something…

Ser, its easy. All you need is a nostr.json in your domain/.well-known/ directory. Then put in the Name and pubkey in hex like it's done here. That's it.

https://github.com/nostr-protocol/nips/blob/master/05.md

(Convert npub to hex:)

https://damus.io/key/