lnbits-legend/docs/guide/faq.md

73 lines
5.5 KiB
Markdown
Raw Normal View History

2023-01-16 22:34:24 +01:00
---
layout: default
title: FAQ
2023-01-17 11:07:28 +01:00
nav_order: 5
2023-01-16 22:34:24 +01:00
---
Frequently Asked Questions
===============
2023-01-17 12:17:56 +01:00
<details><summary>When I scan a QR LNURL from my LNbits, I get "network error". What can I do?</summary>
2023-01-17 12:57:32 +01:00
<p>A - If your LNbits is running only behind Tor (you can't run it on clearnet), you must do the following:</p>
2023-01-17 12:17:56 +01:00
<ul>
<li>Open your LNbits LNURL page using the .onion URI, so the QR is generated using an accessible .onion URI. Do not generate that QR from a .local URI, because it will not be visible over internet, only in your LAN.</li>
<li>Open your LN wallet app that you use to scan that QR, using Tor connection. Otherwise your app cannot read that .onion URI. If the app it doesn't have integrated Tor, you can use Orbot (Android).</li>
</ul>
2023-01-17 12:57:32 +01:00
<p>B - If you run your LNbits over Tor and want to offer public LN services, you should consider to move it to a clearnet (domain/IP) access, with https SSL certificate.</p>
<ul>
2023-01-17 13:13:14 +01:00
<li>The easiest way (2 min setup) is to use Caddy. Just follow the instructions from <a href="https://docs.lnbits.org/guide/installation.html#reverse-proxy-with-automatic-https-using-caddy">here</a> and your LNbits will be accesible through clearnet https.
2023-01-17 12:57:32 +01:00
You must have a domain and be able to configure in your DNS records a subdomain for your LNbits instance (eg. lnbits.mydomain.com).
Also you need access to your internet router to open the port 443 and forward it your LNbits IP machine in your LAN.</li>
2023-01-17 13:13:14 +01:00
<li>You can also use apache option, explained in the <a href="https://docs.lnbits.org/guide/installation.html#running-behind-an-apache2-reverse-proxy-over-https">LNbits installation manual</a>.</li>
2023-01-17 12:57:32 +01:00
<li>If you LNbits run in a bundle node (Umbrel, Citadel, myNode, Embassy, Raspiblitz etc), you can follow <a href="https://github.com/TrezorHannes/vps-lnbits">this extensive guide</a> with many options to make your Tor only LNbits into a clearnet LNbits.
2023-01-17 12:17:56 +01:00
</details>
2023-01-17 12:02:01 +01:00
<details><summary>Where can I see payment details?</summary>
2023-01-16 22:34:24 +01:00
<p>
When you receive a payment in Lnbits, the transaction log will display only a resumed type of the transaction. Like this:
2023-01-17 11:01:01 +01:00
![lnbits-tx-log.png](https://i.postimg.cc/gk2FMFG9/lnbits-tx-log.png)
2023-01-16 22:34:24 +01:00
As you can see on the left side, there's a little green arrow for receiveing or red arrow for sending.
If you click on that arrow, will popup a screen with more details about the transaction, including the message and the name attached to the payment.
</p>
2023-01-17 12:02:01 +01:00
<p>
2023-01-17 13:13:14 +01:00
If the sender's LN wallet support <a href="https://github.com/lnurl/luds">LUD-18</a> (nameDesc) will also insert an alias/pseudonym preceeding the comment. This is optional and only if the sender want to send that name. It can be any name and not related to real names.
2023-01-17 12:02:01 +01:00
</p>
![lnbits-tx-details.png](https://i.postimg.cc/yYnvyK4w/lnbits-tx-details.png)
2023-01-16 22:34:24 +01:00
</details>
<details><summary>Can I receive a comment/message to my LNURL-p QR?</summary>
<p>
When you create a LNURL-p, by default the comment box is not filled. That means comments are not allowed to be attached to payments.
In order to allow comments, add the characters lenght of the box, from 1 to 250. Once you put a number there, the comment box will be displayed in the payment process. You can also edit a LNURL-p already created and add that number.
2023-01-17 11:01:01 +01:00
![lnbits-lnurl-comment.png](https://i.postimg.cc/HkJQ9xKr/lnbits-lnurl-comment.png)
2023-01-16 22:34:24 +01:00
</p>
</details>
<details><summary>How someone can deposit to my LNbits using onchain TX?</summary>
<p>There are multiple ways to get sats from onchain into LN (LNbits). Depends on the case scenario you are in.</p>
<p>Here are some options:</p>
2023-01-17 13:13:14 +01:00
<p>A - Using a swap service like: <a href="https://boltz.exchange/">Boltz</a> or <a href="https://fixedfloat.com/">FixedFloat</a> or <a href="https://swap.diamondhands.technology/">DiamondHands</a> or <a href="https://zigzag.io/"<ZigZag</a>.</p>
2023-01-17 11:01:01 +01:00
<p>This is the case when you provide to the payer only a LNURL/LN invoice from your LNbits instance, but payer have only onchain sats. So will have to the swap first on his side.</p>
2023-01-16 22:34:24 +01:00
<p>The procedure is simple: user will send onchain to the swap service, then will provide the LNURL or LN invoice from LNbits as destination of the swap.</p>
<p>B - Using the Onchain LNbits extension.</p>
<p>Keep in mind that this would be a separate wallet, not the LNbits one (your LN node behind your LNbits). Is better to use a separate one. This onchain wallet can be used also with the LNbits Boltz or Deezy extension, for swaps from LN into onchain. If you have a webshop linked to your LNbits for LN payments, it is very handy to drain all the sats from LN into onchain at the end of the day or when you have too much payments received. In this way you have more space in your LN channels to receive more.</p>
<p>Procedure steps:</p>
<ul>
<li>Use Electrum or Sparrow wallet to create a new onchain wallet. Save the backup seed in a safe place.</li>
<li>Go to wallet information and copy the xpub.</li>
<li>Go to LNbits - Onchain extension and create a new watch-only wallet with that xpub.</li>
<li>Go to LNbits - Tipjar extension and create a new Tipjar. Select also the onchain option besides the LN wallet.</li>
<li>Optional - Go to LNbits - SatsPay extension and create a new charge. You can choose between onchain and LN or both. It will create a invoice charge that can be shared.</li>
<li>Optional - If you use your LNbits linked to a Wordpress + Woocommerce page, once you create a watch-only wallet in your LNbits, the customer will have the both options to pay onchain and LN, in the same screen.</li>
</ul>
2023-01-17 10:39:04 +01:00
</details>