Replying to Avatar openoms

Setting up NIP5 is easy and takes 2 minutes. Thanks #[0] for the quick guide: https://nvk.org/n00b-nip5

All I can add that I used the https://nstr.cloud/key.html to transform my npub to hex and yes github does complain, but can also use a subdomain.

To make it even faster you can fork this: https://github.com/openoms/nip5

A little bit more hacking and now my NIP5 identifier is the same as my LNaddress:

openoms@pay.diynodes.com

The nginx snippet used in the redirect to btcpayserver serving the lnaddress:

location /.well-known/nostr.json {

add_header 'Access-Control-Allow-Origin' '*';

alias /var/www/html/.well-known/nostr.json;

}

Next step to move both to the root domain.

FYI #[1]

https://void.cat/d/377W9S98DAZTnUErp9CoQV.webp

Reply to this note

Please Login to reply.

Discussion

Confirmed that it is fairly easy to have the NIP5 verification link and the LNaddress on the same domain even when using BTCPayServer and hosting a website on the root.

Nginx snippets I used:

https://github.com/openoms/bitcoin-tutorials/blob/master/nginx/nostr_lnaddress_snippets.conf

https://void.cat/d/Cx5gGpLL5iP3R8PUdRavxY.webp

Now only email doesn't work there, but I'll just skip that.