Skip to content

jbl31/voting-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project description

This project is a Blockchain voting project and unit testing for Alyra's school project n°2. It use HardHat framework, Mocha and OpenZeppelin Helpers for testing purpose.

How to install an run

In a shell, clone the project:

git clone https://github.com/jbl31/voting-system.git
cd voting-system

To install the dependencies, run:

npm install

In another terminal, run to launch the hardhat blockchain:

npx hardhat node

If you need to deploy the contract locally:

npx hardhat --network localhost run scripts/deploy-voting.js

Testing:

To run the unit tests, run:

npx hardhat test

Coverage

To check the test coverage, run:

npx hardhat coverage

Badges

Add badges from somewhere like: shields.io MIT License GPLv3 License AGPL License

About

blockchain voting system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors