StarkNet Alpha 2
- StarkNet now supports composability, the main feature defining StarkNet’s Constellations phase.
- We are releasing a testing framework for StarkNet — developers can now test their contracts locally and effectively.
- This release includes several notable performance improvements, such as support for Merkle-Patricia Tries and a builtin for bitwise operations.
- Ecosystem front:
- Standardized Contracts: OpenZeppelin will be developing standardized contracts for StarkNet, as they did for Ethereum!
- EVM->Cairo Compiler: the Warp team @ Nethermind demonstrated compilation of ERC-20 Solidity code to StarkNet contracts
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.
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.
- Local Testing Framework: you asked, and we delivered — a better testing framework. This will allow developers to expedite their dApp development by testing their StarkNet contract deployments and interactions locally — without any external dependencies. This version includes only L2 interaction, next versions will expand the functionality and ease of use. Check the tutorial here, and we would love to hear your feedback on that feature.
- Performance Improvements:
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.
- 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.
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.
- EVM->Cairo Compiler: Nethermind’s Warp team demonstrated transpilation of an ERC-20 contract from EVM bytecode to a StarkNet contract and deployment on StarkNet. This effort is moving quickly, and our next target is the transpilation of arbitrary smart contracts from Yul to Cairo.
- Maker-on-StarkNet: a proposal was submitted to the Maker DAO to implement the Maker protocol over StarkNet. The first phase proposes a DAI bridge from Ethereum to StarkNet with minting DAI on StarkNet to follow.
- StarkNet/Cairo Auditing Services: we are engaging multiple audit firms to provide StarkNet smart contract and Cairo programs auditing services.
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.