From 3d436c3b0e522f54b20cd825d68faebfab64ecce Mon Sep 17 00:00:00 2001 From: Andrew Camilleri Date: Mon, 20 May 2019 01:13:11 +0000 Subject: [PATCH] Add Eclair to connection string examples (#846) * Add Eclair to connection string examples * bump LN nuget --- BTCPayServer/BTCPayServer.csproj | 2 +- BTCPayServer/Configuration/BTCPayServerOptions.cs | 2 ++ BTCPayServer/Views/Stores/AddLightningNode.cshtml | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/BTCPayServer/BTCPayServer.csproj b/BTCPayServer/BTCPayServer.csproj index 2e752efc5..bebfa02db 100644 --- a/BTCPayServer/BTCPayServer.csproj +++ b/BTCPayServer/BTCPayServer.csproj @@ -34,7 +34,7 @@ - + diff --git a/BTCPayServer/Configuration/BTCPayServerOptions.cs b/BTCPayServer/Configuration/BTCPayServerOptions.cs index 5887a35a3..4f1d604c9 100644 --- a/BTCPayServer/Configuration/BTCPayServerOptions.cs +++ b/BTCPayServer/Configuration/BTCPayServerOptions.cs @@ -105,6 +105,8 @@ namespace BTCPayServer.Configuration $"If you have a lightning charge server: 'type=charge;server=https://charge.example.com;api-token=yourapitoken'" + Environment.NewLine + $"If you have a lnd server: 'type=lnd-rest;server=https://lnd:lnd@lnd.example.com;macaroon=abf239...;certthumbprint=2abdf302...'" + Environment.NewLine + $" lnd server: 'type=lnd-rest;server=https://lnd:lnd@lnd.example.com;macaroonfilepath=/root/.lnd/admin.macaroon;certthumbprint=2abdf302...'" + Environment.NewLine + + $"If you have an eclair server: 'type=eclair;server=http://eclair.com:4570;password=eclairpassword;bitcoin-host=bitcoind:37393;bitcoin-auth=bitcoinrpcuser:bitcoinrpcpassword" + Environment.NewLine + + $" eclair server: 'type=eclair;server=http://eclair.com:4570;password=eclairpassword;bitcoin-host=bitcoind:37393" + Environment.NewLine + $"Error: {error}" + Environment.NewLine + "This service will not be exposed through BTCPay Server"); } diff --git a/BTCPayServer/Views/Stores/AddLightningNode.cshtml b/BTCPayServer/Views/Stores/AddLightningNode.cshtml index 9fc16515d..543bfbf75 100644 --- a/BTCPayServer/Views/Stores/AddLightningNode.cshtml +++ b/BTCPayServer/Views/Stores/AddLightningNode.cshtml @@ -61,6 +61,9 @@ type=charge;server=https://charge:8080/;api-token=myapitoken... + + type=eclair;server=https://eclair:8080/;password=eclairpassword... +

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