https://github.com/roosoft/lightning_graph
Lightning Network Graph Analysis Tool
https://github.com/roosoft/lightning_graph
Last synced: 3 months ago
JSON representation
Lightning Network Graph Analysis Tool
- Host: GitHub
- URL: https://github.com/roosoft/lightning_graph
- Owner: RooSoft
- Created: 2021-12-10T13:29:56.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-28T16:47:04.000Z (over 4 years ago)
- Last Synced: 2025-12-08T03:45:44.333Z (8 months ago)
- Language: Elixir
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LightningGraph
Lightning Network graph analysis tool
## Create the graph
* Converts LND's describegraph output
* Imports this converted graph into Neo4j
* Adds info to nodes based on graph analysis
## Query the graph
* Get common peers
* Get community members
* Get farthest nodes
* Get cheapest routes
## How to use
using `config/config.exs`, returning `roosoft`'s node info
```bash
iex -S mix
```
```elixir
LightningGraph.Neo4j.get_connection
|> LightningGraph.Neo4j.Query.get_node_by_alias("roosoft")
```