- Smart Contract : Solidity V0.7.3
- Ethereum development environment : Hardhat
- Blockchain API and Node Service : Alchemy
- Library : ether.JS
- Clone the repo using git clone https://github.com/shailendrakumaromkar/Coding-Challenge.git
- Run npm install, this will install all necessary dependencies.
- In hardhat.config.js, give your "ALCHEMY_API_KEY" & KOVAN_PRIVATE_KEY
- Run TestScript.sh
- Verify result in Output.json
- It has details- contract address, deployer address, and the value set
In case only JSON file is required, then in /scripts/deploy.js, comment all console.log lines