Fiat-Defi
A one stop solution for user to interact directly with a Defi protcol through their fiats and take control of their funds.
Steps to run it:
Frontend Repo
- Clone this repo
- Open a terminal and run
npm install
- Once installation is done, run
npm start
Backend Repo
- Clone this repo
- Open a terminal and run
npm install
- Create
.env.
as per.env.sample
and fill the values. - Run
npm start
to start the server
Contract Repo
- Fill the
.env
- Open a terminal and run
npm install
- To deploy, run
npx hardhat run --network mumbai scripts/deploy.js
- To test, run
npx hardhat run --network mumbai scripts/test.js