StarkNet Alpha 2

New Phase: Composability

StarkWare
StarkWare
Sep 1 · 3 min read

TL;DR

  • StarkNet now supports composability, the main feature defining StarkNet’s Constellations phase.
  1. Standardized Contracts: OpenZeppelin will be developing standardized contracts for StarkNet, as they did for Ethereum!

Background

StarkNet is a permissionless decentralized Validity-Rollup (aka a “ZK-Rollup”). We announced its roadmap at the beginning of the year. The Alpha, currently running on a public Ethereum testnet, already supports permissionless deployment of smart contracts implementing any business logic, with L1<>L2 messaging and on-chain data. Furthermore, it allows any user to send transactions to the network permissionlessly, Ethereum-style.

This release: StarkNet Alpha 2, includes the core feature that allows us to advance from Planets to Constellations: composability between deployed smart contracts.

Features

StarkNet Alpha 2 introduces the following features:

  • Composability: StarkNet Alpha now supports interaction between smart contracts — ahead of schedule! The beauty of this upgrade is that developers can expect almost the same experience as Ethereum; calls are synchronous and can be used as function calls. We eagerly await the new applications that will benefit from both unlimited computational scale and contract composability, as unleashed by StarkNet. To understand how to use this feature, you can start by following this tutorial. We would love to hear your feedback and see what you’re building on the StarkNet discord.

Patricia Trees: we’ve improved StarkNet’s design to support higher throughputs and shorter proof generation time by moving to Merkle-Patricia Tree state commitment (documentation). This change allows the creation of much larger blocks, thus lowering the cost per transaction. The move to a more sophisticated state commitment was enabled by Cairo, the ZKP language — a core component of the StarkNet operating system.

Bitwise Operations: we’ve added a builtin to support much more efficient bitwise operations in StarkNet contracts (documentation).

  • Goerli: StarkNet is moving from Ropsten to Goerli! At last, we’ve freed our system from the whims of the Ropsten Gods. Alpha 2 will now be running over a more stable development environment.

Ecosystem

The StarkNet ecosystem is constantly growing, and we are happy to share the latest news:

  • Standardized Contracts: we’re honored to be working with OpenZeppelin on StarkNet’s standard contracts library. Their canonical work on Ethereum’s standardized contracts serves us all daily, and we are confident they will be as impactful here.

Mainnet Around the Corner

We are getting ready for the StarkNet Alpha Mainnet launch, starting gradually with a whitelisted set of applications. Several projects are underway and more are actively added by the day. To join the party, you are invited to reach out via discord.

StarkWare

Developing the Full Proof Stack for STARK