Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rsbondi/lnet-random
create and debug random lighning network topologies
https://github.com/rsbondi/lnet-random
bitcoin bitcoin-development c-lightning lightning-network
Last synced: 20 days ago
JSON representation
create and debug random lighning network topologies
- Host: GitHub
- URL: https://github.com/rsbondi/lnet-random
- Owner: rsbondi
- Created: 2019-03-31T16:03:18.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-06-20T07:07:03.000Z (over 5 years ago)
- Last Synced: 2024-04-15T01:18:15.259Z (7 months ago)
- Topics: bitcoin, bitcoin-development, c-lightning, lightning-network
- Language: Go
- Homepage:
- Size: 38.1 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### lnet-random
#### Description
Scripts for use for generating random lightning configurations with [lnet](https://github.com/cdecker/lnet)
and managing via [nodes-debug](https://github.com/rsbondi/nodes-debug)#### Getting Started
install `bitcoind` and `clightning`
install `lnet` and `nodes-debug` per above links
```bash
git clone https://github.com/rsbondi/lnet-random.gitcd lnet-random
./launch.sh n m # where n is the number of random nodes to create and m is the maximum channels to a node, ex ./launch.sh 10 2 for 10 nodes with max 2 in
# open another terminal and run
./start.sh# the above will set config and launch nodesdebug GUI
# optionally you can use the CLI UI (WIP) instead of above script, see link below# optionally, generate random activity
# this will create random invoices and pay them to/from random nodes
# it will run continuously until you manually stop
node activity.js# when finished, close the UI and run
lnet-cli shutdown```
[GUI video](https://youtu.be/Z6EAhRpU2Nw)
[Video for CLI UI](https://youtu.be/Hb2-DwtqYYk)
[download CLI UI linux-x64](https://moonbreeze.richardbondi.net/lnui)
## lnd Users
I developed a [similar project](https://github.com/rsbondi/lnd-dev) for lnd, it is all integrated into one product with a shell interface.