@model LightningNodeViewModel @{ Layout = "../Shared/_NavLayout.cshtml"; ViewData["Title"] = "Add lightning node (Experimental)"; ViewData.AddActivePage(BTCPayServer.Views.Stores.StoreNavPages.Index); }
This connection string encapsulates the necessary information BTCPay needs to connect to your lightning node, we currently support:
clightning
lightning charge
lnd
Note that the certthumbprint to connect to your LND node can be obtained through this command line:
certthumbprint
openssl x509 -noout -fingerprint -sha256 -inform pem -in /root/.lnd/tls.cert
You can omit certthumprint if you the certificate is trusted by your machine
certthumprint
You can set allowinsecure to true if your LND REST server is using HTTP or HTTPS with an untrusted certificate which you don't know the certthumprint
allowinsecure
true
You can use the internal lightning node by clicking here