IoT needs blockchain
Truffle
Pip
Python3
ganache-cli
web3.py
Flask
GPIO Emulator
1.clone the repository into desktop
- install required dependencies
pip install requirements.txt
3.instantiate Ganache-cli Private Network.
ganache-cli
4.run app
py app.py
wait a momemt.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.
5.head into browser and type <Your computer ip>/<pin number>/<action>/
basically, it will write particular pin status on blockchain and retrieve it from the chain. and,then activate pin confiuaration accordingly.