The Graph 백서

The Graph

원문

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 18쪽 중 1쪽

The Graph Docs The Graph is a blockchain data solution that powers applications, analytics, and AI on 60+ chains. The Graph's core products include Subgraphs for indexing smart contracts and Substreams for real-time and historical data streaming. See all 56 networks The Graph's Products Choose a solution that fits your needs—interact with blockchain data your way. Subgraphs Extract, process, and query blockchain data with open APIs. Develop a subgraph Substreams Fetch and consume blockchain data with parallel execution. Develop with Substreams Graph Node Index blockchain data and serve it via GraphQL queries. Set up a local Graph Node Firehose Extract blockchain data into flat files to speed sync times. Get started with Firehose Supported Networks The Graph supports 60+ networks . To add a new network, complete this form Guides 10 min Find Data in Graph Explorer Leverage hundreds of public subgraphs for existing blockchain data. 3 min Publish a Subgraph Add your subgraph to the decentralized network. 3 min Publish Substreams Launch your Substreams package to the Substreams Registry. 9 min Querying Best Practices Optimize your subgraph queries for faster, better results. 4 min Optimized Timeseries & Aggregations Streamline your subgraph for efficiency. 2 min API Key Management Easily create, manage, and secure API keys for your subgraphs. 3 min Transfer to The Graph Seamlessly upgrade your subgraph from any platform. Video Tutorials ⁠ Watch on YouTube YouTube ⁠ The Graph Explained In 1 Minute Learn how and why The Graph is the backbone of web3 in this short, non-technical video. 1 min What is Delegating? This video explains key concepts to understand before delegating, a form of staking that helps secure The Graph. 4 min ## / Fast, easy access to blockchain data The Graph organizes and serves web3 data. Start building What is The Graph? Explore The Graph Build faster 100% less servers Create groundbreaking applications without needing to run your own data server, build indexing infrastructure, or parse through raw data. Spend less 60-98% less per month Cut down on costs and time spent running expensive infrastructure by tapping into The Graph’s competitive data market. Increase resilience 99.99%+ uptime Ensure your application’s uptime and keep its data flowing 24/7 with a globally distributed network of contributors. Industry standard data access Choose from a range of products tailored to your data needs. INDEX & QUERY Subgraphs Query data to application frontends Explore Subgraphs STREAM DATA Substreams Stream data into custom sinks Discover Substreams Web3 Powered by The Graph Tens of thousands of developers rely on The Graph to create best-in-class user experiences. Explore a rich ecosystem of community-created Subgraphs or build your own with The Graph. DeFi NFTs DAOs Analytics Gaming View all 100 + Indexer Nodes 1.27 trillion + Queries Served 75K + Projects 60+ Supported Networks Anyone can use The Graph to power applications. Supported networks Add new network How to use a Subgraph With The Graph, it’s easy to access blockchain data using Subgraphs and GraphQL queries. Join a growing number of trailblazers creating fast, responsive applications with data that loads in milliseconds. Step 1 Discover Create a Subgraph to organize smart contract data, or use an existing one. View the Subgraph ⁠ Step 2 Query Easily access organized data with simple GraphQL queries. { pools ( first : 10 ) { address annualPercentageReturn utilizationRate netSize netSizeInUsd pairName } } View the playground ⁠ Step 3 Serve Effortlessly load queried data into your application. View the dapp ⁠ Globally distributed Decentralized infrastructure What makes The Graph so resilient? Enter The Graph Network, a decentralized data market powered by distributed participants: Indexers, Curators, Delegators, and Subgraph Developers. Join the ecosystem Transform the internet The Graph ecosystem welcomes you — regardless of where you are in the world, what your level of technical expertise is, or your familiarity with blockchains. Learn about all the roles in which you can choose to participate! Data consumer Query an existing Subgraph in your project Developer Create a Subgraph to use in your dapp Indexer Index data & serve queries for Subgraphs Delegator Secure the network by supporting helpful Indexers Curator Identify useful Subgraphs to index Read more 23 Ways to Participate in The Graph Ecosystem Learn more The Graph enables innovators of all backgrounds to plug into a collaborative ecosystem. Learn more about how The Graph community can serve you. Blog Intro to web3 and The Graph The Graph Foundation · 6 minute read The Graph Network In Depth Brandon Ramirez · 7 minute read The Graph Roadmap The Graph Foundation · 11 minute read View all posts ⁠ Docs About The Graph 3 minute read Subgraph Quick Start 4 minute read How to Query Subgraphs 1 minute read Go to docs ⁠ Videos How to Delegate GRT 2m 30s Quarterly Participant Update 38m 38s How to Migrate a Subgraph 12m 47s View all videos ⁠ ## /docs/en/about What is The Graph? The Graph is a suite of blockchain data infrastructure products that extract, process, and deliver scalable blockchain data solutions across 60+ networks. The Graph enables application developers, data analysts, AI agents, and enterprise teams that need structured, reliable, and real-time access to blockchain data. Products include Subgraphs and Substreams. As of early 2026, The Graph has served over 1.27 trillion queries to more than 75,000 projects, powered by 50+ independent Indexer nodes worldwide. To learn more about The Graph from a non-technical perspective, visit The Graph Overview . Why Blockchain Data is Difficult to Index Blockchains are optimized for writing and verifying transactions, not for reading or analyzing them. This makes indexing on-chain data harder than it looks: No relational structure: Data is stored as an append-only chain of blocks with no tables, indices, or relationships. Answering “all transfers for this user” means scanning the chain block by block, which is slow and resource intensive. State isn’t readable in useful forms: Contract data lives in low-level storage slots and event logs, which must be reconstructed into meaningful application-readable format. No query language: Blockchains expose only low-level RPC methods ( eth_getLogs , eth_call ), with no native way to filter, aggregate, sort, or join. Historical data needs archive nodes: Querying past state requires expensive archive nodes, since most nodes prune historical data. Data is fragmented: Real applications scatter data across many contracts and events that were never designed to be joined together. Doing this processing on demand is slow, and it forces every developer to build and maintain their own indexing infrastructure. How The Graph Solves This The Graph is a modular protocol whose data services each specialize in a different class of blockchain data problem. Rather than forcing every use case through a single tool, the protocol lets developers choose the right product or service for their use case: Specialized data services for specific use cases: The protocol supports a spectrum of data services, each optimized for a distinct need. A team can use one service for custom application APIs and another for high-throughput streaming, all secured by the same network. Subgraphs for resilient, decentralized APIs: Subgraphs define exactly which contracts, events, and entities to index and how to transform raw on-chain data into structured entities queryable via GraphQL. Because a global network of Indexers serves this data, Subgraphs offer resilience and geographic diversification, with no single point of failure. Substreams for real-time scale: Substreams use parallelized, streaming data processing to index at high throughput and deliver onchain data with low latency. This scales indexing far beyond sequential processing and powers real-time use cases such as live liquidity and trading data. The result: raw, hard-to-access on-chain data becomes fast, structured, and ready to power applications—from a single dapp to institutional-scale systems. The Graph’s Core Products 1. Subgraphs Overview: Custom APIs that extract data from a blockchain, process it, and serve it via GraphQL. The original and most widely used data service on The Graph. Use Cases: Best when an application needs its own structured, queryable data (specific contracts, events, entities) via an opinionated API. Ideal for DeFi dashboards, NFT marketplaces, governance UIs, and most dapp frontends. Explore existing Subgraphs Build a Subgraph 2. Substreams Overview: A parallel blockchain indexing technology for high-performance, real-time data streams. Built for use cases that need faster sync and larger throughput than traditional Subgraphs. Use Case: Best when you need low-latency data at scale: live liquidity and price feeds, trading and liquidation events, analytics pipelines, and large-scale backfills across chains. Browse existing Substreams ⁠ Build with Substreams ## /docs/en/supported-networks Supported Networks Contact The Graph Foundation ⁠ to integrate or request a new network, discuss indexing rewards, or learn more about custom data solutions. Show Testnets Name Subgraphs Firehose/Substreams Anubis anubis COMMUNITY Arbitrum One arbitrum-one REWARDS EXTENDED Arc arc STUDIO EXTENDED Avalanche avalanche REWARDS BASE Base base REWARDS EXTENDED Bitcoin btc NON-EVM Blast blast-mainnet BASE BNB bsc REWARDS EXTENDED Boba boba COMMUNITY Celo celo REWARDS BASE Chiliz chiliz STUDIO Ethereum Beacon mainnet-cl NON-EVM Hoodi Beacon hoodi-cl NON-EVM Ethereum mainnet REWARDS EXTENDED Sepolia Beacon sepolia-cl NON-EVM Etherlink etherlink-mainnet STUDIO Fraxtal fraxtal COMMUNITY Fuse fuse COMMUNITY Gnosis Beacon gnosis-cl NON-EVM Gnosis gnosis REWARDS Hemi hemi STUDIO HyperEVM hyper-evm EXTENDED Injective EVM injective-evm COMMUNITY EXTENDED Injective injective-mainnet NON-EVM Ink ink EXTENDED JOC joc STUDIO Kaia kaia STUDIO Linea linea REWARDS EXTENDED Litecoin litecoin NON-EVM MegaETH megaeth BASE Monad monad EXTENDED Near near-mainnet STUDIO NON-EVM Neo X neox STUDIO Optimism optimism REWARDS EXTENDED peaq peaq STUDIO Polygon matic REWARDS EXTENDED Robinhood Chain robinhood EXTENDED Rootstock rootstock REWARDS Scroll scroll REWARDS Sei sei-mainnet STUDIO Solana Accounts solana-accounts NON-EVM Solana solana-devnet NON-EVM Solana solana-mainnet-beta NON-EVM Soneium soneium STUDIO EXTENDED Sonic sonic REWARDS Stable stable STUDIO Starknet starknet-mainnet NON-EVM Stellar stellar NON-EVM Tempo tempo STUDIO BASE TRON EVM tron-evm BASE TRON tron NON-EVM Unichain unichain REWARDS EXTENDED Vaulta eos NON-EVM Viction viction STUDIO WAX wax NON-EVM WorldChain worldchain EXTENDED X Layer xlayer-mainnet STUDIO BASE ZetaChain zetachain STUDIO Zilliqa zilliqa STUDIO zkSync zksync-era REWARDS Zora zora EXTENDED Subgraph Studio relies on the stability and reliability of the underlying technologies, for example JSON-RPC, Firehose and Substreams endpoints. If a Subgraph was published via the CLI and picked up by an Indexer, it could technically be queried even without support, and efforts are underway to further streamline integration of new networks. For a full list of which features are supported on the decentralized network, see this page ⁠ . Running Graph Node locally If your preferred network isn’t supported on The Graph’s decentralized network, you can run your own Graph Node ⁠ to index any EVM-compatible network. Make sure that the version ⁠ you are using supports the network and you have the needed configuration. Graph Node can also index other protocols, via a Firehose integration. Firehose integrations have been created for NEAR and Arweave. Additionally, Graph Node can support Substreams-powered Subgraphs for any network with Substreams support. ## /docs/en/contracts Below are the deployed contracts which power The Graph Network. The Arbitrum contracts are sourced directly from the @graphprotocol/address-book ⁠ package, so they stay current with each release. Visit the official contracts repository ⁠ to learn more. Arbitrum One This is the principal deployment of The Graph Network. Horizon Contract Address Controller 0x0a8491544221dd212964fbb96487467291b2C97e ⁠ GraphPayments 0x7Aae8ae011927BC36Cb4d0d3e81f2E6E30daE06D ⁠ PaymentsEscrow 0xf6Fcc27aAf1fcD8B254498c9794451d82afC673E ⁠ L2Curation 0x22d78fb4bc72e191C765807f8891B5e1785C8014 ⁠ L2GNS 0xec9A7fb6CbC2E41926127929c2dcE6e9c5D33Bec ⁠ SubgraphNFT 0x3FbD54f0cc17b7aE649008dEEA12ed7D2622B23f ⁠ RewardsManager 0x971B9d3d0Ae3ECa029CAB5eA1fB0F72c85e6a525 ⁠ HorizonStaking 0x00669A4CF01450B64E8A2A20E9b1FCB71E61eF03 ⁠ GraphTallyCollector 0x8f69F5C07477Ac46FBc491B1E6D91E2bb0111A9e ⁠ GraphProxyAdmin 0x2983936aC20202a6555993448E0d5654AC8Ca5fd ⁠ EpochManager 0x5A843145c43d328B9bB7a4401d94918f131bB281 ⁠ L2GraphToken 0x9623063377AD1B27544C965cCd7342f7EA7e88C7 ⁠ L2GraphTokenGateway 0x65E1a5e8946e7E87d9774f5288f41c30a99fD302 ⁠ Subgraph Service Contract Address SubgraphService 0xb2Bb92d0DE618878E438b55D5846cfecD9301105 ⁠ DisputeManager 0x2FE023a575449AcB698648eD21276293Fa176f96 ⁠ L2Curation 0x22d78fb4bc72e191C765807f8891B5e1785C8014 ⁠ L2GNS 0xec9A7fb6CbC2E41926127929c2dcE6e9c5D33Bec ⁠ SubgraphNFT 0x3FbD54f0cc17b7aE649008dEEA12ed7D2622B23f ⁠ LegacyDisputeManager 0x0Ab2B043138352413Bb02e67E626a70320E3BD46 ⁠ LegacyServiceRegistry 0x072884c745c0A23144753335776c99BE22588f8A ⁠ Issuance Contract Address NetworkOperator 0xae656A0aa51cd465B7506F98F2e8FBb82aa79894 ⁠ RewardsEligibilityOracleA 0x8ec2767a9d9ba02b4e09e8ff4fac2e14a340f304 ⁠ Arbitrum Sepolia This is the primary testnet for The Graph Network. Testnet is predominantly used by core developers and ecosystem participants for testing purposes. There are no guarantees of service or availability on The Graph’s testnets. Horizon Contract Address GraphPayments 0x57E70eC8905E26341d40aF60Dca56cDBA8C166E5 ⁠ PaymentsEscrow 0x4b5D3Da463F7E076bb7CDF5030960bf123245681 ⁠ Controller 0x9DB3ee191681f092607035d9BDA6e59FbEaCa695 ⁠ L2Curation 0xDe761f075200E75485F4358978FB4d1dC8644FD5 ⁠ L2GNS 0x3133948342F35b8699d8F94aeE064AbB76eDe965 ⁠ SubgraphNFT 0xF21Df5BbA7EB9b54D8F60C560aFb9bA63e6aED1A ⁠ RewardsManager 0x1F49caE7669086c8ba53CC35d1E9f80176d67E79 ⁠ HorizonStaking 0x865365C425f3A593Ffe698D9c4E6707D14d51e08 ⁠ GraphTallyCollector 0x382863e7B662027117449bd2c49285582bbBd21B ⁠ GraphProxyAdmin 0x7474a6cc5fAeDEc620Db0fa8E4da6eD58477042C ⁠ EpochManager 0x88b3C7f37253bAA1A9b95feAd69bD5320585826D ⁠ L2GraphToken 0xf8c05dCF59E8B28BFD5eed176C562bEbcfc7Ac04 ⁠ L2GraphTokenGateway 0xB24Ce0f8c18c4DdDa584A7EeC132F49C966813bb ⁠ RecurringCollector 0x0b18befc60455121ad66ae6e4a647955fcde3900 ⁠ Subgraph Service Contract Address SubgraphService 0xc24A3dAC5d06d771f657A48B20cE1a671B78f26b ⁠ DisputeManager 0x96e1b86b2739e8A3d59F40F2532caDF9cE8Da088 ⁠ L2Curation 0xDe761f075200E75485F4358978FB4d1dC8644FD5 ⁠ L2GNS 0x3133948342F35b8699d8F94aeE064AbB76eDe965 ⁠ SubgraphNFT 0xF21Df5BbA7EB9b54D8F60C560aFb9bA63e6aED1A ⁠ LegacyDisputeManager 0x7C9B82717f9433932507dF6EdA93A9678b258698 ⁠ LegacyServiceRegistry 0x888541878CbDDEd880Cd58c728f1Af5C47343F86 ⁠ Issuance Contract Address NetworkOperator 0xade6b8eb69a49b56929c1d4f4b428d791861db6f ⁠ RewardsEligibilityOracleA 0x6ba849fbd33257162552578b2a432d30784f2f80 ⁠ IssuanceAllocator 0x76a0d75651d4db83f74ac502b86a0ae4e19ac38b ⁠ DefaultAllocation 0xa0eab4367d753314840c09313a5c6d27174bd541 ⁠ ReclaimedRewards 0xe01bb1bba83d3d5b823877d85bc3ba9fd7835c6d ⁠ RecurringAgreementManager 0x590dbbbdb1b6261e39bcc1fe88bffc21c847a68e ⁠ RewardsEligibilityOracleB 0xcc70eae4001b36029fecb285ba6e8bbfd753e3da ⁠ RewardsEligibilityOracleMock 0x69b0f3c6a19beaf1ba59405f7179e188c64b4e06 ⁠ DirectAllocation_Implementation 0xd5de0951759b8306226fa370a9ecca40a31aa2d3 ⁠ Ethereum Mainnet This was the original deployment of The Graph Network. Learn more about The Graph’s scaling with Arbitrum. Contract Address IENS 0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e ⁠ IEthereumDIDRegistry 0xdCa7EF03e98e0DC2B855bE647C39ABe984fcF21B ⁠ GraphProxyAdmin 0xF3B000a6749259539aF4E49f24EEc74Ea0e71430 ⁠ BancorFormula 0xd0C61e8F15d9deF697E1100663eD7dA74d3727dC ⁠ Controller 0x24CCD4D3Ac8529fF08c58F74ff6755036E616117 ⁠ EpochManager 0x64F990Bf16552A693dCB043BB7bf3866c5E05DdB ⁠ GraphToken 0xc944E90C64B2c07662A292be6244BDf05Cda44a7 ⁠ ServiceRegistry 0xaD0C9DaCf1e515615b0581c8D7E295E296Ec26E6 ⁠ GraphCurationToken 0xb2E26f17Aea8eFA534e15Bde5C79c25D0C3dfa2e ⁠ Curation 0x8FE00a685Bcb3B2cc296ff6FfEaB10acA4CE1538 ⁠ L1GNS 0xaDcA0dd4729c8BA3aCf3E99F3A9f471EF37b6825 ⁠ L1Staking 0xF55041E37E12cD407ad00CE2910B8269B01263b9 ⁠ RewardsManager 0x9Ac758AB77733b4150A901ebd659cbF8cB93ED66 ⁠ DisputeManager 0x97307b963662cCA2f7eD50e38dCC555dfFc4FB0b ⁠ AllocationExchange 0x4a53cf3b3EdA545dc61dee0cA21eA8996C94385f ⁠ SubgraphNFTDescriptor 0x8F0B7e136891e8Bad6aa4Abcb64EeeFE29dC2Af0 ⁠ SubgraphNFT 0x24e36639b3A3aaA9c928a8A6f12d34F942f1ab67 ⁠ BridgeEscrow 0x36aFF7001294daE4C2ED4fDEfC478a00De77F090 ⁠ L1GraphTokenGateway 0x01cDC91B0A9bA741903aA3699BF4CE31d6C5cC06 ⁠ StakingExtension 0xA479c00cDa8C07bce458D7a826C7b091672EB92C ⁠ Ethereum Sepolia Contract Address GraphProxyAdmin 0xe2011488ea6B02692Ee58717698aecDdfBf4756F ⁠ BancorFormula 0x56b9f17D3Ca520b229F56D13a988dFAE9924C91E ⁠ Controller 0xf53B3910ecaeED1Aac4Bb5Ba9840d25E36e52b7C ⁠ EpochManager 0x3C39036a76104D7c6D3eF13a21477C0fE23A3Aa2 ⁠ GraphToken 0xCA59cCeb39bE1808d7aA607153f4A5062daF3a83 ⁠ GraphCurationToken 0xE04cE530c532538F1F63cA911849925425C2A1Aa ⁠ ServiceRegistry 0x0Ee47634c94E6606f67301b3A868319073CB0FC2 ⁠ Curation 0x77A6e5F2f13218B33A97Aec56d591dB18D60FFb1 ⁠ SubgraphNFTDescriptor 0xC9b2011A082d75c01C5C3eEA132f29ebaD182BD5 ⁠ SubgraphNFT 0x120005c38D2624Ef70185fEf3a051Dd57b27a491 ⁠ L1GNS 0x5461D48556B94e7fdD8ED5A8f865Ba4F1A3b5454 ⁠ StakingExtension 0x3fF97b5bdC1D46B0bbD1a3166F232683470a0ce3 ⁠ L1Staking 0x14e9B07Dc56A0B03ac8A58453B5cCCB289d6ec90 ⁠ RewardsManager 0x175f483AfAB4Fc52A6E07F9e9d46C90eB95941b5 ⁠ DisputeManager 0x1Da0DF3435cde4199650D35690E3B0885dfc38B1 ⁠ AllocationExchange 0xd49670f70f68F7dc62c8B287F6388d250C5487E2 ⁠ L1GraphTokenGateway 0x549DCB0b510Ee7C8d6E8e346ab9aC75E22DD78B3 ⁠ BridgeEscrow 0x428Ab6E9EeF41Dc5098a34a6993Cdd5Be5BA24a6 ⁠ EthereumDIDRegistry 0xDe57D27e530c99bDa15Fe231B8C632E4a37E7343 ⁠ ## /docs/en/ai-overview Using AI on The Graph Instead of relying on static datasets or centralized APIs, you can now use our AI-native tooling via the Subgraph MCP and agent skills for both Subgraphs and Substreams. Why Use Onchain Data with AI? Using onchain data with AI unlocks powerful new ways to interact with and understand blockchain ecosystems. AI for Developers You can use AI to interact directly with The Graph’s data through your agents or build AI-powered applications on top of it. This streamlines development and opens up more intuitive, dynamic use cases. Enable Natural Language Access to Onchain Data Model Context Protocol ⁠ (MCP) servers connect to Claude, Cline, and Cursor. They enable models to understand, query, and interact with structured onchain data using natural language. MCPs remove the need to write low-level queries or interact with APIs directly. Agent Skills extend AI coding assistants like Claude Code and Cursor with deep, specialized knowledge of The Graph’s protocols. This covers development patterns, best practices, and debugging techniques out of the box. Subgraph MCP The Subgraph MCP server connects models to Subgraphs on The Graph Network. It allows language models to explore Subgraph schemas, execute GraphQL queries, find relevant Subgraphs by keyword or contract, and surface usage metrics using natural language. Benefits of Using Subgraph MCP Query Subgraphs and token data using natural language Access GraphQL schemas and token metadata without manual queries Find Subgraphs b
프로젝트로 돌아가기