Skip to content

Latest commit

 

History

History
76 lines (43 loc) · 1.25 KB

README.md

File metadata and controls

76 lines (43 loc) · 1.25 KB

IoT-and-Blockchain

follow this medium article https://link.medium.com/J78zqfMHwW

Pre-Requisites

Python 2.7 + Python https://www.python.org/downloads/

Git https://git-scm.com/downloads

Npm packages

Truffle

npm install -g truffle

Pip

ganache-cli

Pip packages

Flask

Web3.py

GPIO Emulator

STEPS

*** Make Sure prerequisites are installed***

1.clone the repository into desktop

  1. install required PiP dependencies

3.instantiate Ganache-cli Private Network.

4.run app

wait a moment. this will take a minute or two.

After deployment of contract in private network, you will see status of each pin in your command line and Emulator on Screen.

5.head into browser and type <Your computer ip>/ and control through UI.

basically, it will write particular pin status on blockchain and retrieve it from the chain. and then activate pin confiuaration accordingly.

boom.

© Salman Dabbakuti