Truffle
npm install -g truffle
Pip
npm i pip
ganache-cli
npm install -g ganache-cli
Flask
Web3.py
GPIO Emulator
pip install requirements.txt
Python https://www.python.org/downloads/
*** Make Sure prerequisites are installed***
1.clone the repository into desktop
- install required PiP dependencies
pip install requirements.txt
3.instantiate Ganache-cli Private Network.
ganache-cli
4.run app
py app.py
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