This project is based on the Hardhat Hackathon Boilerplate. I will refactor it's react from class component to function component and write other smart contact
The first things you need to do are cloning this repository and installing its dependencies:
git clone https://github.com/okesseko/solidity-smart-contract.git
cd solidity-smart-contract
npm installOnce installed, let's run Hardhat's testing network:
npm run serverThen, on a new terminal, go to the repository's root folder and run this to deploy your contract:
npm run deploy-contractNow, we can run the frontend with:
cd frontend
npm install
npm startFinally, open the browser and connect to the localhost:3000