This is a challenge I did for my portfolio where I build a decentralized exchange. The challenge is a speedrunethereum challenge. I used scaffold-eth-typescript from the buidlguidl as a starting template for the project. I also converted all the JavaScript needed into TypeScript for the challenge from here. This includes app specific react components, testing and hardhat deployment scripts. I also grabbed the bare bones (only contains empty functions and events) DEX.sol contract that goes along with that test here.
Running the app
-
install your dependencies
yarn install
-
start a hardhat node
yarn chain
-
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