Configure local LND as Lightning node in BTCPay Server

This commit is contained in:
2021-01-02 09:59:50 +01:00
parent 2b765e744a
commit adfd76aa64
2 changed files with 10 additions and 3 deletions

View File

@@ -2,7 +2,9 @@ network=<%= @bitcoin_network %>
port=<%= @btcpay_port %>
bind=127.0.0.1
chains=btc
BTC.explorer.url=<%= @nbxplorer_url %>
postgres=User ID=<%= @postgres_user %>;Password=<%= @postgres_password %>;Host=<%= @postgres_host %>;Port=<%= @postgres_port %>;Database=<%= @postgres_database %>;
debuglog=<%= @btcpay_log_path %>
<%# TODO BTC.lightning=type=clightning;server=/mnt/data/lightningd/lightning-rpc %>
BTC.explorer.url=<%= @nbxplorer_url %>
<% if @lnd_admin_macaroon_path %>
BTC.lightning=type=lnd-rest;server=https://127.0.0.1:8080/;macaroonfilepath=<%= @lnd_admin_macaroon_path %>;allowinsecure=true
<% end %>