Update lightning-address.md

This commit is contained in:
Bitcoin Txoko
2023-12-06 12:48:18 +01:00
committed by GitHub
parent c5cce553b8
commit 4ea4c87782
+17 -15
View File
@@ -11,7 +11,7 @@ It works using the [LNURL pay protocol](https://github.com/lnurl/luds/blob/legac
In short, when a user wants to pay you using your Lightning Address, their wallet converts the Lightning Address into a LNURL payRequest. A successful LNURL payRequest is then used to obtain a BOLT11 invoice.
💡 Lightning Address -> LNURLp -> BOLT 11 invoice.
💡 Lightning Address > LNURLp > BOLT 11 invoice.
### Sounds good, but what's the catch?
At the moment most Lightning Address implementations are custodial, because a domain is needed for Lightning Addresses to work. Because it's custodial, the custodian can rug you at any time and monitor your transactions.
@@ -24,39 +24,41 @@ Bitcoin Txoko offers a simple Lightning Address solution backed by [LNbits](http
All you need is a mobile phone or computer and an Internet connection!
### 1. Creating your wallet
If you haven't done so already, go to https://bitcointxoko.com and *add a new wallet*. You can name it whatever you want.
If you haven't done so already, go to https://bitcointxoko.com and `add a new wallet`. You can name it whatever you want.
⚠️ Make sure you save the link to your wallet so you can access it later! A good way to do this is to save it in your password manager, such as [Bitwarden](https://bitwarden.com/).
### 2. Activate extensions
The extension **LNURLp** is needed for Lightning Addresses to work.
The extension ``LNURLp`` is needed for Lightning Addresses to work.
Go to *Extensions* in the toolbar and activate LNURLp.
Go to `Extensions` in the toolbar and activate LNURLp.
### 3. Creating your pay link
Go to the LNURLp extension and click on *New Pay Link*.
Go to the LNURLp extension and click on `New Pay Link`.
Choose the wallet you have created.
For the *Item Description*, you can enter whatever you want.
For the `Item Description`, you can enter whatever you want.
Choose a your Lightning Address username. Your Lightning Address will look like username@bitcointxoko.com.
Uncheck *Fixed Amount* and change the *Min* value to 1 and *Max* value to 500000.
Uncheck `Fixed Amount` and change the `Min` value to 1 and `Max` value to 500000.
⚠️ You can also change the *Max* value to something higher, but larger payments are more likely to fail due to the limited inbound channel capacity of the Bitcoin Txoko Lightning node. So we recommend keeping it at 500000 sats.
⚠️ You can also change the `Max` value to something higher, but larger payments are more likely to fail due to the limited inbound channel capacity of the Bitcoin Txoko Lightning node. So we recommend keeping it at 500000 sats.
Now open *Advanced Options* and check *Enable nostr zaps* at the bottom, so that you can use your Lightning Address to receive zaps.
Now open `Advanced Options` and change the `Comment maximum characters` to 799. This step is not required but allows more functionalities later on.
The other *Advanced options* are optional, you can configure them if you want, or leave them blank.
Check `Enable nostr zaps` at the bottom, so that you can use your Lightning Address to receive zaps.
The other `Advanced options` are optional, you can configure them if you want, or leave them blank.
![In the end it should look something like this. ](https://raw.githubusercontent.com/bitcointxoko/guides/main/images/lnaddress-config.jpeg)
In the end it should look something like this.
When you've checked everything is correct, go ahead and click on *Create Pay Link*.
When you've checked everything is correct, go ahead and click on `Create Pay Link`.
### Testing
You can test if your new Lightning Address works by going to another wallet, going to *Send* and typing in your Lightning Address as the destination, then send yourself a few sats.
You can test if your new Lightning Address works by going to another wallet, going to `Send` and typing in your Lightning Address as the destination, then send yourself a few sats.
Go back to your Bitcoin Txoko wallet and check if you've received your own payment. You might need to refresh the page.
@@ -66,12 +68,12 @@ If not, let us know. We are always here to help.
### Next steps
#### Nostr zaps
You can add your Bitcoin Txoko Lightning Address to your nostr profile and use it to receive zaps. On most clients this is done by going to *Profile* -> *Edit* -> *Lightning Address* and changing the Lightning Address.
You can add your Bitcoin Txoko Lightning Address to your nostr profile and use it to receive zaps. On most clients this is done by going to `Profile` > `Edit` > `Lightning Address` and changing the Lightning Address.
#### LNDhub
You can import your LNbits wallet as a LNDhub onto your phone using an app like [Zeus](https://zeusln.app/) or [BlueWallet](https://bluewallet.io/), instead of visiting the wallet link every time you want to check your balance or make a payment. Check out our [guide] on how to do this.
#### QR code
You can also share or print your LNURLp QR code so people can easily scan it with their phones. Very useful if you're onboarding your favourite local merchant so that they can receive Lightning tips!
Simply share the link to your *Sharable Page*,
Simply share the link to your `Sharable Page`,
or print the QR code as a PDF by going to *View Link* -> *Print*.
or print the QR code as a PDF by going to `View Link` > `Print`.