📊
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
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

preview

Copy link
On this page
Branch Info
Introduction
Installation and setup
Preview