Lightning Network Explorer
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 4 commits ahead of chemicstry:master.
h4x3rotab Merge pull request #2 from h4x3rotab/master
Point readme file to BTG repo
Latest commit b6265b5 Oct 14, 2018

README.md

Lightning Network Explorer

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/

Installation

Clone repository:

git clone https://github.com/BTCGPU/recksplorer.git

Install npm dependencies (inside project folder):

npm install

Running

Requirements

If connecting to a remote LND, you need to set lndHost and lndDir params. lndDir must have admin.macaroon and tls.cert files.

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.

Start the server

node server.js

Running in production mode (faster, without hot module reload)

npm run build
NODE_ENV=production node server.js

Credits

Thanks to https://github.com/mably/lncli-web for lightning.js grpc wrapper.