alko89 / AAP-market-simulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatic Adjustment Plugin (AAP) simulator

The Automatic Adjustment Plugin (AAP) simulator is used to validate the proposed solution outlined in OT-RFC-06. AAP is a configurable OriginTrail node plugin which will attempt to automatically calculate the optimal price (λ setting) on the network based on the service market of the ODN decentralized network.

The simulator let's you create groups of DC and DH nodes with different settings and observe market equilibrium behavior.

The detailed specification behind the AAP plugin which this simulator was designed for is here.

Simulation snapshots

Each simulation can be saved for later inspectin. In order to create a snapshot of a simulation, click on the “Save” link at the bottom left of the simulator. Graph images are saved in the downloads directory while simulation snapshots are located in snapshots directory, which is located in the root directory of the project.

Installation

Instructions for installation and configuration of the simulator

git clone https://github.com/OriginTrail/AAP-market-simulator.git

Run backend simulator

cd nodejs && npm install
node index.js

Run frontend interface

cd react/simulator && npm install
npm start

Env example:

CONFIG_PATH = nodejs/config/config.json

Requirements

  • nodejs version: 9.11.2
  • npm version: 5.6.0

Contribute

Apart from running simulations you can also directly contribute to this project. Please follow the contribution guidelines

Useful links

OriginTrail website

OriginTrail documentation page

OriginTrail Discord Group

OriginTrail Telegram Group

OriginTrail Twitter

About


Languages

Language:JavaScript 96.9%Language:HTML 2.0%Language:CSS 1.0%Language:Shell 0.0%