Skip to content

Instantly share code, notes, and snippets.

View ShahanaFarooqui's full-sized avatar

ShahanaFarooqui

View GitHub Profile
@ShahanaFarooqui
ShahanaFarooqui / Regtest_windows.md
Last active January 22, 2024 16:23
Regtest on Windows (Bitcoin & LND)

Install bitcoin core:

Download Bitcoin core and install it whereever you prefer (C:\Bitcoin). It should have daemon, docs and bitcoin-qt with other files. daemon folder contains bitcoind and bitcoin-cli executables.

Bitcoin regtest setup:

First node setup:

  • We need to run at least two nodes to send/receive transactions. So let us start with first node setup.
  • Create 'regtest1' folder at your prefered location (~\AppData\Roaming\Bitcoin).
  • Create bitcoin.conf file in this newly created regtest1 folder.
  • Add below configurations to this file: