Skip to content

create and debug random lighning network topologies

Notifications You must be signed in to change notification settings

rsbondi/lnet-random

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

lnd Users

I developed a similar project for lnd, it is all integrated into one product with a shell interface.

About

create and debug random lighning network topologies

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published