The directories used are:
packages/vite-app-ts/
packages/hardhat-ts/
Running the app
-
install your dependencies
yarn install
-
start a hardhat node
yarn chain
-
get the contracts
mkdir packages/hardhat-ts/contracts/src cd $_ # clone the repo git clone --branch frontend https://github.com/Debond-Protocol/Debond-Bank.git git clone --branch front https://github.com/Debond-Protocol/Debond-Exchange.git
-
run the app,
open a new command prompt
# build hardhat & external contracts types yarn contracts:build # deploy your hardhat contracts yarn deploy # start vite yarn start
-
deploy the app
# login first to firebase firebase login # build project yarn build # deploy to firebase firebase deploy