> ## Content Index
> Fetch the complete content index at: https://blog.chainsafe.io/llms.txt
> Use this file to discover other available public pages before exploring further.

# Instrumenting Erigon for Firehose
- URL: https://blog.chainsafe.io/instrumenting-erigon-for-firehose/
- Published: 2023-03-30T10:41:10.000Z
- Updated: 2026-05-08T23:20:50.000Z
- Author: ChainSafe
- Tags: Ethereum, #Import 2023-11-01 00:46, #colin, #Import 2026-11-04 06:17

Authored by **Colin Adams**

We're pleased to announce the successful completion of our consulting engagement with The Graph Foundation. The engagement involved instrumenting the Erigon Ethereum client for Firehose, an innovative solution that greatly increases indexing speeds at The Graph.

### **First, some context**

[The Graph](https://thegraph.com/en/?ref=blog.chainsafe.io) is a decentralized protocol for indexing and querying data from the blockchain. The Graph helps developers access safe and secure data to increase the efficiency of their decentralized applications (Dapps) and create fast front-ends.

[Firehose](https://thegraph.com/docs/en/firehose/?ref=blog.chainsafe.io), built by [StreamingFast](https://www.streamingfast.io/?ref=blog.chainsafe.io), one of The Graph's core development teams, is a files-based and streaming-first approach to processing blockchain data. Firehose is responsible for extracting data from blockchain nodes in an efficient manner.

### **Why was this work necessary?**

There are already multiple Firehose implementations for different blockchains: Ethereum, Polygon, Near, Solana, Arweave, and Cosmos, to name a few. However, a Firehose implementation always requires instrumenting a particular blockchain client, as this is where the state lives and originates.

In the case of Ethereum, the original Firehose implementation was built on an instrumented fork of Geth, the most popular Ethereum client at the time. As the adoption of Firehose continues to grow, it becomes important to expand its usability to include Ethereum's Golang execution client, Erigon.

### **What are the broader implications?**

Successfully instrumenting Erigon for Firehose has effectively meant applying the original work done with Geth to ensure that data types and formats remain consistent.

With this done, a Graph Node can communicate with a new Firehose for Ethereum/BNB Chain/Polygon, i.e., there's a drop-in replacement for the current implementation that has backward compatibility.

Finalizing this work is significant for not only [ChainSafe](https://chainsafe.io/?utm%5Fsource=blog&utm%5Fmedium=traffic&utm%5Fcampaign=erigon%5Ffirehose) and The Graph but the wider web3 developer ecosystem. Firehose's efficient extraction capabilities provide fast access to blockchain data, making it easier than ever to develop decentralized applications.

> The value for blockchain and client teams is clear: 1) all data can be indexed quickly while being stored in various data systems, and 2) blockchains benefit from a facilitated integration with Graph Node and The Graph protocol from day one. Interested? Refer to this [link](https://github.com/ethereum/go-ethereum/issues/27003?ref=blog.chainsafe.io) for more details.

Want to know more about ChainSafe's work? 👉 [click here](https://github.com/ChainSafe/erigon/tree/firehose-v2?ref=blog.chainsafe.io).

**About The Graph**

The Graph is the indexing and query layer of web3\. Developers build and publish open APIs, called subgraphs, that applications can query using GraphQL. The Graph currently supports indexing data from over 39 different networks including Ethereum, NEAR, Arbitrum, Optimism, Polygon, Avalanche, Celo, Fantom, Moonbeam, IPFS, Cosmos Hub, and PoA, with more networks coming soon. To date, 74,000+ subgraphs have been deployed on the hosted service. Tens of thousands of developers use The Graph for applications such as Uniswap, Synthetix, KnownOrigin, Art Blocks, Gnosis, Balancer, Livepeer, DAOstack, Audius, Decentraland, and many others.

[Discord](https://discord.com/invite/vtvv7FP?ref=blog.chainsafe.io) |[Telegram](https://t.me/GraphProtocol?ref=blog.chainsafe.io) | [Twitter](https://twitter.com/graphprotocol?s=20&ref=blog.chainsafe.io) |[LinkedIn](https://www.linkedin.com/company/thegraph/?ref=blog.chainsafe.io) | [Reddit](https://www.reddit.com/r/thegraph/?ref=blog.chainsafe.io) | [Medium](https://medium.com/graphprotocol?ref=blog.chainsafe.io)

**About ChainSafe**

ChainSafe is a leading blockchain research and development firm specializing in infrastructure solutions for web3\. Alongside its contributions to major ecosystems such as Ethereum, Polkadot, Filecoin, Mina, and more, ChainSafe creates solutions for developers and teams across the web3 space utilizing expertise in[ gaming](http://gaming.chainsafe.io/?ref=blog.chainsafe.io),[ bridging](http://chainbridge.chainsafe.io/?ref=blog.chainsafe.io), NFTs, and[ decentralized storage](http://storage.chainsafe.io/?ref=blog.chainsafe.io). As part of its mission to build innovative products for users and improved tooling for developers, ChainSafe embodies an open source and community-oriented ethos to advance the future of the internet.

[Website](https://chainsafe.io/?ref=blog.chainsafe.io) | [Twitter](https://twitter.com/chainsafeth?ref=blog.chainsafe.io) | [Linkedin](https://www.linkedin.com/company/chainsafe-systems?ref=blog.chainsafe.io) | [GitHub](https://github.com/ChainSafe/?ref=blog.chainsafe.io) | [Discord](http://discord.gg/n2U6x9c?ref=blog.chainsafe.io) | [YouTube](https://www.youtube.com/channel/UCpm0lKkxhEKWutbPt1hOgRg?ref=blog.chainsafe.io) | [Newsletter](https://share.hsforms.com/1c-BWbnPuT4GRQi6lI2%5Fxqw4kcdm?ref=blog.chainsafe.io)