๐Ÿ“Š
DeFi Subgraphs

Branch Info

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

Introduction

Interact with different DeFi subgraphs like Uniswap's, Aave, Synthetix, Balancer and many more.

Installation and setup

โš ๏ธ First, make sure you have: Node plus Yarn and Gitโ€‹
1
git clone https://github.com/scaffold-eth/scaffold-eth-examples.git
2
cd scaffold-eth
3
git checkout defi-subgraphs
4
yarn install
5
yarn chain
Copied!
in a second terminal window:
1
cd scaffold-eth
2
yarn start
Copied!
in a third terminal window:
1
cd scaffold-eth
2
yarn deploy
Copied!
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

preview

โ€‹