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
cd packages/hardhat-ts/contracts # clone the repo git clone --branch frontend https://github.com/Debond-Protocol/Debond-v0.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