This is a project whereby users store their funds for a duration of time and in return can get small incentives when they keep to their deadline of withdrawal. If not, they pay a certain percent before they can withdraw.
The first things you need to do are cloning this repository and installing its dependencies:
npm install
Once installed, let's run Hardhat's testing network:
npx hardhat node
Then, on a new terminal, go to the repository's root folder and run this to deploy your contract:
npx hardhat run scripts/deploy.js --network localhost
Finally, we can run the frontend with:
cd frontend
npm install
npm start
Open http://localhost:3000/ to see your Dapp. You will
need to have Metamask installed and listening to
localhost 8545
.