The Private Chain Controller is used to start, stop, and scale blockchain nodes. It also sends
scenario settings to the scenario-orchestrators
running in the different blockchain networks. This project also contains a
monitor
script which informs the
api-server
about the blockchains currently running.
You should have at least:
- docker 1.13.1
- docker-compose 1.8.0
- Python 3.5.2 with pip3
This project contains the files needed to build a blockchain backend.
- Run
./build.sh
to download the blockchains, create the virtual environment, and install the requirements for thecontroller
andmonitor
. - Run
./runAll.sh
to run thecontroller
andmonitor
. Thecontroller
will connect to theapi-server
and wait for its input. - To stop
controller
andmonitor
run./killAll.sh
this will also remove all docker-containers of blockchains that have been started.
The controller is meant to be extendable. Configuration details for new chains can be added in the
config
file. You can also change the address of the api-server
there. Build
details would have to be added in the build.sh
script.