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:
- X
- dApps on Starknet
- Starknet Discord server
- Starknet community-run Telegram group
- Community Forum
- The Basecamp Bootcamp
Contact Information
Omar Espejel from the Developer Advocacy team (omar@starknet.org, telegram: espejelomar). Our team supervises the integration between Starknet and The Graph.
Graph Node integration
Starknet uses the Cairo Virtual Machine.
-
To explore Firehose, use the resources in this repository.
-
Find a list of networks and nodes here, with more details in the documentation.
-
For a quick overview of a complete stack with graph-node for subgraph indexing, see the quickstart tutorial. It offers a step-by-step guide to set up everything in under 5 minutes.
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.