Skip to content
create and debug random lighning network topologies
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
activity.js
cmdstring.go
launch.sh
lnetconfig.js
main.go
random.js
start.sh

README.md

lnet-random

Description

Scripts for use for generating random lightning configurations with lnet and managing via nodes-debug

Getting Started

install bitcoind and clightning

install lnet and nodes-debug per above links

git clone https://github.com/rsbondi/lnet-random.git

cd 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

Video for CLI UI

download CLI UI linux-x64

You can’t perform that action at this time.