This is a 1st prototype of our project. We are going to release more versions as well with updated code and latest features.
git clone https://github.com/mehdiiwani/Voting-in-blockchain
To Start and run this project you first need to ensure few things
make sure you have the same node version or it will have some dependencies error you can use nvm for that
nvm use 16.20.0
Then you can proceed whis this step
npm install
You first need to compile the contract and upload it to the blockchain network. Run the following commands to compile and upload the contract.
Your private key and network rpc
after that proceed for this command
npx hardhat compile
You can use different testnets as well
npx hardhat run --network volta scripts/deploy.js
after compiling change the data in the constant.js file
npm start