Skip to content

"Decentralized Voting Application" is a web-based site developed using HTML, CSS, JavaScript, and Solidity, which is a programming language used for writing smart contracts on the Ethereum blockchain

Notifications You must be signed in to change notification settings

aman71711/Online-Voting-Blockchain-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Decentralized Voting Application

"Decentralized Voting Application" is a web-based site developed using HTML, CSS, JavaScript, and Solidity, which is a programming language used for writing smart contracts on the Ethereum blockchain. The application utilizes a local network called Ganache for transactions and integrates with MetaMask, a popular cryptocurrency wallet and browser extension.

Installation

After you cloned the repository, you want to install the packages using

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.

npx hardhat compile
npx hardhat run --network volta scripts/deploy.js

Once the contract is uploaded to the blockchain, copy the contract address and copy it in the .env file. You can also use another blockchain by writing the blockchain's endpoint in hardhat-config.

Once you have pasted your private key and contract address in the .env file, simply run command

npm start

About

"Decentralized Voting Application" is a web-based site developed using HTML, CSS, JavaScript, and Solidity, which is a programming language used for writing smart contracts on the Ethereum blockchain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published