Skip to content

Instantly share code, notes, and snippets.

@tecnovert
Last active May 4, 2019 14:49
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 tecnovert/0ce71291d82718c0d9d378321a086c04 to your computer and use it in GitHub Desktop.
Save tecnovert/0ce71291d82718c0d9d378321a086c04 to your computer and use it in GitHub Desktop.
Lightning over Particl regtest example
Lightning over Particl regtest example:
Must run against the latest particl daemon code due to changed parameter in sendrawtransaction.
Golang must be installed and GOPATH set.
$ git clone https://github.com/particl/particl-core particl-core_lnd
$ cd particl-core_lnd
$ export PARTICL_BINDIR=`pwd`/src
$ echo $PARTICL_BINDIR
$ ./autogen.sh;
$ ./configure --with-incompatible-bdb --with-gui=no --disable-tests --disable-bench
$ make -j4
$ cd $GOPATH/src
$ git clone https://github.com/tecnovert/lnd particl_lnd
$ cd particl_lnd
$ git checkout particl
$ make
$ export LND_BINDIR=$GOPATH/src/particl_lnd
$ cd ~
$ wget https://gist.githubusercontent.com/tecnovert/ad1bb9fdb27909b5d92c4c658b516910/raw/8c7f585c44f5b16f3ae337a1e044cc6b3c4f6f0a/test_lnd.py
$ python3 test_lnd.py
...
Test passed!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment