Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/whiteyhat/Lightning-Network-Simulator
Lightning Network Simulator
https://github.com/whiteyhat/Lightning-Network-Simulator
bitcoin lightning-network simulation
Last synced: about 1 month ago
JSON representation
Lightning Network Simulator
- Host: GitHub
- URL: https://github.com/whiteyhat/Lightning-Network-Simulator
- Owner: whiteyhat
- License: mit
- Created: 2019-03-18T18:13:07.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-25T16:07:46.000Z (over 3 years ago)
- Last Synced: 2024-08-01T22:51:02.147Z (4 months ago)
- Topics: bitcoin, lightning-network, simulation
- Language: HTML
- Homepage:
- Size: 23.8 MB
- Stars: 24
- Watchers: 0
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-lightning-network - Lightning-Network-Simulator - A simulator in Java. See [website](https://devpost.com/software/lightning-network-simulator). (Developer Resources / Simulators)
- awesome-lightning-network - Lightning-Network-Simulator - A simulator in Java. See [website](https://devpost.com/software/lightning-network-simulator). (Developer Resources / Simulators)
README
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/7b58c19296bc44c1b714f246228a4930)](https://app.codacy.com/app/carlosroldan26396/Lightning-Network-Simulator?utm_source=github.com&utm_medium=referral&utm_content=whiteyhat/Lightning-Network-Simulator&utm_campaign=Badge_Grade_Settings)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Known Vulnerabilities](https://snyk.io/test/github/whiteyhat/Lightning-Network-Simulator/badge.svg?targetFile=Simulation%2Fpom.xml)](https://snyk.io/test/github/whiteyhat/Lightning-Network-Simulator?targetFile=Simulation%2Fpom.xml)
# Lightning Network Simulation #
![Screenshot](https://github.com/whiteyhat/Lightning-Network-Simulation/blob/master/Simulation/src/main/resources/Screenshots/screenshot.gif)This repository is a majors dissertation project for Aberystwyth University. The aim of this project is educational.
Please, read the [Wiki](https://github.com/whiteyhat/Lightning-Network-Simulation/wiki).## Current status
* Simulation tool: Stable ✅
* Analysis tool: Stable ✅## How it works: ##
There is a list of pre-made networks :
- Tiny (10 nodes)
- Small (25 nodes)
- Medium (50 nodes)
- Big (500 nodes)All the defualt networks have nodes well-connected. However, you can create a new Lightning Network and choose a different network topology by selecting:
- Number of Nodes
- Number of channels per nodeWhen a network is loaded. You can start the simulation by clicking **Edit>Start** and random nodes start to generate transactions along the network.
## Set up: ##
* Get the source code.
* Make sure you have JDK SE 8.
* You can use the main folder as an Eclipse or IntelliJ IDEA workspace.
* Build the maven projects.
* Run the GUI suite **com.carlos.lnsim.lnsim.GUI**
* If you do not get the simulation up and running please create an issue ticket.