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
-
deploy the contracts,
open a new command prompt
# build hardhat & external contracts types yarn contracts:build # deploy your hardhat contracts yarn deploy --network $yourNetwork
-
Start the app
yarn start
-
Deploy the app
# login first to firebase yarn build # build project yarn serve