prepared for submission to Vestafinance
My answer, Modules, and explanation overview can be found here : (please click to go to my google sheet)
This protocol consisted of 3 main part : ERC20 token, Randomizer, and the main protocol VestaCard contract
hardhat + JS + chai + ethers
- copy the repository to a folder
- with npm installed, run npm install and wait for all dependencies to be installed
- change the API Key and Alchemy URL in ".env" file if necessary
- run npx hardhat test to make sure things going well
- run "npx hardhat run --network mumbai scripts/deploy.js"
- and you may verify each contract if necessary (npx hardhat verify --contract "contracts/VestaCard.sol:VestaCard" --network mumbai)