Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/t-bast/lightning-cfg
Configuration files to run multi-node cross-implementation Lightning nodes
https://github.com/t-bast/lightning-cfg
bitcoin c-lightning eclair lightning-network lnd
Last synced: about 1 month ago
JSON representation
Configuration files to run multi-node cross-implementation Lightning nodes
- Host: GitHub
- URL: https://github.com/t-bast/lightning-cfg
- Owner: t-bast
- License: apache-2.0
- Created: 2019-07-09T14:20:04.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-10T16:40:29.000Z (over 2 years ago)
- Last Synced: 2023-03-04T23:19:40.310Z (over 1 year ago)
- Topics: bitcoin, c-lightning, eclair, lightning-network, lnd
- Language: Shell
- Homepage:
- Size: 43.9 KB
- Stars: 4
- Watchers: 2
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lightning Configurations
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.## How to use
Note: scripts need to be run from the top-level directory.
### Run Bitcoin in regtest mode
Run the bitcoin daemon with the following script:
```sh
scripts/start_bitcoin.sh
```Note: you can tweak the default Bitcoin configuration in `.bitcoin/bitcoin.conf`.
### Run Lightning Nodes
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_CLISource the `.bash_aliases` file:
```bash
source .bash_aliases
```Use the provided aliases to run your nodes.
For example:
```sh
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.### Test scenario
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:
```sh
scripts/multipart_direct_peer.sh
```