Add Support for The Starknet Network

About Startknet

Starknet Mainnet is an Ethereum Layer 2 (L2) focusing on scalability for decentralized applications (dApps), having over 94 million transactions, 20k active accounts, and more than 1.7 million contracts deployed.

Key Features of Starknet:

  • Native Account Abstraction: Allows flexible contract design for all accounts, removing protocol limitations. Features include transaction approval via face ID, streamlined multi-signature contracts, and simplified account recovery.
  • Cairo Programming Language: A zk-friendly language that simplifies creating programs with Validity Proofs.
  • Cairo VM: The engine powering Starknet, designed for L2 benefits. It processes large computations, executes smart contracts, and generates Validity Proofs efficiently. The Cairo VM provides greater flexibility than the Ethereum Virtual Machine (EVM) for smart contract development.

This leads to:

  • Reduced transaction times and costs.
  • Enhanced user experience security and flexibility for dApps.
  • Scalability with Ethereum-grade security through Appchains and Layer 3 solutions.

Starknet leads in developer growth, boasting a 39% year-over-year increase in full-time developers, as highlighted in Electric Capital’s Developer Report. This trend has persisted across the last three editions of the report. More developers mean more innovation.

For those interested in starting development on Starknet, follow this guide.

Relevant links:

Contact Information

Omar Espejel from the Developer Advocacy team (, telegram: espejelomar). Our team supervises the integration between Starknet and The Graph.

Graph Node integration

Starknet uses the Cairo Virtual Machine.

Integration with Subgraph Studio or alternatives

We can supply everything required (RPC endpoint, Archive Nodes endpoint, Firehose setup etc.) and engineering assistance to integrate these into the Subgraph studio.

Indexer Documentation

  • Find a recommended list of full-nodes, open API endpoints, and API providers (here). Also, check the sequencer base URL for API routing (here).

  • For Firehose details, refer to this repo.

  • Local deployment with Docker: Multi-arch (AMD64 and ARM64) Docker images contain everything for a successful Firehose setup. Deployment with Docker is extremely easy.

  • Local deployment without Docker: Follow this page for guidance on setting up your machine to run the stack without Docker.

If issues arise while running the stack without Docker, try the Docker method to see if problems persist. The Docker setup has fewer complexities, which might help diagnose issues, even if you eventually opt for a non-Docker deployment.


Hi Omar,

Thank you so much for creating a topic here! We’re very excited to be supporting the Starknet ecosystem very soon.

I’ll take the opportunity to update the community that:

  1. The Graph Foundation and core development teams have been working with the Starknet Foundation for a few months to ensure a quality Graph Node integration with the Starknet Firehose. This integration exists now as part of Graph Node v0.34.0.
  2. InfraDAO is currently testing the stack.
  3. InfraDAO is also working on Indexer-focused documentation.
  4. Starknet Foundation folks as well as zkLend team members (Starknet Firehose lead dev and maintainer) will be joining an upcoming Indexer Office Hours, collaborating with Graph Indexers to ensure proper support for Starknet subgraphs on The Graph’s decentralized network.
  5. Core developers are now working on ensuring full protocol support for non-EVM chains such as Starknet (which will be the first!).

I’ll share more updates as we move along! :raised_hands: