this is a dapp template using:
-
cd to the backend folder and install the dependencies:
npm i
-
edit the
backend/hardhat.config.js
and replace the api key and private key -
cd to the frontend folder and install the dependencies:
npm i
-
edit the
frontend/src/App.js
file and update theCONTRACT_ADDR
variable with your deployed contract addr -
finally run the app inside the
frontend
folder:npm start