Hackaton at imaguru in Madrid
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
docker
.gitignore
Bloc energy grid.svg
ConsumerFactory.py
Grid.xlsx
README.md
actors.py
bidding.py
blockchain.py
consumer1.csv
consumer2.csv
consumer3.csv
grid.py
market.py
mine_rest_test.py
rest_test.py
run_gridcal.cmd
run_gridcal.sh
show_chain_test.py
solargen.csv
test1.py
transactions.py

README.md

bloc_energy

Hackaton at imaguru in Madrid

[Building a Block Energy]

Installation

  1. Make sure Python 3.6+ is installed.

Docker

Building One BlockChain

For running and scale this blockchain program is to use Docker. Follow the instructions below to create a local Docker container:

Clone this repository Build the docker container

$ docker build -t blockchain .

Run the container

$ docker run --rm -p 80:5000 blockchain

To add more instances, vary the public port number before the colon:

$ docker run --rm -p 81:5000 blockchain
$ docker run --rm -p 82:5000 blockchain
$ docker run --rm -p 83:5000 blockchain