# How to setup LnURLPay or Lightning Address the easiest way

**URL:** <https://community.umbrel.com/t/how-to-setup-lnurlpay-or-lightning-address-the-easiest-way/11490>\
**Category:** General Discussions\
**Created:** [February 14, 2023, 8:24pm UTC](https://community.umbrel.com/t/how-to-setup-lnurlpay-or-lightning-address-the-easiest-way/11490 "2023-02-14T20:24:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![inna](https://avatars.discourse-cdn.com/v4/letter/i/8e8cbc/32.png) [@inna](https://community.umbrel.com/u/inna)\
**Post date:** [February 14, 2023, 8:24pm UTC](https://community.umbrel.com/t/how-to-setup-lnurlpay-or-lightning-address-the-easiest-way/11490/1 "2023-02-14T20:24:16Z")

</div>

I’d like to be receiving nostr tips on my own node, and need either LnURLPay or Lightning Address for that but I can’t figure out what is the simplest reliable way to do it. Can anybody provide step by step instructions?

---

<div class="post-metadata">

**Author:** ![LVONM](https://avatars.discourse-cdn.com/v4/letter/l/a9adbd/32.png) [@LVONM](https://community.umbrel.com/u/LVONM)\
**Post date:** [February 15, 2023, 1:48am UTC](https://community.umbrel.com/t/how-to-setup-lnurlpay-or-lightning-address-the-easiest-way/11490/2 "2023-02-15T01:48:00Z")

</div>

If you have a domain name then you have your own custom address and with Fiatjaf’s Bridge Server, any sats sent to your adress will go directly to your node.

Borowing from both Dearthcoin’s tutorial ([Pay to Lightning Address – Telegraph](https://telegra.ph/Pay-to-Lightning-Address-08-14)) and Fiatjaf’s bridge service ([https://bridgeaddr.fiatjaf.com/](https://bridgeaddr.fiatjaf.com/))

Assuming you have the domain name _[inna.com](http://inna.com)_ want something like _[sats@inna.com](mailto:sats@inna.com)_ to be your Lightning address, do the following.

1. Ensure your Lightning node has ample in-bound liquidity!

2. Obtain your node´s REST address.  
Login to your Umbrel.  
Open the _Lightning Node_ app, in the upper right hand corner click the three dots, then _Connect Wallet_. Ensure the first dropdown is _REST Tor_. Then copy the _lndconnect url_  
The lndconnect url is formatted as such: lndconnect://toraddress.onion:8080?cert=gibberish&macaroon=gibberish

You’ll need to reformat the address a bit. First remove _lndconnect,_ replace it with _https_ . And remove everything after the port.  
So the address should look like _[https://toraddress.onion:8080](https://toraddress.onion:8080)_

1. Create a Macaroon.  
Go to Thunderhub, click on _Tools_, then _Bake_ under Macaroon  
Set _Create to Invoices_ to _Yes_, ensure all the others are set to _No_  
Then click _Bake To Macroon_, copy that text  
For this example we’ll pretend it’s _macroongibberish=_

2. Create the DNS records  
Each domain provider is different but you’ll need to create 4 records.  
For the CNAME record, enter _@_ for the host, and _[bridgeaddr.fiatjaf.com](http://bridgeaddr.fiatjaf.com)_ for the value.  
For one of the TXT records, enter \_host for the host , and your node’s REST address for the value, _[https://toraddress.onion:8080](https://toraddress.onion:8080)_  
For the second TXT record, _\_kind_ and _lnd_  
And for the third TXT record: \_macaroon and the macaroon you just created, _macroongibberish=_

Screenshot below from my config using Namecheap. The text obscured in green is the tor address for the node ([https://toraddress.onion:8080](https://toraddress.onion:8080)) and purple is the macaroon (macroongibberish=)

 ![Captura de pantalla 2023-02-14 a la(s) 1.33.30 p.m.](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/3/373ab3d801bbf3c1aee96ff3ed8d5596e835856c.png)

Wait roughtly 30 minutes for the DNS records to update and propogate.

1. Send a test transaction using a seperate wallet. (Wallet of Satoshi , Breez, and the Bitcoin Beach/Jungle wallets all support Lighting Addresses.) Theoretically _any text_ in front of _[inna.com](http://inna.com)_ but feel free to use whatever you want when you share the address to your Nostr profile.

---

<div class="post-metadata">

**Author:** ![LVONM](https://avatars.discourse-cdn.com/v4/letter/l/a9adbd/32.png) [@LVONM](https://community.umbrel.com/u/LVONM)\
**Post date:** [February 19, 2023, 1:56am UTC](https://community.umbrel.com/t/how-to-setup-lnurlpay-or-lightning-address-the-easiest-way/11490/3 "2023-02-19T01:56:11Z")

</div>

Adding to this tutorial for if your domain name’s DNS tables has other records.  
For example if you use it for a website or email, then the tutorial above might not work.

An alternative is to create a subdomain and use that for your Lightning Address.

So instead of _[whatever@inna.com](mailto:whatever@inna.com)_ as the Lightning Address, it could be something like _[whatever@sats.inna.com](mailto:whatever@sats.inna.com)_

The address you could then provide others to use to send you sats could then be _[stack@sats.inna.com](mailto:stack@sats.inna.com)_ 😉

To do that, the CNAME record should use whatever you want your subdomain to be called under the Host field. For this example we’ll use _sats_

Then the rest of the TXT records hosts will need to have _.sats_ after each host.  
All values remain the same.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/b/bc139764ac33b800e90168bdc35cfab0d6ba60a9.png)

---

<div class="post-metadata">

**Author:** ![hansmade](https://avatars.discourse-cdn.com/v4/letter/h/a4c791/32.png) [@hansmade](https://community.umbrel.com/u/hansmade)\
**Post date:** [December 11, 2023, 2:04am UTC](https://community.umbrel.com/t/how-to-setup-lnurlpay-or-lightning-address-the-easiest-way/11490/5 "2023-12-11T02:04:43Z")

</div>

I have a domain on Hostgator that I am trying to get this to work on. Hostgator has a different zone editor which appends the domain to the ‘Host’ field which is labelled ‘Name’ I have setup a sub domain ‘lnd’ and I have tried a few different ways to enter the values. From the screenshot can anyone see what I might have wrong.

 ![lnd-cpanel-2](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/8/81e2a982b74354bdad100dc7fff5c5adb06c71a3.jpeg)

---

<div class="post-metadata">

**Author:** ![ghassen](https://avatars.discourse-cdn.com/v4/letter/g/eada6e/32.png) [@ghassen](https://community.umbrel.com/u/ghassen)\
**Post date:** [April 2, 2024, 12:27pm UTC](https://community.umbrel.com/t/how-to-setup-lnurlpay-or-lightning-address-the-easiest-way/11490/6 "2024-04-02T12:27:41Z")

</div>

I already did this solution like you said but it didn’t work I can ping it but when I put it in the wallet of satoshi it shows me “please enter a valid destination”

 ![Screenshot 2024-04-02 at 4.23.03 PM](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/5/560938e3e3b6615e86221d0cfed818da68b76c0b.png)

---

<div class="post-metadata">

**Author:** ![Frog](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@Frog](https://community.umbrel.com/u/Frog)\
**Post date:** [April 16, 2024, 7:46pm UTC](https://community.umbrel.com/t/how-to-setup-lnurlpay-or-lightning-address-the-easiest-way/11490/7 "2024-04-16T19:46:44Z")

</div>

This tutorial with subdomain is beneficial and I was able to make it work for my Umbrel node.  
With one problem identified, I haven’t found a solution yet.  
I do already have DNS TXT record to verify [domain.net](http://domain.net) ownership to Google (google-site-verification=blablabla). Screenshot below.

 ![DNS shot black](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/a/af2f41dc71fa22130393d5ca0f6ceedcaf99ff94.png)

When the “google-site-verification” TXT record is removed **all is working well**.  
When present I got the below error from any wallet, while sending sats to the LN address

 ![chyba](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/6/685e8d13fc51a4d5350a7c52ddf3d1b4e879a8bb.png)

I think there is an issue with how [bridgeaddr.fiatjaf.com](http://bridgeaddr.fiatjaf.com) works with TXT records or the entry for Google. I need both services in this domain (I can’t remove the “google-site-verification” TXT record permanently).
