This project demonstrates an investment platform written in solidity and is deploy Hardhat. The contract is written with functions like fund, withdraw and the likes, there is test for the contract, and a script that deploys the contract.
Try running some of the following tasks:
yarn hardhat help
yarn hardhat test
REPORT_GAS=true yarn hardhat test
yarn hardhat node
yarn hardhat run scripts/deploy.js