...
Add the correct credentials for
bitcoind.rpcuser
andbitcoind.rpcpass
(determined during your Bitcoin Core installation). LND uses the RPC credentials to communicate with Bitcoin Core.Note: the “restlisten” port is an important CAS parameter, and can be changed (as needed) to avoid conflicts with other services that may be running on your node server.
Save & exit nano (Ctrl-X).
OPTIONAL:
The maximum number of satoshis that will be paid as a fee of the payment. This value can be represented either as a percentage of the amount being sent, or as a fixed amount of the maximum fee the user is willing the pay to send the payment. If not specified, lnd will use a default value of 100% fees for small amounts (<=1k sat) or 5% fees for larger amounts.
...
Start the node.
Code Block |
---|
lnd |
...
After implementing LN in Crypto Settings, a new HTTPS REST service will begin listening on:
https://your_cas_hostname:7743/extensions/lnurl/*
your_cas_hostname
is the fully qualified domain name (FQDN) for CAS (as set in the file/batm/config/hostname
).
This endpoint must be publicly accessible from the Internet. The User’s wallet app will connect to it directly when your customer scans their LNURL QR code.
...
Code Block |
---|
base_url=https://your_cas_hostnameyourcasdomain.com:7743/extensions/lnurl |
Replace
your_cas_hostname
yourcasdomain.com
with your publicly accessible CAS domain name. The object is that whenWhen accessed in a web browser, the URL should connect
, displaying just:
BATM LNURL REST Service
The site must support HTTPS & the URL must specify HTTPS.
The URL should have no trailing “/”.
...
The funds may take a few weeks to return to your wallet. Use only as a last resort!
...
Additional resources:
https://github.com/lightningnetwork/lnd/blob/master/docs/INSTALL.md
https://github.com/alexbosworth/run-lnd
...