Skip to content

RooSoft/lnq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lightning Network Graph Query Tool

Query the network graph for nodes based on proximity

Install

Prerequisites

Then, clone this repository and execute these commands

mix deps.get
mix escript.build

Create a neo4j container

mkdir -s ~/neo4j/data
mkdir -s ~/neo4j/import
docker-compose up -d

Import network graph from LND

On a Lightning Node running LND, execute

lncli describegraph > lightning-graph.json

Get the lightning-graph.json file on the computer running LNQ, and then run these commands in that same exact sequence

lnq convert lightning-graph.json
lnq import
lnq analyze

Do some queries

Get a help screen listing possible queries by running

./lnq

About

Lightning Network Graph Query Tool

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages