This is a simple lightning network explorer that uses LND or c-lightning as a source of network graph. You can see it live on https://lnmainnet.gaben.win/
Clone repository:
git clone https://github.com/brandoncurtis/recksplorer.git
Install npm dependencies (inside project folder):
npm install
If connecting to a remote LND, you need to set lndHost
and lndDir
params. lndDir
must have admin.macaroon
and tls.cert
files.
If you want to only visualize nodes that have been heard from recently, you must specify your node's alias with the lndAlias
param and the pruning TTL with the pruneTTL
param.
For c-lightning
set --daemon clightning
and specify clightningDir
if not using default location. Note that c-lightning supplies less data about channels than LND.
For full configuration options use node server.js --help
or see options.js
file.
node server.js
npm run build
NODE_ENV=production node server.js
Forked from https://github.com/chemicstry/recksplorer
Thanks to https://github.com/mably/lncli-web for lightning.js
grpc wrapper.