What type of data should be indexed on The Graph

  • The user creates a subgraph and the service starts data indexing for it;
  • dApp adds data to the network through a smart contract transaction;
  • Smart contract generates events;
  • Graph Node reveals new blocks and data for the user’s subgraph;
  • Graph Node finds events in blocks for the user’s subgraph and launches the required mappings, transfers data to the storage as requests;
  • dApp takes the indexed data from the blockchain and displays it in the user interface.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Messenger Bot with DialogFlow & Golang

PHP-JsonQ | PHP Query Builder for JSON

Integrating GitHub with Jenkins for Continuous Integration and Deployment

Laravel queues implementation step by step

Laravel queues implementation step by step

JavaScript Vs Python For Web Development?

WriteUpp — New Features, Improvements & Bug Fixes

Python Sets and Frozensets Explained

Brute Force behind the Observer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Sina Nakhay

Sina Nakhay

More from Medium

Practice vs Performing — There is a Difference

Putting ghosts to rest and turning the page — William Poyer’s Forgiven