Cointime

Download App
iOS & Android

The Graph: Reading Data, The Web3 Way

Validated Individual Expert

Introduction

The Internet was supposed to be a digital paradise where we could connect with anyone, anywhere, and access limitless information. A place to transcend physical and cultural limitations to expand humanity’s collective knowledge in ways never before imagined. 

But instead of this multicultural utopia, we’ve ended up with a digital dystopia, where the very companies we trust to connect us with the world are also exploiting us for profit. Our data, the very essence of our digital selves, is often used against us by corporations to keep us hooked and extract as much value as possible, and the hyper-commercialization of the modern Internet has gone against all of its founding principles. How do we restore this balance, and give the power and profit back to end users? This is the ultimate question behind web3.

Web3 promises a “new Internet,” one that operates vastly differently from its predecessor. Powered by public blockchains where we own our data, control the platforms we use, and are rewarded for contributing to the network, web3 blockchains are public ledgers that offer access to anyone and everyone. But reading blockchain data is notoriously difficult. And this is actually a serious problem for the burgeoning web3 movement - what good is a public ledger if nobody can access it? Many web3 users have reluctantly turned to private companies to read blockchain data, fundamentally undermining the ethos of the movement and repeating the mistakes of web2. Services such as Alchemy, Infura, and Etherscan, all of which are centralized services owned and operated by for-profit companies, have become widely adopted across the industry. 

For the web3 movement to truly succeed, we need to have a decentralized solution to access data. And this is the fundamental purpose of The Graph. Thanks to the thousands of independent network participants, web3 users can continue to write data to blockchains in a permissionless way, but they can also read it too, unlocking the possibility of true data ownership for all.

In this essay, we will first examine in detail the problem of online feudalism that web2 has created. We will then present the novel paradigm that web3 presents, before outlining (on a high level) how The Graph attempts to solve the problem of reading blockchain data, as well as highlighting the importance of doing so in a decentralized manner in order to adhere to the philosophical principles of a decentralized new Internet.

Web2 and Online Feudalism

Thanks to their undisputed reign over the Internet, web2 companies have shifted from creating value to extracting it, breathing new life into the haunting spirit of feudalism.

Feudalism can be described as, “a way of structuring society around relationships that were derived from the holding of land in exchange for service or labour.” One group of people own the land, and let everyone else live on it in exchange for work. Feudalism created a society of rampant inequality, where the producers of wealth lived in destitution, while the extractors of wealth lived in luxury. The monopolies of big tech have revived this bygone economic system and adapted it for the digital world.

Instead of land, big tech owns the platforms everyone relies on for work, social connection, and entertainment. It may seem like we get to use these platforms for free, but we don’t. We are, in fact, providing them with “service or labour” without even realizing it by giving them unlimited access to our data.

In Radical MarketsEric A. Posner and E. Glen Weyl argue that data is labor. The value behind any given tech company is not the platform itself, but the data users create when using the platform. Instead of working in a field to produce a crop, we either doom-scroll on social media or visit websites to produce lots of data. The profits are generated when this data is sold to advertisersgovernments, and whoever else wants it. In essence, we are creating billions of dollars in value for platforms that extract and sell our data. And our only compensation is reposted memes sprinkled between the non-stop barrage of ads.

Our digital footprints have been harvested, siloed, and auctioned to the highest bidder. Consequently, we have been reduced to commodities, no different from the landless peasants of medieval times. The entire system is predicated on the profit of the few at the expense of the many.

Web3 represents a paradigm shift that gives users ownership over their data and partial ownership over the platforms that generate it, allowing for user participation in network governance. However, reading data from the blockchain is challenging and requires specific hardware and skills. As a result, many web3 users have relied on centralized services like Alchemy, Infura, and Etherscan to read blockchain data. Although these services provide a gateway for users to access the information stored on the blockchain, they introduce a single point of failure, and undermine the core ethos of decentralization. 

In the same way that blockchain revolutionized and decentralized databases, we must now have a blockchain access protocol that revolutionizes and decentralizes this crucial step of blockchain data access – one which a truly decentralized Internet cannot do without.

The Graph: Reading web3 Data, the web3 Way

Officially, The Graph is a decentralized indexing protocol that provides easy access to the world's blockchain data through a marketplace of open APIs called subgraphs. Informally, you can think of it as web3’s Google. It enables developers to access blockchain data in a permissionless, decentralized, and open manner. And as Vitalik Buterin has mentioned at EthCC, it has become the de facto industry standard for accessing blockchain data in a web3 native way.

An open system of APIs

Subgraphs are the cornerstone of The Graph's decentralized network, offering the web3 ecosystem organized, aggregated, and readily available blockchain data. And the best part? Anyone can build a subgraph and make it available to query, making it an accessible tool for developers and enthusiasts alike. Once published, subgraphs can be queried using GraphQL, unlocking a wealth of insights into blockchain data. For example, you can query blockchain data from Snapshot’s subgraph to see voting history, active votes, and voting delegation power.

But what truly sets The Graph apart is its elegant and powerful system of incentives for network participants. By incentivizing thousands of independent participants to work together, The Graph empowers a decentralized community to provide high-quality, reliable blockchain data to the world. It's an exciting time for web3, and The Graph is leading the way towards a more accessible and decentralized future.

The Graph’s Stakeholders (in GRT)

GRT is the native work-utility token on The Graph. It is used to reward and enable contributions to the network. Anyone can earn GRT for participating as one of the roles on The Graph. The primary network roles are: Indexers, Delegators, subgraph developers, and Curators.

Indexers are the backbone of the network, operating indexing nodes using Graph Node, an open source project built by core developer teams at The Graph. The more queries they serve and the more subgraphs they index, the more GRT rewards they earn. Before an Indexer can begin serving queries, they must stake 100,000 GRT with the network to ensure they have skin in the game. At the time of writing, there are over 451 Indexers serving queries.

Delegators, on the other hand, can passively earn GRT rewards by delegating GRT to Indexers. It's a non-technical role that enables Indexers to earn more rewards. Most Indexers offer between 9-12% annual rewards, making it an attractive option for Delegators.

Subgraph developers play a crucial role in building and testing subgraphs before publishing them to The Graph's decentralized network. Once published and curated, Indexers will begin serving data queries to those subgraphs, unlocking the data to be easily queried by anyone.

Curators seek out valuable subgraphs and "curate" them with GRT to increase their curation signal. When subgraphs have a strong curation signal, Indexers will begin indexing them and serving queries to consumers. Curators earn a percentage of all future query fees for identifying important subgraphs.

All of these different roles of different network participants are outlined in the above diagram. As we can see, one of The Graph’s primary innovation is in coordinating different stakeholders incentives through the use of the GRT token, ultimately to benefit end users and facilitate a truly decentralized method of blockchain data queries. This process of incentive alignment for a common good symbolizes what web3 is all about: replacing the need for trust for a centralized entity (such as Alchemy or Infura) with a truly decentralized process, allowing uses to not need to place (or misplace) their trust any single point of failure.

Conclusion

The hyper-commercialized modern Internet is fundamentally the failure of a trust-based system. We placed our data, our identity, our trust in a system in hopes that it would be kept in good faith, but instead had this data harvested for profits’ sake. As large companies monetize through divorcing content value from content creators, the “little guy” is left with nothing but ads and data breaches. This is the fundamental status quo that web3 is trying to change through its transparent, trustless, and decentralized nature.

But old habits die hard, and there is a tendency to slip back into the comforts of outsourcing infrastructure components – such as blockchain indexing and searching – to centralized parties, and in the process create centralized bottlenecks and thus forsake the principles of web3. This is why presenting viable decentralized solutions to all these critical infrastructure components is so important for web3’s long-term health.

As an industry pioneer and leader in decentralized blockchain data query, The Graph is proud to be such a beacon of decentralization, showing that it is indeed possible and economically viable to build a system where trustlessness and decentralization is the norm, and user ownership is sacrosanct. The time has come to leave behind web2 feudalism and create a new Internet that serves the interests of everyone. Together, we shall build a new Internet, one that is no longer the feudal estate of the few, but rather a truly public protocol for the many.

After all, this is what the Internet was meant to be.

About the Author

Michael Macaulay is a technical writer at Edge & Node, where he writes blogs, tutorials, and documentation about The Graph. He actively publishes web3 & programming tutorials on his Medium blog.

References

[1] The Graph: A Decentralized Query Protocol for Blockchains

[2] Radical Markets: Uprooting Capitalism and Democracy for a Just Society

[3] The Graph GRT Token Economics

[4] Tokenomics of The Graph Network

[5] The Cyclopedic Dictionary of Law

Comments

All Comments

Recommended for you

  • Web3 fantasy-like turn-based MMO Swords & Dungeons completes $5 million in financing, with Mirana, OKX Ventures and others participating

    Web3 multi-chain MMORPG Swords & Dungeons announced the completion of a $5 million financing round, with participation from multiple investment institutions including Mirana Ventures, Qiming Venture Partners, OKX Ventures, Y2Z Ventures, Sequoia Capital China, Folius Ventures, Mask Network, SNZ Capital, Arkstream Capital, Cloud Nine Capital, Primal Capital, Welight Capital, and Bas1s Ventures.In addition, Swords & Dungeons will end its second in-game testing on July 19th. During the testing period, 5 million GOLD tokens will be distributed to the community as testing incentives, and all player recharge amounts during the testing period will be returned to early players in the form of token IDO shares, NFT discounts, or full USDT payments.

  • Solana-based GPU tokenization protocol Compute Labs completes $3 million financing

    Compute Labs, a GPU tokenization protocol based on Solana, has completed a seed round of financing worth $3 million with a valuation of $30 million. The round was led by Protocol Labs, the developer behind Filecoin, with participation from Blockchain Coinvestors, OKX Ventures, CMS Holdings, HashKey Capital, Amber Group, and P2 Ventures (formerly Polygon Ventures). Angel investors include Sandeep Nailwal of Polygon and Austin Federa of the Solana Foundation.

  • MicroStrategy's Bitcoin holdings currently have a floating profit of about $5 billion

    As the Bitcoin price briefly fell below $58,000, it is now trading at $58,940. MicroStrategy's Bitcoin holdings have fallen to a floating profit of $5.011 billion. As of June 20, 2024, MicroStrategy holds 226,331 BTC with an average price of $36,798 per Bitcoin, worth approximately $8.33 billion. On May 21, MicroStrategy's Bitcoin holdings once reached a floating profit of $7.734 billion.

  • South Korea's Monetary Authority completes construction of a permanent monitoring system for abnormal transactions in virtual asset exchanges

    On July 4th, with the "Virtual Asset User Protection Law" coming into effect in July, Korean financial authorities announced the development of a "Continuous Abnormal Transaction Monitoring Guide" in collaboration with virtual asset exchanges. The Financial Supervisory Service has established a unified transaction data table standard that can detect abnormal transactions, and each exchange has also established a computer system. The main newly added transaction information accumulation projects include market information and transaction commission media information.

  • In the past 24 hours, the entire network has liquidated $245 million

    According to Coinglass data, in the past 24 hours, the total liquidation amount on the entire network was $245 million, of which long liquidation was $221 million and short liquidation was $24.3194 million.

  • Ethereum core developers introduce EIP-7732

    Ethereum core developers have announced the release of EIP-7732, which is the formal specification of Enshrined Proposer-Builder Separation (ePBS). EIP-7732 is an upgrade only for the consensus layer, which separates execution verification from consensus verification and embeds PBS directly into Ethereum's consensus layer. PBS refers to the separation of block proposers and builders. EIP-7732 includes modifications to the beacon chain, fork selection rules, and P2P communication, and allows validators to play the role of builders. Builders are complex participants who build blocks to extract MEV. ePBS provides trustless exchange between proposers and builders, and enables validators to effectively utilize CPU. The implementation scheme has a Payload Timeliness Committee (PTC), which votes on the timeliness of payload releases by builders, and is a subset of the validation committee. The design of EIP-7732 is also compatible with future upgrades, such as the inclusion list.

  • Swiss National Bank willing to expand digital currency project

    Antoine Martin, a member of the board of directors of the Swiss National Bank, stated at the Point Zero Forum event in Zurich that the Swiss National Bank is willing to expand its central bank digital currency (CBDC) pilot project. We hope to see the pilot project continue to develop, with more banks joining and transaction volumes increasing. Last month, the Swiss National Bank stated that it will continue to provide CBDC for at least two years and extend the pilot project called Project Helvetia III, which began last year. Six banks, including Credit Suisse and Deutsche Bank, have participated in the project, which has issued six digital currency bonds with a total value of CHF 750 million (USD 830.38 million).

  • The Bitcoin roundtable hosted by Democratic U.S. Congressman Ro Khanna is expected to be held on July 17

    US Democratic Congressman Ro Khanna has been in contact with top figures in the digital asset industry, as well as Democratic legislators and White House officials, inviting them to participate in an exclusive Bitcoin roundtable meeting next week in the US capital. The meeting is scheduled to take place on Wednesday (July 17th) next week, with at least 20 attendees expected, including at least one White House representative and cryptocurrency investor and advocate, billionaire entrepreneur Mark Cuban. Previously reported, the meeting will discuss how to keep Bitcoin and blockchain innovation within the US.

  • South Korea's presidential office appoints Vice Finance Minister Kim Byeong-Hwan as new head of financial regulator

    The South Korean Presidential Office has appointed Kim Byeong-Hwan, the Deputy Minister of Finance, as the new head of the financial regulatory agency.

  • Xu Zhengyu: The New Capital Investor Entry Scheme currently does not consider assets held in non-wholly owned companies or other forms as proof of assets

    Hong Kong Financial Secretary and Treasury Bureau Director, Paul Chan Mo-po, replied to a question from a legislator stating that since the launch of the new capital investment scheme, the Hong Kong Investment Promotion Agency will consider accepting applicants' net assets held by their wholly-owned private companies as proof of assets on a case-by-case basis. However, if the applicant holds assets through other non-wholly-owned entities and their absolute ownership rights cannot be clearly defined, assets held by non-wholly-owned companies or other means will not be considered as proof of assets during the net asset review stage of the "new plan". As for measures related to virtual assets, Paul Chan Mo-po pointed out that according to regulations, licensed corporations intending to engage in any activities involving virtual assets must notify the Hong Kong Securities and Futures Commission in advance, while registration institutions must notify both the Hong Kong Securities and Futures Commission and the Hong Kong Monetary Authority. Generally, intermediaries who have been licensed or registered can distribute virtual asset-related products after notifying relevant regulatory agencies of their regulated activities without the need to apply for modifications to their licenses.