This is a DApp example on Ethereum local network using Truffle Framework.
We develop a DApp where the users can create proposals and vote them. Of course, they can vote once per proposal with the options in support, against or absence.
This dapp is based on the official tutorial of Truffle Framework: http://truffleframework.com/tutorials/pet-shop. So, I strongly recommend to read it before.
You need to pay attention to configure and run Ganache (for a local blockchain) and MetaMask (for a client web blockchain).
- git clone https://github.com/Yuvasri7826/Vote.git
- cd truffle-voting-dapp
- npm install -g truffle
- npm install
- truffle compile
- truffle migrate --reset
- npm run dev
- ETH: 0x96d6e3823b655602cc643996c1ada8b6b532f0c0
- DASH: XrXUic1huVaFfSqDygveADwNAbdutz41VG