~/talk

Full-Stack Web3 Development with The Graph

Talkat Constellation: A Chainlink Hackathon · 2023-11-08..12-10· [web3, blockchain]
slides:none on file

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

  1. 0:00Introduction to the graph
  2. 0:58Web3 data architecture
  3. 4:01Challenges in reading data
  4. 6:35Introduction to subgraphs
  5. 8:35Understanding subgraph components
  6. 11:01Subgraph architecture
  7. 13:00Setting up the environment
  8. 15:57Deploying a local blockchain
  9. 17:40Debugging and frontend
  10. 21:02Monorepo structure
  11. 23:34Running the graph node
  12. 25:42Creating the subgraph
  13. 28:37Configuring the schema
  14. 30:52Writing mappings
  15. 33:50Deploying and querying
  16. 37:58Frontend integration
  17. 41:59Adding a new event
  18. 45:55Final Q&A and conclusions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.