Full-Stack Web3 Development with The Graph
summary
Step-by-step integration of The Graph with Scaffold-eth 2 shows exact commands (yarn chain, yarn deploy, yarn start, yarn local create, yarn local ship), tooling (Hardhat, Next.js, Docker, Postgres, IPFS) and how to write a subgraph: manifest, GraphQL schema and AssemblyScript mappings compiled by graph node. Demo adds a sendMessage event, deploys subgraph v0.0.2, and returns results instantly via GraphQL; network has ~200–400 indexers and serves ~1–2B queries/day.
AI-written summary · about
chapters (18)
- 0:00Introduction to the graph
- 0:58Web3 data architecture
- 4:01Challenges in reading data
- 6:35Introduction to subgraphs
- 8:35Understanding subgraph components
- 11:01Subgraph architecture
- 13:00Setting up the environment
- 15:57Deploying a local blockchain
- 17:40Debugging and frontend
- 21:02Monorepo structure
- 23:34Running the graph node
- 25:42Creating the subgraph
- 28:37Configuring the schema
- 30:52Writing mappings
- 33:50Deploying and querying
- 37:58Frontend integration
- 41:59Adding a new event
- 45:55Final Q&A and conclusions
related talks
01h 09mBuilding Subgraphs on The Graph
26mGraphQL in Web3: Building a Decentralized API
14mBuilding on The Graph with AI
28mBuilding Rich APIs with The Graph Protocol
08mBuilding GraphQL APIs on Ethereum
31mEasily Access Blockchain Data with Subgraphs
20mWhat's New in
11mUnlocking Blockchain Data with GraphQL
