Skip to content

Understanding Hardhat environment for voting smart contract with test cases for it using chai and mocha in hardhat. Includes tasks to deploy and verify the contract.

Notifications You must be signed in to change notification settings

Lakshmishreya-Bapatuyeruguti/Hardhat-HandsOn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hardhat-HandsOn

Done By - Lakshmi Shreya Bapatu Yeruguti - Blockchain Trainee

  • Created a voting smart contract and have written test cases for it using chai and mocha in hardhat. Also created tasks to deploy and verify the contract.
  • Command to deploy contract using task:
    npx hardhat deploy-contract --network <network name>
  • Command to verify contract using task:
    npx hardhat verify-contract --network <network name> --address <deployed contract address>
  • Results Screenshots
    Test Cases:

Screenshot from 2023-04-10 16-39-12

About

Understanding Hardhat environment for voting smart contract with test cases for it using chai and mocha in hardhat. Includes tasks to deploy and verify the contract.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published