Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dni/ln-channel-viz
Lightning Channel Visualisation using d3.js and amboss.space data
https://github.com/dni/ln-channel-viz
Last synced: 9 days ago
JSON representation
Lightning Channel Visualisation using d3.js and amboss.space data
- Host: GitHub
- URL: https://github.com/dni/ln-channel-viz
- Owner: dni
- Created: 2024-05-07T09:58:28.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-05-07T10:05:38.000Z (7 months ago)
- Last Synced: 2024-05-07T11:25:07.733Z (7 months ago)
- Language: JavaScript
- Homepage: https://viz.dni.guru/
- Size: 295 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Lightning Network Visualisation
This project is a visualisation of the Lightning Network, a second layer payment protocol that operates on top of a blockchain. The visualisation is created using the [D3.js](https://d3js.org/) library and the data is sourced from the [amboss.space](https://amboss.space/) API.Data is fetched on the github pages build step with `fetch.sh` and me node's pubkey. currently is going 3 levels deep, but can be changed in the `fetch.sh` file.
![screenshot-1715075940](https://github.com/dni/ln-channel-viz/assets/1743657/06719b23-385b-4cc8-b946-53cd21765503)
## How to run
clone the repository
```bash
git clone https://github.com/dni/lightning-network-visualisation.git
```
install dependencies
```bash
npm i
```
fetch the data
```bash
cd src
sh fetch.sh [YOUR_NODE_PUBKEY]
cd ..
```
start webserver
```bash
npm start
```