Configuration files to run multi-node cross-implementation Lightning nodes. This is handy when trying to reproduce complex integration issues between specific versions of eclair, lnd or c-lightning with multi-hop payments.
Note: scripts need to be run from the top-level directory.
Run the bitcoin daemon with the following script:
scripts/start_bitcoin.sh
Note: you can tweak the default Bitcoin configuration in .bitcoin/bitcoin.conf
.
Edit the .bash_aliases
file to fill the required environment variables:
- c-lightning:
- CLIGHTNING_BIN
- CLIGHTNING_CLI
- eclair:
- ECLAIR_JAR
- ECLAIR_CLI
- lnd:
- LND_BIN
- LND_CLI
Source the .bash_aliases
file:
source .bash_aliases
Use the provided aliases to run your nodes.
For example:
alice-eclair
dave-clightning
Nodes will store their data in sub-directories of this repository so it won't conflict with other nodes you may be running on your machine.
The scripts
folder contains some test scenario.
Don't hesitate to tweak them to test other scenario.
If your test script may be useful to others, please open a PR!
For example:
scripts/multipart_direct_peer.sh