Learn how to build your first decentralized application (DApp) on the Ethereum Network with this comprehensive tutorial!
Make sure you have the following dependencies installed to follow along with the tutorial:
- NPM: Node.js
- Truffle: Truffle Suite
- Ganache: Truffle Ganache
- Metamask: Metamask Extension
cd election
npm install
Open the Ganache GUI client to start your local blockchain instance. Refer to the free video tutorial for detailed instructions.
truffle migrate --reset
You must migrate the Election smart contract each time you restart Ganache.
Refer to the free video tutorial for a full explanation of these steps:
- Unlock Metamask
- Connect Metamask to your local Ethereum blockchain provided by Ganache.
- Import an account provided by Ganache.
npm run dev
Visit http://localhost:3000 in your browser to access the front end application.
If you encounter any issues, please consult the free video tutorial for assistance.