diff --git a/BTCPayServer/Views/Stores/AddLightningNode.cshtml b/BTCPayServer/Views/Stores/AddLightningNode.cshtml index bc861bf04..a46c87033 100644 --- a/BTCPayServer/Views/Stores/AddLightningNode.cshtml +++ b/BTCPayServer/Views/Stores/AddLightningNode.cshtml @@ -7,33 +7,49 @@

@ViewData["Title"]

-
-
-
-
-
-
-
+
-
Lightning node url
- This URL should point to an installed lightning charge server for @Model.CryptoCode +

This connection string encapsulates the necessary information BTCPay needs to connect to your lightning node, we currently support:

+
    +
  • clightning via TCP or unix domain socket connection
  • +
  • lightning charge via HTTPS
  • +
  • lnd via the REST proxy
  • +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
Examples
type=clightning;server=unix://root/.lightning/lightning-rpc
type=clightning;server=tcp://1.1.1.1:27743/
type=lnd-rest;server=http://mylnd:8080/;macaroonfilepath=/root/.lnd/admin.macaroon;allowinsecure=true
type=lnd-rest;server=https://mylnd:8080/;macaroon=abef263adfe...
type=lnd-rest;server=https://mylnd:8080/;macaroon=abef263adfe...;certthumbprint=abef263adfe...
type=charge;server=https://charge:8080/;api-token=myapitoken...
+

Note that the certthumbprint to connect to your LND node can be obtained through this command line:

+

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

+

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