the infra of defi
clone the project and make sure you have a Node version > 16
npx hardhat compilenpx hardhat testPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Make sure you run update the typechain folder to get the latest contract build.
yarn typechainMake sure you have docker version 4.12.0 (dont upgrade to the latest it causes issues).
then run
yarn startThen
yarn setupLocalhostCheck the deployments folder for the updated addresses. If they have changed make use to take the DOS address and put it in the subgraph folder: subgraph.yaml and networks.json
Now run
yarn graph-localOpen a new terminal and run
yarn create-localThen run
yarn deploy-localOn the dos-frontend repo make sure to copy and paste the contract addresses to the addresses.json file.
run
yarn run devYou might have to reset your nonce on metamask to interact with things.