Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chemicstry/recksplorer
Lightning Network Explorer
https://github.com/chemicstry/recksplorer
Last synced: 4 days ago
JSON representation
Lightning Network Explorer
- Host: GitHub
- URL: https://github.com/chemicstry/recksplorer
- Owner: chemicstry
- Created: 2018-01-18T15:48:36.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-10T14:05:29.000Z (over 6 years ago)
- Last Synced: 2024-11-05T04:33:51.710Z (9 days ago)
- Language: JavaScript
- Size: 201 KB
- Stars: 179
- Watchers: 9
- Forks: 72
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lightning Network Explorer
This is a simple lightning network explorer that uses [LND](https://github.com/lightningnetwork/lnd) or [c-lightning](https://github.com/ElementsProject/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/chemicstry/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.