Skip to content

IvanStanchev/Voting-System

Repository files navigation

Voting-System

Usage

Prerequisite

Install the dependencies

npm install

Help

Show available tasks and options

npx hardhat help

Compile

Compile the smart contracts with hardhat

npx hardhat node

Test

Run the tests

npx hardhat test

Coverage

Run the tests and show code coverage

npx hardhat coverage

Local network

Run local hardhat network

npx hardhat node

Deploy

Deploy VoteDeployer contract

  • requires Private key and Infura API key
npx hardhat --network localhost run scripts/deploy.js

Verify

Verify a smart contract with etherscan

  • requires etherscan API key
npx hardhat verify --network <network> <DEPLOYED_CONTRACT_ADDRESS> 'constructor arg 1' 'constructor arg 2'

Contacts

Contacts
Email ivan.r.stanchev.2018@elsys-bg.org
LinkedIn Ivan Stanchev

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published