We support both Lightning Network Daemon (lnd) and clightning. An example config for lnd can be found in /docs/config_lightning.py.
If installing the python library lndgrpc requirement failed, see this solution.
To use lightning, you need to change your pay_method
in config.py
, and set your lightning directory on your node.
pay_method = "lnd"
lnd_dir = "~/.lnd/"
lnd_rpcport = "10009"
To use lightning, you need to change your pay_method
in config.py
, and set your lightning directory on your node.
pay_method = "clightning"
# If remote clightning, make sure `ssh -nNT -L lightning-rpc:{clightning_rpc_file} {tunnel_host}`
clightning_rpc_file = "/home/user/.lightning/lightning-rpc"
Your lnd directory is used to find your .tls
and .macaroon
files that are required to talk to your lightning node. They are copied over SSH into your SatSale folder. If this copy fails, perhaps copy them manually and they will be identified on start up.
Your node will require sufficient liquidity and connection to receive payments.
You may also need a taller iframe for the longer address:
<iframe src="http://YOUR_SERVER_IP:8000/" style="margin: 0 auto;display:block;width:420px;height:380px;border:none;overflow:hidden;" scrolling="no"></iframe>