Blockchain Voting System with React, Solidity, and CometChat:
Voting SystemThis demo uses:
- Metamask
- Hardhat
- Alchamy
- ReactJs
- Tailwind CSS
- Solidity
- EthersJs
- Faucet
To run the demo follow these steps:
-
Clone the project with the code below.
# Make sure you have the above prerequisites installed already! git clone cd blueVotes # Navigate to the new folder. yarn install # Installs all the dependencies.
-
Create an Alchemy project, copy and paste your key in the spaces below.
-
Update the
.env
file with the following details.ENDPOINT_URL=<PROVIDER_URL> DEPLOYER_KEY=<YOUR_PRIVATE_KEY>
-
Run the app using
yarn start