StarkNet makes Cairo 1.0 open source in step toward greater community control

Published at: Nov. 25, 2022

Zero-knowledge (ZK)-Rollup tech company StarkWare has officially open sourced its new programming language compiler, Cairo 1.0, which will soon be supported on Ethereum layer-2 scaling solution StarkNet in Q1 2023. 

The news was announced by StarkWare — the company behind StarkNet — in a Nov. 25 Twitter post. StarkWare’s rollup technology and recursive proofs offer the potential to compress millions of transactions on L2 into a single transaction on Ethereum, however the project has been criticized for maintaining control over its IP, not least of all by its more open source focused competitor zkSync.

StarkWare described open sourcing Cairo as a “milestone move” in its quest to hand over more control and intellectual property rights to its community and developers. Cairo is a programming language written specifically to harness the power of zk rollups and validity proofs.

The day has come: a first look into Cairo 1.0, fully open-source This is a big step towards open-sourcing the StarkNet stackYou can now get familiar with the new syntax, compile and run simple programs locally. #StarkNet support is coming soonhttps://t.co/0tdZDhopEP

— StarkWare (@StarkWareLtd) November 24, 2022

StarkWare stated that developers can now experiment with Cairo 1.0 by compiling and executing simple applications until it is fully supported on StarkNet in Q1 2023.

At that point Cairo 1.0 will enable faster feature development and allow for more community involvement, according to Starkware Exploration Lead and former Ethereum core developer Abdelhamid Bakhta.

“We’re continuing to open source the StarkNet tech stack, beginning with Cairo 1.0. We’re doing this in order to fulfill StarkNet's vision as a public good that anyone can use, and that the community can constantly improve,” he said.

“On a practical level this maximizes transparency about our code, and our coding process. And it strengthens the community’s ability to find bugs and improve the compiler. With each aspect of the tech stack that is open sourced, this sense of community involvement will grow and grow.”

Once in production, Cairo 1.0 will also enable blockchain developers to write and deploy smart contracts to StarkNet, according to StarkWare’s Medium post.

StarkWare added that because Cairo 1.0 makes every computation “provable,” StarkNet’s censorship resistance properties will be strengthened and it’ll also be better positioned to respond to Denial-of-Service attacks.

StarkWare’s STARK tech stack powers a number of Web3 projects including decentralized exchange (DEX) platform dYdX (although this is moving to its own chain on Cosmos), NFT-platform Immutable X and blockchain interoperability protocol Celer Network.

Related: 60 million NFTs could be minted in a single transaction — StarkWare co-founder

StarkNet has taken a gamble by using Cairo to speed up its solution, which is not natively compatible with the Ethereum Virtual Machine (EVM). However Ethereum software tooling firm Nethermind built a transpiler called Warp that converts Solidity code into Cairo code.

Competitor zkSync’s EVM-compatible mainnet is in the process of being launched.

But despite taking a more difficult path, StarkWare founder Eli Ben-Sasson recently told Cointelegraph that using custom built programming language like Cairo, as opposed to Solidity, was the only viable way to take full advantage of Ethereum scaling afforded by ZK rollups:

“I’m willing to bet that you won’t see a full blown ZK EVM that can put a million transactions inside a single proof on Ethereum. As we can easily do today and have been doing for months and years.”

The news comes as Starkware also recently deployed the new StarkNet token (STRK) on Ethereum on Nov. 17, which will be used for staking and voting purposes in addition to paying fees on the network.

Tags
Related Posts
Ethereum co-founder Vitalik Buterin shares vision for layer 3 protocols
While Ethereum-based layer-2 solutions have been focused on hyperscaling the network, Ethereum co-founder Vitalik Buterin believes layer 3s will serve a far different purpose — providing “customized functionality.” Buterin shared his thoughts in a Sept. 17 post, providing three “visions” of what layer 3s will be used for in the future. The Ethereum co-founder said a third layer on the blockchain makes sense only if it provides a different function to layer 2s, which have been used mainly to enhance scaling via Zero-Knowledge (ZK) Rollup technology. “A three-layer scaling architecture that consists of stacking the same scaling scheme on top …
Adoption / Sept. 20, 2022
Decentralized exchange Uniswap v3 gets 'Warp'ed' onto StarkNet
Ethereum development company Nethermind has announced it has “transpiled and compiled” decentralized exchange (DEX) Uniswap v3 on “Warp” — a project designed to allow Ethereum users to swap tokens on the more scalable Ethereum layer-2 network StarkNet. The milestone was announced by team lead Jorik Schellekens in an Oct. 9 Medium post. Nethermind describes Warp as a “Solidity to Cairo Transpiler” which enables Ethereum-based projects written in Solidity to transition its codebase onto StarkNet, allowing them to capitalize on cheaper fees. Transpiling is the process of taking source code written in one programming language and transforming it into another language …
Adoption / Oct. 10, 2022
Coinbase new blockchain seen as 'massive confidence vote' for Ethereum
The Ethereum community appears to have taken a bullish view of Coinbase’s newly announced layer-2 network, Base, which has been described as a “massive confidence vote” and a “watershed moment” for the blockchain network. Secured on Ethereum and powered by layer-2 network Optimism, Base aims to eventually become a network for building decentralized applications (DApps) on the blockchain. The layer-2 network is currently in its testnet phase, according to Coinbase CEO Brian Armstrong. 0/ Hello world. Meet Base, an Ethereum L2 that offers a secure, low-cost, developer-friendly way for anyone, anywhere, to build decentralized apps. Our goal with Base is …
Adoption / Feb. 24, 2023
Bitcoin AUM falls 9.5% to record largest monthly pullback since July
The Bitcoin AUM market fell 9.5% to $48.7 billion in November, marking the year’s largest month-on-month pullback since July, according to a CryptoCompare report. On the other hand, altcoin-based crypto funds such as ETH saw their AUM rise 5.4% to $16.6 billion. While Bitcoin’s (BTC) position as a viable hedge against fiat inflation continues to attract investors, new data reflects a change in sentiment as Ethereum (ETH) and other cryptocurrency products pick up steam against falling Bitcoin assets under management (AUM). As shown in the above graph, the total AUM across all digital asset investment products has fallen 5.5% to …
Adoption / Nov. 28, 2021
Ripple wants to bring Ethereum smart contracts to the XRP Ledger
Ripple users may be able to interact with Ethereum-compatible decentralized applications (DApps) in the future following the launch of a test phase of Ripple’s new XRP Ledger sidechain. The launch of the sidechain was shared in a Tweet by blockchain development firm Peersyst Technologies on Oct. 17, noting that the new sidechain is compatible with Ethereum Virtual Machine (EVM). This means that Ripple users could eventually have access to decentralized applications like Uniswap (should it port over) and Web3 wallets such as Metamask and XUMM Wallet. The new sidechain also comes with a cross-chain bridge built to transfer XRP and …
Adoption / Oct. 18, 2022