Starknet is a validity rollup, also called a ZK-rollup, that executes transactions off the Ethereum main chain and proves their correctness to Ethereum with STARK cryptographic proofs. In blockchain scaling, it belongs to the family of Layer 2 networks that inherit security from Ethereum while offering much lower fees and higher throughput.
Starknet was developed by StarkWare and reached mainnet in 2021. It differs from most Ethereum rollups in two ways: its smart contracts are written in Cairo, a language designed for provable computation, and every account is a smart contract through native account abstraction. The network token, STRK, is used for fees, staking and governance.
How Starknet proves transactions to Ethereum
Starknet scales Ethereum by replacing re-execution with verification: a sequencer orders and executes transactions, a prover generates a proof that the resulting state is correct, and an Ethereum contract verifies that proof. Ethereum nodes therefore check a short proof instead of repeating thousands of transactions.
The proof system is STARK, short for scalable transparent argument of knowledge. STARKs rely on hash functions rather than elliptic-curve pairings, so they need no trusted setup and are considered plausibly resistant to quantum attacks. Their drawback is proof size, which is larger than for SNARK systems, so Starknet aggregates many blocks into one proof through recursive proving to spread the verification cost.
The table below follows one transaction from submission to final settlement.
| Stage | What happens | Typical timing |
|---|---|---|
| Submission | User signs and sends a transaction to the sequencer | Instant |
| Sequencing | Sequencer orders, executes and includes it in a block | Seconds |
| Proving | Prover builds a STARK proof covering many blocks | Minutes to hours |
| Data posting | State differences are published to Ethereum as blob data | With the proof batch |
| Verification | Ethereum verifier contract accepts the proof and updates the state root | Final on Ethereum |
Starknet publishes state differences, the changed storage values, rather than full transaction data. Since the Dencun upgrade introduced Proto-danksharding, this data travels in blobs, which sharply reduced fees for users.
Cairo and the Starknet execution environment
Starknet does not run the Ethereum Virtual Machine; it runs the Cairo virtual machine, which was designed so that every step of a program can be proved efficiently. Cairo is a Rust-inspired language that compiles to an intermediate representation called Sierra, which guarantees that even failing transactions can be proved and charged.
This design choice is the main source of Starknet’s performance and also its main barrier to adoption. Solidity contracts cannot be deployed directly, so developers must rewrite or transpile code and learn new tooling. In exchange, applications can use computation patterns that would be too expensive on the EVM, such as on-chain games and complex verification logic.
| Property | Starknet | EVM-equivalent rollup |
|---|---|---|
| Virtual machine | Cairo VM | Ethereum Virtual Machine |
| Contract language | Cairo | Solidity or Vyper |
| Accounts | All accounts are smart contracts | Externally owned accounts plus contracts |
| Porting existing dApps | Requires rewriting | Usually redeploy with few changes |
| Proving efficiency | High, VM built for proofs | Lower, EVM not built for proofs |
Native account abstraction on Starknet
On Starknet, every account is a smart contract wallet with its own validation logic, a property known as native account abstraction. There are no externally owned accounts controlled directly by a single private key, as on Ethereum.
Because validation is programmable, wallets can offer multisignature control, social recovery, session keys for games and transaction batching without extra infrastructure. Paymasters can also cover fees for users, so a newcomer can transact without first acquiring the fee token. The trade-off is that account contracts must be carefully audited, since a bug in validation logic can expose funds.
Fees on Starknet can be paid in STRK or ETH, depending on the transaction version. The fee covers two costs: execution and proving on Layer 2, and the share of blob space used to publish data on Ethereum. As a result, fees rise when Ethereum blob demand spikes, even if Starknet itself is quiet.
Security model and decentralization status
Starknet’s correctness rests on mathematical proofs, but its liveness and censorship resistance depend on components that are still being decentralized. For years, a single sequencer operated by StarkWare ordered all transactions, which means it could delay or exclude them even though it could not forge invalid state.
The roadmap moves sequencing and block production toward STRK stakers, with staking introduced in phases from 2024. Upgrades to the core contracts are governed by a security council with time delays. Readers should treat the exact decentralization stage as a moving target that changes with each protocol version.
| Component | Main risk | Mitigation |
|---|---|---|
| Prover | Bug in the proof system | Audits, open-source verifier, formal methods |
| Sequencer | Censorship or downtime | Planned staking-based decentralized sequencing |
| Upgrade keys | Malicious contract upgrade | Security council and exit time delays |
| Data availability | Data withheld from users | State differences posted to Ethereum |
Starknet among other scaling approaches
Starknet competes with optimistic rollups such as Arbitrum, Optimism and Base, and with other ZK-rollups such as ZKsync. The decisive difference from optimistic rollups is withdrawal finality: an optimistic rollup assumes transactions are valid and waits about seven days for a fraud proof challenge, while Starknet finalizes once a validity proof is verified, typically within hours rather than days.
- Versus optimistic rollups: faster finality and no fraud-proof window, but more complex cryptography and a non-EVM environment.
- Versus validium: Starknet keeps data on Ethereum, while a validium stores it off-chain for lower cost and weaker data guarantees.
- Versus sidechains: a sidechain such as early Polygon PoS has its own validator security, while Starknet inherits Ethereum security for state correctness.
- Versus appchains: StarkWare technology also powers application-specific chains, but Starknet itself is a general-purpose network.
In everyday language
Ethereum is secure but busy, so each transaction is expensive. Starknet works like an express office next to a strict notary. It handles thousands of transactions on its own, then hands the notary a short mathematical receipt proving that every one was done correctly.
The notary checks the receipt in seconds instead of redoing all the work. The key idea is that users get cheaper and faster transactions while the final record still enjoys Ethereum-level security.
Seen in the real world
A small studio builds a fully on-chain strategy game in which every move, resource and battle result is stored on the blockchain. On Ethereum mainnet, each move could cost several dollars, so the studio deploys on Starknet, where a move typically costs a fraction of a cent.
The studio writes its game logic in Cairo and uses session keys so players approve a play session once instead of signing every move. A paymaster covers fees for new players during onboarding. Thousands of moves per hour are bundled into blocks and proved to Ethereum, so the game remains verifiable and tamper-resistant while feeling as responsive as a conventional online game.