Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```