https://github.com/shantanuk86/hardhat_web3
Deployment of smart contracts using hardhat
https://github.com/shantanuk86/hardhat_web3
hardhat-deployment web3
Last synced: about 1 month ago
JSON representation
Deployment of smart contracts using hardhat
- Host: GitHub
- URL: https://github.com/shantanuk86/hardhat_web3
- Owner: ShantanuK86
- Created: 2023-01-09T17:11:20.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-11T19:34:22.000Z (over 3 years ago)
- Last Synced: 2025-03-06T02:48:50.819Z (over 1 year ago)
- Topics: hardhat-deployment, web3
- Language: JavaScript
- Homepage:
- Size: 22 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hardhat_intro
Does some unit testing in Hardhat and learn about deploying Smart contracts.
## Unit Testing in hardhat
Unit testing is a software development process in which the smallest portions of codes that can be tested, known as Units, are individually tested to check if they
perform as intended.Unit testing in terminal can be done through command-'npx hardhat test'.
I have provided whole code , athough it can be tested on various Functionalities.
1. Testing the Transfer Functionality(owner to addr1)
2. Testing the Transfer Functionality(tokens from addr1 to addr2).
3. Testing the Transfer Functionality - Negative Case Test(error handling).