Skip to content

Instantly share code, notes, and snippets.

@PierreRochard
Last active November 18, 2018 01:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PierreRochard/0ea17a84746435871b67b1b91bae483a to your computer and use it in GitHub Desktop.
Save PierreRochard/0ea17a84746435871b67b1b91bae483a to your computer and use it in GitHub Desktop.
Download the latest 64 bit Windows version of Bitcoin Core https://bitcoincore.org/en/download/
Install it but don't run it
Testnet:
& 'C:\Program Files\Bitcoin\bitcoin-qt.exe' -testnet=1 -txindex=1 -zmqpubrawblock=tcp://127.0.0.1:18501 -zmqpubrawtx=tcp://127.0.0.1:18502 -rpcuser=test_user -rpcpassword=test_password -server=1
Mainnet:
& 'C:\Program Files\Bitcoin\bitcoin-qt.exe' -testnet=0 -txindex=1 -zmqpubrawblock=tcp://127.0.0.1:18503 -zmqpubrawtx=tcp://127.0.0.1:18504 -rpcuser=test_user -rpcpassword=test_password -server=1
Let it sync
Download the latest 64 bit Windows version of LND https://github.com/lightningnetwork/lnd/releases
Testnet:
.\lnd.exe --bitcoin.active --bitcoin.testnet --bitcoin.node=bitcoind --bitcoind.rpchost=127.0.0.1 --bitcoind.rpcuser=test_user --bitcoind.rpcpass=YOURPASSWORD --bitcoind.zmqpubrawblock=tcp://127.0.0.1:18501 --bitcoind.zmqpubrawtx=tcp://127.0.0.1:18502 --debuglevel=info --rpclisten=localhost:10010 --restlisten=0.0.0.0:8081 --listen=0.0.0.0:9736
.\lncli.exe -rpcserver=localhost:10010 -network=testnet unlock
Mainnet:
.\lnd.exe --bitcoin.active --bitcoin.mainnet --bitcoin.node=bitcoind --bitcoind.rpchost=127.0.0.1 --bitcoind.rpcuser=test_user --bitcoind.rpcpass=YOURPASSWORD --bitcoind.zmqpubrawblock=tcp://127.0.0.1:18503 --bitcoind.zmqpubrawtx=tcp://127.0.0.1:18504 --debuglevel=info
.\lncli.exe unlock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment