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à!*
Published at
2023-01-10 02:55:14Event JSON
{
"id": "53a9aaeb51d033978d1f881782875163cfc7f899dbf44bd18907136c57ba4344",
"pubkey": "ee6ea13ab9fe5c4a68eaf9b1a34fe014a66b40117c50ee2a614f4cda959b6e74",
"created_at": 1673319314,
"kind": 1,
"tags": [
[
"p",
"e771af0b05c8e95fcdf6feb3500544d2fb1ccd384788e9f490bb3ee28e8ed66f",
"wss://nostr-pub.semisol.dev"
],
[
"p",
"3c906042e889f081619588980bcf1ebca6a5443022ad6dd8205aba269577212b",
"wss://nostr-relay.untethr.me"
],
[
"e",
"b9a96613959935d3323bc61096c77ddc8562b35bc0a2b9517531ce4b3ad66b7d",
"wss://nostr.openchain.fr",
"root"
],
[
"e",
"16a1a54ddd8ed52b0454ba17a6ea5f9aa1d1c9e63086da2ee9dc52eeba250c8c",
"wss://nostr-relay.untethr.me",
"reply"
]
],
"content": "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.\n\n\nSo, for example, if you have an address like:\n`funkychicken69@walletofsatoshi.com`\nit’s pointing to a location called:\n`https://www.walletofsatoshi.com/.well-known/lnurlp/funkychicken69`\n\n\nIf you have your own HTTP server (mine runs Apache), you would simply add the following line to your .htaccess file:\n\n\n`Redirect /.well-known/lnurlp/[name] https://www.walletofsatoshi.com/.well-known/lnurlp/funkychicken69`\n\n\nReplace [name] with the name in your NIP-05 address before the @ symbol, and edit the path to your Lightning Address.\n\n\nIf you’re using Alby, your address would be:\n`https://getalby.com/lnurlp/[name]`\n\n\n\n*Voilà!*",
"sig": "06c9f6296b8c57a5d83a6ad9a6647d1cb6c5e608dcbb6a054336505ce4d96763db863317be64299160f7a9ff761f1040857a628e8858903b95c4d0b7e4b4bc53"
}