Generate a random development environment for lnd with established funding of channels
Inspired by lnet, this is a development tool that creates random nodes, connects them, funds channels, and provides a UI for managing. You can begin development once launched without a complex procedure to get you started
- terminal based UI
- input amount of nodes and connections per node
- easily switch between nodes in UI
- UI includes bitcoin node
- all nodes properly shutdown on exit
- generate random invoices and payments between nodes
- bitcoind
- lnd
- Enter number of nodes
- Enter maximum outbound channels
- Enter number of random payments to generate
- these will be running in the background
- set to zero or leave blank if no activity desired
- Once launched, enter commands, switch nodes etc.
- the up and down arrows will scroll previous commands from the prompt
- switch panes and nodes per shortcuts below
command | action |
---|---|
Ctrl-N | Opens node selection dropdown |
Ctrl-I | Move to command prompt |
Ctrl-O | Move to output pane |
Ctrl-L | Clear output pane while in it |
Ctrl-A | Copy current output buffer |
Ctrl-V | From prompt, paste copied text. This is a hack for text copied with mouse from output pane |
- UI component copies wrapped lines with
\n
so standardCtrl-Shift-V
does not work with wrapped lines. UseCtrl-V
instead - Does not do interactive prompts so for example use
-f
or--force
options withpayinvoice
orsendpayment
, may be others?
- change
fmt.Sprintf
s topath.Join
for windows