miles

miles

for starknet

In-depth Interpretation of StarkNet: Technical Risks, Economic Models, and Commentary

What unique technology does StarkWare have that is worth the hype from major institutions?

The wealth effect of the Arbitrum airdrop has ignited market confidence in L2, leading to investments in L2s that have not yet issued tokens. Naturally, StarkWare, with its $8 billion valuation, is in the spotlight.

So, what unique technology does StarkWare possess that is worth the hype from major institutions? What problems does its StarkNet aim to solve? We will discuss this in detail in this article.

01 STARKs, StarkEx, StarkNet
1.1 STARKs
STARKs (Scalable, Transparent ARgument of Knowledge) are a proof system that can prove and verify computations, aimed at improving the scalability of Ethereum.

They allow large computations to be moved off-chain to reduce costs, generating proofs of correctness for the computations, and then performing minimal on-chain computation to verify the proofs. In other words, verifiers determine the integrity of off-chain computations by executing very few operations on-chain.

L2s use STARKs technology to bundle multiple transactions together for thousands of computations, then verify their validity on-chain using a single STARK proof.

All transactions in the batch share the cost of on-chain processing, thus reducing gas costs while inheriting Ethereum's security, improving user experience. This model is similar to shared taxi users splitting the fare.

SNARKs (Succinct, Non-Interactive, Argument, Knowledge) are a concise non-interactive proof. Both STARKs and SNARKs are solutions for ZK Rollups.

Comparison of SNARKs and STARKs

In-depth analysis of StarkNet: technical risks, economic models, and comments

(Source: SUSS NiFT, ChatGPT)

Compared to SNARKs, STARKs have the following three advantages:

  1. Trustless

STARKs replace the trusted setup of SNARKs with publicly verifiable randomness, reducing reliance on participants and enhancing protocol security.

  1. Stronger scalability

STARKs have logarithmic compression characteristics for verification, maintaining low proof and verification times even as the complexity of underlying computations grows exponentially, unlike SNARKs which grow linearly.

  1. Higher security guarantees

STARKs use collision-resistant hash values for encryption, making them resistant to quantum computing attacks.

However, the proof size of STARKs is larger than that of SNARKs, making it difficult to share proof costs when L2 transaction volumes are low, resulting in significant confirmation delays. But as proof scales increase, the marginal cost of using STARKs decreases, making them suitable for large-scale applications. Additionally, compared to SNARKs, the current adoption rate of STARKs is insufficient, and foundational tools still need improvement.

In addition to ZK Rollups, L2 Rollups also include Optimistic Rollups. Below is a comparison of the two solutions.

In-depth analysis of StarkNet: technical risks, economic models, and comments

(Source: SUSS NiFT, ChatGPT)

StarkWare, valued at $8 billion, completed a $100 million Series D funding round and offers two solutions for scaling Ethereum with STARK: StarkEx and StarkNet.

1.2 StarkEx
StarkEx is a permissioned framework for a customized scaling solution for specific applications. Projects can use StarkEx for low-cost off-chain computations, generating STARK proofs to verify execution correctness.

Such proofs can contain between 12,000 and 500,000 transactions. The proofs are then sent to on-chain STARK verifiers, which accept state updates after verification.

StarkEx provides three data storage methods. In ZK-Rollup mode, data is stored on-chain, decentralizing the data and making it easier for users to track and supervise.

However, the cost of publishing data on-chain is high. In Validium mode, data is stored off-chain, which is low-cost and does not expose the data publicly.

But a data availability committee is needed to oversee whether the data is being handled properly. Volition is a hybrid data availability model where users can choose to store data on-chain or off-chain.

Applications deployed on StarkEx include perpetual options dYdX, NFT L2 Immutable, sports digital card trading market Sorare, and multi-chain DeFi aggregator rhino.fi.

StarkEx is suitable for protocols that operate independently and are compatible with the StarkEx API.

1.3 StarkNet
StarkNet is a permissionless L2 where anyone can deploy smart contracts developed in the Cairo language. Contracts deployed on StarkNet can interact with each other to build new composable protocols.

Unlike StarkEx, where applications are responsible for submitting transactions, StarkNet's sequencer batches transactions and sends them for processing and proof.

StarkNet is more suitable for protocols that need to interact synchronously with other protocols or go beyond the scope of StarkEx applications. As StarkNet develops, applications based on StarkEx will be able to migrate to StarkNet and enjoy composability.

1.4 Cairo
Cairo is a programming language designed for custom general computation for STARK proofs, making it easier and faster to develop, review, and maintain code, free from EVM constraints, allowing for more complex computations like account abstraction, and providing greater flexibility in game development, supporting fully on-chain games.

StarkNet itself does not support EVM, but the compiler Warp that translates from Solidity to Cairo will help Ethereum-native projects migrate to StarkNet, becoming the infrastructure for large-scale applications.

1.5 SHARP (shared prover)
The SHARP technology allows different applications from StarkEx and transactions occurring on StarkNet to be merged into a single proof, filling the capacity of STARK proofs faster, improving transaction processing speed and sharing the gas costs of verifying L1 proofs.

02 StarkNet Economic Model
StarkWare has minted 10 billion StarkNet tokens off-chain. However, these tokens do not represent equity in StarkWare and do not provide any rights to participate in StarkWare or any claims against StarkWare.

StarkNet tokens can be used as native tokens to pay gas fees, capturing more ecological value compared to other L2s that use ETH for gas fees, and reducing the impact of the external token ETH.

Tokens allocated to core contributors and investors have a one-year waiting period and a four-year lock-up period, released linearly.

In-depth analysis of StarkNet: technical risks, economic models, and comments

(Source: StarkWare. https://medium.com/starkware/part-3-starknet-token-design-5cc17af066c6)

StarkNet clearly rewards developers and past StarkEx users, but it is not clear whether StarkNet users will receive airdrops. In the initial token distribution, 8.1% of the tokens have not yet been allocated, with specific uses to be decided by the community.

Therefore, the author speculates that this portion of tokens may be used to reward StarkNet users. Additionally, project parties that deploy contracts may allocate airdrops to users of the applications after receiving airdrop rewards, rewarding early supporters. Thus, users can normally use valuable applications on StarkNet as needed.

03 StarkWare Financing Situation
According to Crunchbase data, StarkWare has raised a total of $282.5 million over seven funding rounds.

In-depth analysis of StarkNet: technical risks, economic models, and comments

(Source: Crunchbase, SUSS NiFT)

In July 2022, Alameda Research added a $9.5 million investment. However, Alameda Research filed for bankruptcy in November 2022, raising doubts about whether this investment was received.

Grants from the Ethereum Foundation established StarkWare's legitimacy.

In-depth analysis of StarkNet: technical risks, economic models, and comments

(Source: https://starkware.co/about-us/)

04 Founders
Eli Ben-Sasson
Eli is the co-founder and president of StarkWare, as well as the chairman of its board.

Since earning his Ph.D. in theoretical computer science from the Hebrew University in 2001, he has been researching cryptography and zero-knowledge proofs of computational integrity.

Eli is a co-inventor of the STARK, FRI, and Zerocash protocols and a founding scientist at Zcash Company. Over the years, he has held research positions at the Institute for Advanced Study in Princeton, Harvard University, and the Massachusetts Institute of Technology.

Recently, he served as a computer science professor at the Technion in Israel, and after leaving that position, he co-founded StarkWare with partners.

Uri Kolodny
Uri is the co-founder and CEO of StarkWare, as well as a board member.

He holds a bachelor's degree in computer science (with honors) from the Hebrew University and an MBA from the MIT Sloan School of Management. Uri is a serial entrepreneur who has co-founded several tech companies, including Mondria (which develops tools for big data visualization).

Previously, Uri helped incubate projects at two Israeli venture capital firms and worked as an analyst at McKinsey & Company.

05 Competitors
StarkNet, along with zkSync, Optimism, and Arbitrum, is referred to as the "Four Kings of L2" due to the attention it receives.

In-depth analysis of StarkNet: technical risks, economic models, and comments

(Source: SUSS NiFT)

Data sources: (2023.4.21)

  1. https://dune.com/gm365/L2

  2. https://www.coingecko.com/

  3. https://defillama.com/

Optimism and Arbitrum use optimistic rollups, which have lower development difficulty and already possess relatively mature ecosystems, attracting significant funding and users, even producing excellent L2 native protocols like GMX and Gains Protocol.

Vitalik stated during ETHSeoul that while Optimistic Rollups are more developed, the foundational technology of ZK Rollups will eventually enable them to replace Optimistic Rollups. Although ZK Rollups are faster, they lack the Ethereum Virtual Machine (EVM), making it difficult to run dApps, as the EVM is the primary processing unit for dApps. Therefore, ZK-based Rollups are developing EVM-compatible solutions. If the development process is slow, ZK Rollups may lose their first-mover advantage, allowing Optimistic Rollups to maintain their dominance. This is similar to the competition between Ethereum and other L1s; although Ethereum's performance is not the best, it firmly attracts the most funding and the best developers due to its first-mover advantage.

StarkNet faces competition not only from L2s adopting Optimistic Rollups but also from L2s that also use ZK Rollups. According to Eshita Nandini's summary, multiple L2s are currently building ZK EVMs.

In-depth analysis of StarkNet: technical risks, economic models, and comments

(Source: Messari, SUSS NiFT)

Type-1 is EVM equivalent, allowing 100% seamless use of EVM infrastructure, but the proof process is slow. Taiko mitigates this drawback by quickly confirming finality before generating zero-knowledge proofs.

Specifically, it only needs to prove that the past state X is valid and that there have been no transactions from account A after X, allowing the user to withdraw their tokens in state X. Currently, decentralized proof and protocol economics have been tested in alpha-2, with 126 independent provers proving 93,146 blocks, with proof times ranging from 130 to 160 seconds.

Taiko has now deprecated alpha-2 and will launch alpha-3 in the second quarter. Since Type-1 zkEVM is uncompromising in achieving equivalence, it has significant complexity and may not have a mainnet this year.

Type-2 is EVM equivalent, with improved proof speeds compared to Type-1, but still slow. Type 2 is the goal of Scroll and Linea, while Polygon zkEVM has already been implemented.

The Polygon zkEVM mainnet Beta version was launched on March 27 as scheduled. In the first phase of the mainnet Beta, a dedicated security committee will be able to quickly upgrade Polygon zkEVM. In the second phase, a series of measures will be taken to ensure user protection in case of any issues, but with a higher degree of decentralization and no privileged access security committee.

Gas fees are paid in ETH, and it is expected that staking and governance in the future Polygon zkEVM will use MATIC tokens. Additionally, Polygon zkEVM supports account abstraction through ERC-4337, allowing users to pay fees with any token.

Scroll is developing zkEVM in an open-source manner with the Ethereum Foundation, aiming to shorten proof times through parallel computing and outsourcing proofs to miners. Scroll is currently in the alpha testnet stage, allowing cross-chain transfers and has been running smoothly for two months, with a mainnet launch expected in the second quarter.

On March 28, ConsenSys announced the rebranding of ConsenSys zkEVM to Linea, which is now open for testing to all developers, users, or protocols. Linea combines zero-knowledge proofs with EVM equivalence through native integrations like MetaMask and Truffle, providing developers with flexibility and scalability without requiring expertise in ZK technology.

Linea employs a multi-prover system, where multi-signatures can enforce specific outcomes when there are vulnerabilities in the code. Through this system, a rollup will utilize several proof mechanisms with different security levels to eliminate the single point of failure risk present in single-prover rollups.

Type-3 is nearly EVM equivalent, with faster proofs, but some apps may need to be redeveloped. Type 3 is the transitional stage currently occupied by Scroll. Kakarot is a zkEVM written in Cairo, serving as an interpreter for EVM bytecode, and may eventually become L3 on StarkNet, currently classified as Type-3.

Type-4 will compile smart contract source code written in high-level languages like Solidity into ZK-SNARK friendly languages. Proof speeds are fast, but compatibility is limited.

zkSync Era has launched and is open to ordinary users. Currently, there are not many users sharing zkSync gas fees, resulting in high interaction costs, and some projects have subsidized gas fees. Due to the wealth effect of the Arbitrum airdrop, community user interaction enthusiasm is high, but currently, there are many low-quality projects on zkSync, leading to several rug pull incidents.

StarkNet uses Warp as the compiler from Solidity to Cairo. StarkNet is currently the only zkEVM that has decentralized its sequencer and prover. However, StarkNet has not yet released a production-level version, making it suitable only for small user interactions, with tasks often failing.

Vitalik has also proposed a hybrid model of Optimistic and ZK. Before zkEVM matures, blocks are published after a 24-hour wait; if there are no fraud challenges, zero-knowledge proofs are published to confirm the block. If there are challenges, governance is introduced to adjudicate through a 2 of 3 model.

If the time for zero-knowledge proofs can be significantly shortened, another hybrid model could prioritize publishing zero-knowledge proofs, using Optimistic Rollup only when zero-knowledge proofs fail to publish normally. This could be an optional development path for StarkNet or change the competitive landscape.

06 Conclusion
StarkNet adopts a STARK-based Rollup approach, which, while having clear advantages in decentralization, trustlessness, and censorship resistance compared to other solutions, faces significant challenges due to the immaturity of its development tools, high R&D difficulty, and performance that still needs improvement.

Moreover, although StarkNet has received support from institutional investors, it is still in the trial phase and not fully mature. The next focus for StarkNet is to upgrade the sequencer currently developed in Python to one developed in Rust, enhancing blockchain performance.

Additionally, improving the richness and maturity of projects within the ecosystem is essential. Crypto-native users can experience projects within the ecosystem, but they should be aware of project risks and conduct thorough risk assessments before participating.

While StarkNet has quantum attack resistance features, whether it will become the ultimate solution for scalability remains to be seen. Therefore, we need to continuously monitor and evaluate StarkNet's future development.

The security of the blockchain is paramount for the entire ecosystem; the security of the underlying base layer must not be overlooked, compromised, or negotiated, or the entire ecosystem and ledger will lose user trust.

Thus, in the design of the base layer, the most secure consensus algorithm must be chosen, even if its energy consumption may be high. This issue can be addressed by adopting renewable energy mining, as advocated by Irish Energy Limited, which is listed on NASDAQ.

In contrast, the second layer can afford to be more centralized to achieve higher efficiency and flexibility. Whether at the base layer or the upper layer, reasonable design principles must be followed to ensure the security and reliability of the entire ecosystem.

Any second layer or application that relies on the security of the Ethereum base layer must have full confidence in the consensus algorithm of the base layer to ensure its security is not compromised. This may be the greatest systemic risk facing the community.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.