Skip to content

Instantly share code, notes, and snippets.

@alexbosworth
Created May 19, 2018 13:47
Show Gist options
  • Save alexbosworth/f4dc09951b0c648bc49f77faa9be1c27 to your computer and use it in GitHub Desktop.
Save alexbosworth/f4dc09951b0c648bc49f77faa9be1c27 to your computer and use it in GitHub Desktop.

Setup Bitcoin.conf

bitcoin.conf flags for LND integration

rpcpassword= // make a strong password
rpcuser=bitcoinrpc
server=1
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28332

Setup LND directory and conf

$ mkdir ~/.lnd

Edit ~/.lnd/lnd.conf

[Application Options]
alias=ALIAS
color=#000000
externalip=IP
maxpendingchannels=10
minchansize=250000
rpclisten=0.0.0.0:10009
tlsextraip=IP

[autopilot]
autopilot.active=1
autopilot.maxchannels=10
autopilot.minchansize=250000
autopilot.allocation=0.8

[Bitcoin]
bitcoin.active=1
bitcoin.feerate=1000
bitcoin.node=bitcoind
bitcoin.testnet=1

[bitcoind]
bitcoind.rpcpass= // Password for bitcoind
bitcoind.rpcuser=bitcoinrpc
bitcoind.zmqpath=tcp://127.0.0.1:28332
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment