What is Nostr?
The: Daniel ⚡️
npub1aeh…4nwx
2023-01-10 02:55:14
in reply to nevent1q…fsdq

The: Daniel ⚡️ on Nostr: Turns out, I was overthinking it. Your Lightning Address is just pointing to a file ...

Turns out, I was overthinking it. Your Lightning Address is just pointing to a file location on a webserver. Even though it *looks* like an email address, it’s actually just something your wallet uses to point at your LNURL.


So, for example, if you have an address like:
`funkychicken69@walletofsatoshi.com`
it’s pointing to a location called:
`https://www.walletofsatoshi.com/.well-known/lnurlp/funkychicken69`


If you have your own HTTP server (mine runs Apache), you would simply add the following line to your .htaccess file:


`Redirect /.well-known/lnurlp/[name] https://www.walletofsatoshi.com/.well-known/lnurlp/funkychicken69`


Replace [name] with the name in your NIP-05 address before the @ symbol, and edit the path to your Lightning Address.


If you’re using Alby, your address would be:
`https://getalby.com/lnurlp/[name]`



*Voilà!*
Author Public Key
npub1aeh2zw4elewy5682lxc6xnlqzjnxksq303gwu2npfaxd49vmde6qcq4nwx