TheGraph Network
As a dapp developer, retrieving onchain data for your dapp can be difficult as you will most probably:
- Consume your RPC provider quota with calls
- Need to implement the error handling on multiple levels
- Define creative strategies to be able to avoid UX impacts when you want to manage an high volume of Data
TheGraph is a decentralized data indexer provider that index Linea blockchain for you and expose and provide onchain data as https API.
Being a testnet, Linea is not yet supported by the decentralized network. But we do run TheGraph indexers on Linea to let you leverage the power of this technology.
Deployed subgraph on Linea indexersβ
This is the list of subgraph deployed by partners' dapps on the Linea indexers:
Project | Type | URL |
---|---|---|
Bilinear | ERC721 | knobs/erc721 |
Bilinear | ERC1155 | knobs/erc1155 |
SushiSwap | Blocks | sushiswap/blocks |
HOP Protocol | Bridging Data | hop-protocol/hop |
Connext | Bridging Data | connext/amarok-runtime |
zkVote | DAO Governance | samzkback/zkvotev3 |
Custom subgraph and deploymentsβ
If there are no public subgraph that matches your needs, in order to use TheGraph you will need to define your own subgraph and get it deployed on an indexer. For Linea you can refer to us and we will deploy a subgraph for you in minutes. You just need to handover the subgraph repo you need.
- Deployed subgraphs will be available for your dapp on the following url: https://thegraph.goerli.zkevm.consensys.net/subgraphs/name/@githubUser/@subgraphName
- Here you can find more info on how to build a subgraph in less than 5min with some tutorials and examples.
Check out the full docs on TheGraph website