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Γ !*

Reply to this note

Please Login to reply.

Discussion

#[4]

#[4]

thanks for sharing

Saving screenshot for later , thnx

Oh wow. Easier than I thought. Finally read it, sounds easy peasy (might try that at some point)

Minor correction: Your Alby address would look like:

`https://getalby.com/.well-known/lnurlp/[name]`

Someone mind tipping me a few sats to see if this worked. Think i got it working with traefik

Amazing, thank you! So easy I’m tempted to do it from my phone while lying in bed instead of waiting until I’m at my desk tomorrow.

Update: I set this up from my phone and now have evan@evanprim.com as my lightning address. Amazing.

πŸ”₯πŸ”₯πŸ”₯πŸ”₯πŸ”₯

Amazing. I’ve never seen this documented. So much simpler than other methods.

Also, with Alby, either `/lnurlp/[username]` or `/.well-known/lnurlp/[username]` will work. Just tried both.

Woohoo! πŸ€™

I have to thank #[5] for setting me on the right path to understanding this. πŸ€™

LOL, meant to put #[5] β€” pasted the wrong npub! 🀣

πŸ˜‚

You're welcome sir.

Cheers!

🀣

I have to thank #[5] for setting me on the right path to understanding this. πŸ€™