THE GRAPH EXPANDS TO LEVEL 2 BLOCKCHAINS AND BRINGS INDEXED OPEN DATA INTO THE POLYGON NETWORK

Samson Dogo
4 min readFeb 27, 2021

The Graph extends Layer 2 blockchains and provides indexing and query support for Polygon with over 200,000 users and 90 apps.

Graph joins hands with Polygon to make it easier for Graph to expand Ethereum applications to Layer 2 scaling solutions with sidechains and make it easier for developers to build dApps on Polygon. Ethereum’s current record rates highlight the usefulness of second-layer scaling solutions like Polygon. The Graph is excited to incorporate indexing into the Polygon ecosystem to help developers build scalable decentralized applications.

Polygon is one of the first well-structured and user-friendly platforms for developing and scaling the Ethereum infrastructure. With Polygon’s rebranding, Polygone is now a Layer 2 aggregator for Ethereum, combining multiple approaches to L2 scaling, including sidechains (independent or shared security) and other scaling approaches such as zk aggregation, optimistic aggregates, and plasma. The main component is the Polygon SDK, a flexible and modular framework that supports the creation and linking of certain strings like Plasma, Optimistic Aggregation, zkRollups, Validium, and standalone strings like Matic POS. The Graph Foundation, which had requested a lot of support for Polygon from the developers at Defi and NFT in the larger Ethereum community, decided to launch the hosted graph service for the Polygon developer community.

GRAPH, BUILDING OPEN APIs FOR WEB3

Indexing is a way of organizing and classifying data so users can easily find and reference it. Google is a well-known example of indexing web data and drastically reduces the time it takes users to find and use the internet information. Without data indexing, users would have to manually navigate the unorganized data stores of raw and unallocated data to find the information they needed.

Blockchains are becoming data-rich environments, both through on-chain data generation activities such as events and smart contract calls and through dApps that bring external data to the chain through oracles. All dApps that display blockchain data in their user interfaces need indexed data to reference the information they need and have a good user experience.

Before The Graph, developers had to write index code and keep their servers and databases in a centralized infrastructure. This brings an important point of failure. DApp may maliciously or erroneously alter indexed data, or a single server may go offline. Developers also need to spend additional time and money to run the infrastructure themselves. Implementing a bottom chart is the most efficient way for developers to index blockchain data.

The Graph solves the central data indexing problem by creating a decentralized protocol for indexing blockchain data. Thanks to the decentralized network, users no longer need to rely on computers to run servers, and developers can implement reliable public infrastructure they don’t need to manage. The Graph uses an opensource GraphQL, a query language commonly used by the web developer community. It provides a powerful API to obtain the precise data users need in a single request and seamlessly pass and combine data sources. With GraphQL, Web2 developers can easily build on Web3.

POLYGON SUBGRAPHS

Polygon developers can now create and publish subgraphs. This means that apps like games, decentralized exchanges, credit logs, and other Polygon-based DeFi apps can find and use organized data from Polygon directly in their dApps.

ABOUT THE GRAPH

The Graph is the indexing and querying layer of the decentralized web. Developers create and publish open APIs called sub-graphs that applications can query with GraphQL. The chart currently supports the indexing of Ethereum, IPFS, and PoA data. Other networks will follow soon. More than 10,000 active developers have implemented over 8,000 subgraphs for applications like Uniswap, Synthetix, Aragon, Gnosis, Balancer, Livepeer, DAOstack, AAVE, Decentraland, etc.

As a developer, you can use a subgraph to index and query blockchain data when building an application or a Web3 application. The Graph allows applications to efficiently connect data in a user interface and allows other developers to use the bottom chart. You can apply a subgraph in the Graph Explorer or query existing subgraphs.

ABOUT POLYGON (FORMERLY MATIC)

Polygon is the first well-structured and easy-to-use platform to scale Ethereum and develop infrastructure. The core component is the Polygon SDK, a flexible, modular framework for flexibility and independence that supports creating and connecting secure chains like Plasma, Optimistic Aggregation, zkRollups, Validium, Standalone chains like Matic POS. Polygon Layer 2 chains are widespread with over 90 dApps.

--

--

Samson Dogo

Blockchain and cryptocurrency enthusiast/ambassador