-
-
Save tecnovert/0ce71291d82718c0d9d378321a086c04 to your computer and use it in GitHub Desktop.
Lightning over Particl regtest example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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