Link to live Demo: >>EasyVote :
EasyVote Login Voter Page Admin PageThis Project uses:
- Metamask
- Vite
- Goerli Faucet
- Infuria
- Truffle
- Solidity
- ReactJs
- Tailwind CSS
- Ganache-CLI
- Web3js
To run the program follow these steps:
-
Clone the project with the code below.
# Make sure you have the above prerequisites installed already! git clone https://github.com/LamsyA/EasyVote.git # Navigate to the new folder. npm install # Installs all the dependencies.
-
Create an Infuria project, copy and paste your key in the spaces below.
-
Update the
.env
file with the following details.ENDPOINT_URL=<PROVIDER_URL> SECRET_KEY=<SECRET_PHRASE> DEPLOYER_KEY=<YOUR_PRIVATE_KEY>
-
Run the app using
npm run dev
- 👀 Web3Js
- 🎅 Faucet
- 🤖 Ganache
- 🤖 Vite
- ✨ Live Demo
- ⚽ Metamask
- 🚀 Remix Editor
- 💡 Truffle
- 📈 Infuria
- 🔥 ReactJs
- 🐻 Solidity
- The deployer account of the application is always the Admin
- Only Admin can start and end the election.
- only admin can add candidate.
- You can only register when the election has note started
- You only vote once
** Once the Admin starts the election the Lock on the Navbar will be opened to indicate that the poll is opened for voting **
- Connect Your Metamask and change to Goerli network
- Login as a user
- Click on the widget and navigate to the Register page
- fill all the neccessary information Wait for the Admin to start the Election. Once the admin starts the election, You will be able to Vote.
- once the election starts navigate to the Voting poll page to vote for your desired candidate.
Note,For you to be able to register Your age must be 18years and above..
-
Connect Your Metamask and change to Local network
-
Login as a user
-
Click on the widget and navigate to the Register page
-
fill all the neccessary information Wait for the Admin to start the Election. Once the admin starts the election, You will be able to Vote.
-
once the election starts navigate to the Voting poll page to vote for your desired candidate.
Note,For you to be able to register Your age must be 18years and above..