The Graph has integrated its support for Neo X within its indexing service. Developers can now view Neo X subgraphs on the explorer or use the Studio management dApp to aggregate relevant data for their applications.
As an indexing layer for blockchain applications, The Graph uses a decentralized structure to meet developers’ data needs while lowering the barrier to entry. Without third-party indexing services, developers would need to operate their own node infrastructure and write their own indexing code to source blockchain state information, introducing a range of potential complexities, risks, and additional costs.
An example subgraph for Neo X data (Source: The Graph Studio)
The architecture of The Graph involves the creation of subgraphs, which are essentially subsets of indexed blockchain information, ready for querying. Network responsibilities are divided across four main roles:
- Indexers: Node operators that provide indexing and query processing services.
- Curators: Signal to indexers where to focus their efforts by assigning priority to subgraphs.
- Delegators: Increase security by staking GRT to indexers.
- Developers: Create and consume data via subgraphs.
Existing subgraphs for Neo X MainNet and TestNet can be found on the Graph Explorer. Users can create new subgraphs with the Studio dApp. This process involves mapping blockchain event data to entities that applications can query, defined in AssemblyScript. Developers can create and test subgraphs privately before publishing them to the explorer.
The original announcement may be read at the following link:
https://medium.com/neo-smart-economy/the-graph-integrates-neo-x-to-provide-top-notch-indexing-for-developers-c558c9b497bf