# Add Support For Linea Mainnet

**URL:** <https://forum.thegraph.com/t/add-support-for-linea-mainnet/5253>\
**Category:** New Chain Integrations\
**Created:** [January 29, 2024, 6:56pm UTC](https://forum.thegraph.com/t/add-support-for-linea-mainnet/5253 "2024-01-29T18:56:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![0xcam](https://avatars.discourse-cdn.com/v4/letter/0/c6cbf5/32.png) [@0xcam](https://forum.thegraph.com/u/0xcam)\
**Post date:** [January 29, 2024, 6:56pm UTC](https://forum.thegraph.com/t/add-support-for-linea-mainnet/5253/1 "2024-01-29T18:56:33Z")

</div>

## About Linea

Linea aims to be a [Type 2 zkEVM](https://vitalik.ca/general/2022/08/04/zkevm.html) and achieve EVM-equivalence, handling native EVM bytecode for proving and verification. This allows for the execution of Solidity smart contracts and enables developers to build while using familiar tools and infrastructure at extremely low switching costs. The network does not use transpilers or custom compilers on bytecode. By taking the compiled bytecode directly from solidity, we significantly reduce the surface area risk for bugs and hacks.

Linea’s mainnet has been operational for approximately six months. As of the latest data, mainnet has processed over [44.5 million](https://lineascan.build/) transactions, with a 30D MA of ~230,000 Tx/Day.

## Contact Information

- Website: [Linea.build](http://linea.build)
- Twitter: [https://twitter.com/Lineabuild](https://twitter.com/Lineabuild)
- Chainlist: [Chainlist](https://chainlist.org/chain/59144)

* * *

**Name:** Arthur Remy, Product Manager

**About:** Member of the Linea Technical team. This team manages the private subgraph clusters and will remain the Point of Contact for all related Graph questions.

**TG Handle:** @goinfrex - [Telegram: Contact @goinfrex](https://t.me/goinfrex)

* * *

**Name:** Cameron ODonnell, Growth

**About:** Member of the Growth Team at Linea, focusing on protocol and DeFi advancement.

**TG Handle:** @daostrat - [Telegram: Contact @daostrat](https://t.me/daostrat)

## Graph Node integration

Linea is fully EVM bytecode compatible. This should apply to all EVM aspects of integration. For any required offchain aspects of this integration, please contact us using the above.

Please see the following link for the provided [RPC information.](https://docs.linea.build/use-mainnet/info-contracts)

Please see the following link for information on [running a Linea Node.](https://docs.linea.build/build-on-linea/run-a-node).

## Integration with Subgraph Studio or alternatives

We can provide RPC endpoints for Subgraph Studio and are actively working with the Graph Studio team.

## Indexer Documentation

Indexing on Linea should be the same as Indexing on a standard EVM chain.

---

<div class="post-metadata">

**Author:** ![Pedro](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.thegraph.com/pedro/32/658_2.png) [@Pedro](https://forum.thegraph.com/u/Pedro)\
**Post date:** [January 30, 2024, 4:36pm UTC](https://forum.thegraph.com/t/add-support-for-linea-mainnet/5253/2 "2024-01-30T16:36:58Z")

</div>

Hi @ [0xcam](https://forum.thegraph.com/u/0xcam)  
I’m excited to be working with Linea on getting full protocol support! And I’m glad the integration with Subgraph Studio is well along the way.

Can I assume the most updated docs on the Indexer documentation is [what’s on this page](https://docs.linea.build/build-on-linea/run-a-node)? Our Indexers will need to run an archive node. May I assume it’ll just be tweaking `geth` with `--gcmode=archive`?

In addition, is there a public archive snapshot our Indexers can use to bootstrap syncing?

---

<div class="post-metadata">

**Author:** ![0xcam](https://avatars.discourse-cdn.com/v4/letter/0/c6cbf5/32.png) [@0xcam](https://forum.thegraph.com/u/0xcam)\
**Post date:** [February 5, 2024, 8:27pm UTC](https://forum.thegraph.com/t/add-support-for-linea-mainnet/5253/3 "2024-02-05T20:27:19Z")

</div>

Thanks @Pedro !

> [@Pedro](#):
>
> Can I assume the most updated docs on the Indexer documentation is [what’s on this page](https://docs.linea.build/build-on-linea/run-a-node)?

- Running an Indexer node will require the execution node found above.
- As per the documentation for running an indexer, it should be the same as operating an indexer on a standard EVM chain _(with the below note)_

> [@Pedro](#):
>
> Our Indexers will need to run an archive node. May I assume it’ll just be tweaking `geth` with `--gcmode=archive`?

- Standard geth - gcmode will work just fine.

> [@Pedro](#):
>
> In addition, is there a public archive snapshot our Indexers can use to bootstrap syncing?

- No snapshots available, but it is ~20M blocks, so it should not be timely to sync

* * *

Example Subgraph found [here](https://github.com/Consensys/linea-attestation-registry/tree/dev/subgraph)
