Global Feed Post Login
Replying to Avatar DJ Booth

For NIP05, only need 2 files.

Go to your website root folder (ie, httpsdocs, public_html - or something similar)

Create a folder named .well-known

It must start with a period.

In /.well-known folder, create file named .htaccess

Also must start with a period.

.htaccess file should contain this text:

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

Header set X-Frame-Options "SAMEORIGIN"

Create a new file in /.well-known named nostr.json

The contents should be:

{"names":{"bitcoinhatguy":"81e2f952ac7e143f9f661d63da17071de5ee6077a9e3aea8638298c13e13941d"}}

That long string has been calculated from your npub. Hope this helps.

Avatar
BitcoinHatGuy 2y ago

Thanks DJ. Soon as I get some time I'll give it a go. Appreciate the info

Reply to this note

Please Login to reply.

Discussion

No replies yet.