Avalanche Integrates The Graph to Bring its Querying and Indexing to Avalanche | by Avalanche | Avalanche | Apr, 2021

Join Our Corporate Group

The Graph, the indexing and query layer of the decentralized web, is now integrated with Avalanche, the first decentralized smart contracts platform built for the scale of global finance, with near-instant transaction finality.

With The Graph integration on the hosted service, developers building on Avalanche can easily query custom on-chain data requests, without having to run a full node, via subgraphs, which are indexes of specifically-defined blockchain data. As of February 2021, over 9,000 subgraphs have been deployed with many more coming online as The Graph continues to expand its support across major layer 1 blockchains.

Expanded access to blockchain data hasn’t gone unnoticed by the Web3 developer community. In January 2021, The Graph’s hosted service saw queries increase to over 11 billion, with 100x growth during 2020.

This growth is also mirrored within Avalanche. Since the launch of the Avalanche-Ethereum Bridge (AEB) on February 8, 2021, smart contract activity on Avalanche has boomed, with transactions having increased by 2,007% to over 1,140,000, and unique wallets increasing by 2,834% to top 63,000.

Both Avalanche and The Graph strive for a more open, decentralized future for internet applications. Improving developer infrastructure and tooling will ultimately lead to fulfillment of this vision, with increased benefits for dapp developers and end-users.

The Graph fully decentralizes the API and query layers of Web3. With subgraphs (open APIs), devs can index, map, and query on-chain data using GraphQL, the native query language of the protocol, without running local or hosted nodes. Instead , the subgraphs are deployed to a registry, and subsequently, Indexers who stake and run a Graph Node will index the subgraph.

This process allows anyone to create and deploy a subgraph, and earn The Graph’s native token, $ GRT, as a reward for running a Graph Node. End-to-end, there are no centralized intermediaries that control this process. Data is open and accessible to all network participants.

For developers, this means lower costs and shorter times in development as indexing blockchains have fewer participants, and there’s infinitely more trust as subgraphs are maintained by a decentralized network of nodes–the more nodes that join The Graph, the stronger the network becomes.

Dapp developers can create highly performant applications by combining the power, speed, and ease-of-use unlocked through The Graph’s support of Avalanche.

Applications deployed on Avalanche will benefit from near-instant transaction finality and thousands of transactions per second, while developers using The Graph’s simple, responsive, customizable queries have complete control over their use of on-chain data. Interacting with other blockchains will also be seamless thanks to The Graph’s large, diverse set of subgraphs.

Developers can secure on-chain data with Avalanche and build an entire off-chain ecosystem using The Graph–all in a fully trustless manner.

Together, these technologies open the door for more developers to accelerate the journey from idea to implementation to market rollout. For more information on how to use The Graph with Avalanche, the following material is available: creating subgraphs, becoming an Indexer, delegation guide, and curator program You can find a demo about how to build a subgraph via The Graph using this here and here. Any technical questions can be asked on The Graph’s Discord..

This is a Translation. Original Article: Click Here

Inline Feedbacks
View all comments

Related Articles

© 2021 Binarystar+ Co., Ltd. All Rights Reserved.