📊
DeFi Subgraphs
Author: 0x harry rana
Source code: https://github.com/scaffold-eth/scaffold-eth-examples/tree/defi-subgraphs
Intended audience: Beginners/Intermediate
Topics: Scaffold-eth basics, Subgraphs, DeFi
Interact with different DeFi subgraphs like Uniswap's, Aave, Synthetix, Balancer and many more.
git clone https://github.com/scaffold-eth/scaffold-eth-examples.git
cd scaffold-eth
git checkout defi-subgraphs
yarn install
yarn chain
in a second terminal window:
cd scaffold-eth
yarn start
in a third terminal window:
cd scaffold-eth
yarn deploy
If everything goes smoothly you should now have a local network running, with the starter contracts deployed and the frontend React app running on https://localhost:3000.

preview
Last modified 1yr ago