- Setup
ganache-cli
andtruffle
. - Run
pip3 install --user -r requirements.txt
to setup all required packages. - In the root directory, run
truffle compile
. - Run
ganache-cli
onlocalhost:7545
and then runtruffle migrate
to deploy the smart contracts onganache
. - Run
python3 run.py d 5000
to run the voting app.
shreyasnbhat / decentralized-voting Goto Github PK
View Code? Open in Web Editor NEWA repository of simple smart contracts on Ganache and Truffle.