Skip to content

i13-msrg/dlsf

Repository files navigation

DLSF - Distributed Ledger Simulation Framework

Project Modules and Folders

This repository contains a number of sub-modules and folders. For more detailed information, refer to the paper.

Framework currently consists of 3 modules:

  • dlsf-core: DLSF Core module.
  • dlsf-bitcoin: DLSF Bitcoin module.
  • dlsf-boot: DLSF Boot module.

Following modules prefixed with x- are part of example simulations:

  • x-bitcoin-explorer: Bitcoin explorer simulation’s module.
  • x-bitcoin-tx-protocols: Bitcoin transaction protocol simulations’ module. It includes both Flood and Erlay simulations.
  • x-bitcoin-server: This module is used to bootstrap the whole application. It includes all the example simulations and utilizes DLSF boot module.
  • x-bitcoin-client: This module folder contains the web client’s code.

Additional Files

Running Instructions

Prerequisites

  • Java 11
  • Maven 3
  • NPM 6

Server

To build the whole project, run the following at the project root:

mvn clean install

Like any other maven multi-module project, the simulation system can be packaged and run in various ways. To start the server on local machine, navigate to x-bitcoin-server folder and run the following command.

mvn compile exec:java

Client

Web client is an Angular application that can be built and run using npm scripts found in package.json file. To install dependencies and to serve client in development mode, navigate to the x-bitcoin-client folder and run the following commands.

Install dependencies from npm:

npm install

Serve client in development mode. Site should be accessible at localhost:4200.

npm run start

About

Distributed Ledger Simulation Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published