Author: Dewhales Research Source: substack Translation: Shan Ouba, Golden Finance

AltLayer has come a long way from aggregating boxed zk solutions to launching a proprietary restaking-based technology to scale and accelerate web3 progress. Let’s dive into this topic with real-world examples!

Table of contents

  1. introduction

  2. Rollup Center

  3. Re-collateralized Rollups

  4. Relevant participants

    • 4.1 Partners and Projects Using AltLayer Technology

    • 4.2 Integration Examples

  5. Token Economics

  6. Who is behind AltLayer?

  7. supporter

  8. in conclusion

1 Introduction

In the evolving blockchain space, scalability and customization have become major concerns for application developers. With the popularity of ZK Rollups and Optimistic Rollups, there is a clear need for solutions that allow developers to scale their applications while maintaining flexibility and control.

ZK Rollups and Optimistic Rollups have made significant progress in the blockchain field in recent years, as they can significantly improve the throughput and efficiency of existing blockchains such as Ethereum. However, despite their promise, these rollup technologies also bring their own set of challenges, especially in terms of accessibility, customization, centralization of orderers, soft finality, liquidity fragmentation, etc.

This is where AltLayer comes in. Unlike existing options currently available to application builders, AltLayer offers Rollups-as-a-Service for developers seeking hands-on control over their rollup solutions. The RaaS service allows developers to directly manage their rollups, providing a high degree of customization and control over their blockchain infrastructure.

However, what really sets AltLayer apart is its new re-staking Rollup framework, which introduces re-staking into rollups. RaaS combined with Re-Staking's Rollup framework enables anyone, including individuals with little to no coding experience, to create their own custom blockchain execution layer in minutes and bring additional security and decentralization to their rollups. Centralization. This remarkable feature bridges the gap between technical and non-technical users, making AltLayer an option for a wide range of application builders.

In this article, we will dive deeper into the mechanics and potential of AltLayer and explore how it can become a Rollups-as-a-Service solution in the rapidly evolving blockchain space.

2. Rollup Center

AltLayer is a Rollup-as-a-Service protocol that allows developers to launch their own Layer 2 (imagine launching a version of Optimism, zkSync, Arbitrum, etc. specifically for applications). AltLayer provides:

  • SDK for developers who want to manage their own rollups

  • A no-code dashboard that allows anyone to generate a customized executive layer in minutes with a few simple clicks

Basically, AltLayer is a decentralized rollup hub that allows individuals to launch their own L2 solutions based on their needs. However, questions may arise regarding the types of execution methods available, rollup speeds, general/special purpose rollups, etc.

AltLayer allows launching ZK Rollups and Optimistic Rollups with EVM, WASM, or other runtimes for general purpose or application specific purposes. Users can fully customize their rollups according to their needs and preferences.

As mentioned above, AltLayer allows for rapid deployment in minutes, similar to deployment on a regular chain. AltLayer rollups do not need to be secured by hundreds of validators (such as Cosmos SDK) because they use the underlying chain (Layer 1) as a security layer.

With a modular design at its core, AltLayer allows end users to customize their rollup solutions based on their preferences. This flexibility extends to the choice of runtime environment, including options such as EVM, WASM, etc. In addition, users are free to choose their preferred data availability layer, whether it is an L1 blockchain or a data layer like Celestia. AltLayer also allows users to choose their preferred settlement layer, such as Ethereum or Arbitrum One.

The main problem faced by most rollups is the decentralization of sorters (the ordering and processing of transactions). However, AltLayer is operated by a decentralized network of sorters. These sorters are selected from a network of sorters called SQUAD based on their stake and some randomness. We will discuss SQUAD in detail in the next section.

Finally, a core feature worth mentioning is hierarchical finality. Traditional blockchains typically classify blocks as finalized or unfinalized. However, AltLayer takes a more nuanced approach to block finalization, implementing a tiered system. This tiered system enables end users to determine the finality of a transaction based on the security budget they choose. As a block passes through these different tiers of finality, the confidence in the finality gradually increases. The confidence in the finality is lowest at the execution level and culminates at the rollup level.

AltLayer’s final confirmation process includes three different levels: execution level (suitable for low security budgets), verification level (suitable for medium security budgets), and rollup level (suitable for high security budgets).

  • Execution-level finality: The transaction pool contents are collected and organized into blocks by block producers. These blocks are then submitted to the consensus protocol. Once the consensus protocol verifies and accepts these blocks and the transactions they contain, they receive finality at the execution level.

  • Validation-level finality: Once a block produced and validated by the block producers and consensus protocol is validated by validators, validation-level finality is achieved. Further, stronger finality occurs when more validators are able to confirm or reject the update, and more confirmations increase the likelihood of correctness.

  • Rollup-level finalization: Blocks cleared by arbitration consensus will go through a challenge phase, where anyone can run their validator and participate in the validation. If a discrepancy is found in the on-chain proposal, the challenger can raise a challenge. A successful challenge will invalidate subsequent blocks and trigger a state rollback. An unsuccessful challenge will result in the challenger's stake being slashed.

AltLayer also offers another type of rollup, called Flash Layers, which are better suited to address scalability issues. Flash Layers are one-off, application-customized rollups with optional fraud proofs.

With Flash Layers, dApp developers can:

  • Quickly launch a fast and scalable rollup secured by Layer 1

  • Use rollup when needed to prevent Layer 1 congestion

  • Rollups are processed by performing “final settlement” on Layer 1

This significantly optimizes resource utilization, as the execution layer and its resources are only called upon when the dApp experiences high traffic exceeding Layer 1 limits. When demand decreases, dApps can seamlessly return to Layer 1 operations.

Potential use cases include NFT minting events, gaming, event ticketing, and more.

3. Re-collateralized Rollups

This is a new concept proposed in collaboration with EigenLayer. It consists of a set of vertically integrated Active Verification Services (AVS) created on-demand for a given rollup bundle. Together, these AVS provide three key services to rollup applications: decentralized ordering, state correctness verification, and faster finality. This helps with rollup decentralization, security enhancements, and interoperability between rollups, while leveraging Ethereum's trusted network through re-staking. The updated rollup bundle consists of three modular components, called:

  • VITAL (AVS for decentralized rollup state verification)

  • MACH (AVS for Fast Finality)

  • SQUAD (AVS for Decentralized Sorting)

Let's take a closer look at these components:

VITAL acts as an integrated validation layer for rollup bundles. It consists of a network of AVS-registered operators who validate all new states proposed by SQUAD operators. VITAL operators detect invalid state roots and can challenge SQUAD operators using a bipartite protocol. Basically, VITAL is a network of operators that validate new states. Unlike the initial confirmation provided by rollup orderers, the confirmation provided by VITAL is much stronger because of the economic incentives behind it. This allows assets to be withdrawn immediately. VITAL can also be used with optimistic and ZK proofs, where VITAL operators can ask SQUAD operators to generate ZK proofs for disputed state roots.

MACH aims to solve the slow finality problem of rollup by validating rollup blocks and ensuring that the blocks are valid according to the rollup's state transition function. Once an invalid block is detected, MACH operators will issue an alert. If enough operators agree on the alert, it can be upgraded to upstream dApps. The MACH service will be available to end users as an RPC endpoint, reporting whether a specific rollup block is considered final. This RPC endpoint can be integrated into any aggregated decentralized application, providing faster and more reliable confirmations. MACH will also help exchanges, bridges, light clients, and other auxiliary services that need streaming access to rollup states and blocks to provide their products and services.

SQUAD enables nodes operated by EigenLayer AVS operators to register their interest in being rollup orderers. Once the required number of orderers have staked the minimum collateral, these orderers can start ordering transactions for the rollup. To facilitate orderer discovery, SQUAD is designed as a network of nodes that any EigenLayer AVS operator can join, effectively acting as a full blockchain with WASM and EVM execution environments. Nodes in SQUAD are called validators, which is typical in any PoS network.

4. Relevant Participants

4.1 Partners and Projects Using AltLayer Technology

AltLayer has numerous partners, most of which are of an integration nature, involving using AltLayer's tech stack or integrating other projects' tech stacks into AltLayer. This is a strong indication of providing a Rollup-as-a-Service product. As of September 2023, AltLayer has multiple partners and integrations: EigenLayer, Sovereign SDK, HyperLane, Celestia, Orbiter Finance, Espresso Systems, Radius, Double Jump.Tokyo, Arbitrum Orbit, and other projects associated with AltLayer include: Another World, My Square, Connext, MatchBox, Oveit, BendDAO, Skyark, Port3, Degame, Uforica, Evolv, Chirpley, StratisX, RNS.ID, 3UP, Evolv, Fobo.club, Automata, MySquare NFT, TaskOn, and DF Archon. As of the end of May 2024, AltLayer has a large number of partners and integrations, with weekly blog announcements and an ecosystem section with 120 projects across various categories.

4.2 Integration Examples

EigenLayer is an Ethereum re-staking protocol. AltLayer and EigenLayer have collaborated on the concept of re-staking rollups, as mentioned above. AltLayer’s current re-staking rollups running on the EigenLayer mainnet include:

  • Polyhedra: ZkBridge from the Polyhedra Network has made significant progress in the blockchain industry, providing a robust, efficient, and secure cross-network interaction protocol for a variety of Layer 1 and Layer 2 networks. With the integration of zkBridge, AltLayer's rollups can now ensure seamless compatibility with more than 30 different Layer 1 and Layer 2 networks. As part of the collaboration, AltLayer plans to join Polyhedra AVS through re-staking to support Bitcoin zkBridge.

  • Injective: Integrating AltLayer’s MACH for inEVM, enabling deployment and integration of smart contracts compiled to EVM bytecode in the Injective ecosystem while ensuring composability through WASM/EVM. AltLayer’s MACH will provide re-staking-based security in inEVM, benefiting applications running on inEVM.

  • Brevis is a zero-knowledge coprocessor that allows smart contracts to read and utilize the complete historical data of any chain and perform custom calculations in a trustless manner. Using Brevis, developers can create a variety of data-driven functions. AltLayer's restaking rollups will be enhanced with the Brevis coprocessor. By providing the Brevis coprocessor, developers on AltLayer can reliably perform on-chain historical data calculations and build data-driven decentralized applications that respond to dynamic data inputs.

  • The Sovereign SDK is an interoperable and scalable rollup package ecosystem that can run on any blockchain. Their SDK is an open source toolkit for creating zk and optimistic rollup packages. The Sovereign SDK is used by protocols such as Haun, 1kx, EigenLayer, and Celestia. In AltLayer, Sovereign is integrated to facilitate rollup package deployment within the Rollups-as-a-Service (RaaS) ecosystem.

  • HyperLane simplifies the deployment of functional compatibility in its blockchain. With permissionless interoperability, users can deploy HyperLane anytime, anywhere. As a result, blockchain creators and developers can enjoy greater autonomy and quickly make their products available across chains. AltLayer has partnered with Hyperlane to provide permissionless compatibility within the AltLayer ecosystem. In addition to built-in merge bridges, projects using the AltLayer technology stack can also leverage Hyperlane for deployment and communication across merge services.

  • Celestia is a modular blockchain that is being used by AltLayer for Data Availability (DA) to address the challenges of data availability and reliable state verification. AltLayer is configured to support Celestia's DA layer as one of the rollup package options created through the AltLayer merge dashboard, thereby reducing the cost required for data availability. As part of the integration, AltLayer developers will extract chain data from Celestia, compress it, and upload it to the Celestia network. This will allow the state of the rollup to be fully reconstructed using Celestia data.

  • Nebra: AltLayer has partnered with Nebra to integrate its advanced Universal Proof Aggregation (UPA) technology into its rollup solution. Nebra’s UPA is the first production-ready Universal Proof Aggregation protocol designed to achieve over 10x reduction in gas costs and composability for zero-knowledge proof verification.

  • Orbiter Finance acts as a bridge between Ethereum and L2 rollups. Orbiter works with AltLayer to solve the liquidity fragmentation problem of L2 through functional compatibility tools.

  • Espresso Systems is integrated into the AltLayer stack, adding Espresso Sequencer, a decentralized sequencer solution. Developers can choose whether to use AltLayer's decentralized verification solution and/or Espresso Sequencer when deploying their rollup packages within the AltLayer stack. This partnership provides application developers with an easy way to launch a scalable and customizable L2 layer, while ensuring that future users of the merged package benefit from the properties provided by the decentralized sequencer.

  • Radius redefines the decentralization of rollup packages through MEV prevention, censorship resistance, and financial stability. Together with cryptographic-based ordering, this protects users from censorship and MEV risks. With the integration of Radius and AltLayer, developers will find the dual benefits of the user-friendly and efficient AltLayer platform for creating rollup packages, and the cryptographic-based ordering provided by Radius.

  • Double jump.tokyo: A leading Japanese blockchain gaming and NFT startup, partnered to integrate AltLayer’s comprehensive technology stack into Oasys, a blockchain optimized for game development created by a group of developers (including Double jump.tokyo). Notably, AltLayer generally embraces the web3 gaming narrative and caters to clients in this space. AltLayer offers two types of rollup packages for game developers: temporary and durable. Temporary rollup packages are ideal for event-driven applications that experience rapid demand surges in a short period of time, such as mini-games or turn-based games. On the other hand, durable rollup packages are best suited for games with longer lifecycles. Notably, AltLayer’s rollup package (flash layer) was previously used to host popular fully networked games such as Dark Forest, which attract hundreds of thousands of transactions per day. AltLayer positions Flash Layer as a solution for games.

  • Arbitrum Orbit is a permissionless solution recently announced by the Arbitrum Foundation that enables developers to create fully customizable Layer 3s secured by Arbitrum One. AltLayer has begun integrating support for Arbitrum Orbit and its tech stack on its no-code startup dashboard and will be ready in Q2 2023 as the first rollup package provider to support Arbitrum Orbit.

  • Deri Protocol is a way to trade derivatives using DeFi: hedging, speculation, arbitrage, all on-chain. With Deri Protocol, trades are executed according to the AMM paradigm and positions are tokenized as NFTs for easy integration with other DeFi projects.

  • Automata is a blockchain middleware provider backed by Binance Labs, Jump Crypto, and others. They recently launched a modular validation layer where validation happens entirely on-chain for off-protocol computations.

  • Cometh is a French gaming studio that has worked with high-profile clients such as the French National Lottery (FDJ), Lacoste, FanLive Rugby, and Life Beyond Studios to support their Web3 needs.

5. Token Economics

The functions of AltLayer tokens include the following aspects:

  • Financial Security: ALT tokens will be used along with re-collateralized assets to provide financial security. This security can be slashed if malicious behavior is detected.

  • Governance: ALT token holders can vote on governance decisions.

  • Protocol Incentives: Operators in the AltLayer ecosystem can earn ALT tokens as rewards for their services.

  • Protocol Fees: Network participants will need to pay ALT tokens for in-network services.

Additionally, AltLayer provides token wrappers - reALT and stALT:

  • reALT: stands for "re-staked ALT token", is an ERC20 interest accumulating token that records the holder's ALT staking and accumulates rewards through compounding. reALT tokens are issued to users who stake ALT in the main staking pool. It is a reward accumulating token that accumulates re-staking rewards.

  • stALT: This is an ERC1155 token that represents the holder’s stake in the main staking pool. stALT tokens can be manually converted to reALT through the portal.

6. Who is behind AltLayer?

The AltLayer team is mainly composed of Zilliqa core team members and developers, most of whose experience can be traced back to 2017, indicating that they have a strong technical background. In addition, the team members enjoy a good reputation in the crypto industry.

  • Yaoqi Jia, CEO: Yaoqi was selected as one of Forbes Asia's "30 Under 30" in 2019. He received his PhD in Computer Science from the School of Computing at the National University of Singapore in 2017. Yaoqi led the design and creation of the first public blockchain platform with full sharding capabilities, including network, transaction, and smart contract sharding. He also partnered with Xfers to launch the StraitsX stablecoin project for Southeast Asia, and has participated in blockchain projects with Mindshare, Singapore Exchange, Hg Exchange, and others. Prior to joining Zilliqa, Yaoqi worked at Parity Technologies.

  • Amrit Kumar, COO: Amrit holds a Master’s degree in Information Systems Security, Cryptography and Coding. He received his PhD in Computer Science from Grenoble Alpes University in France and worked at the Grenoble Informatics Laboratory (Inria). He co-founded and served as Chief Investment Officer of Zilliqa and is currently the COO of Alt Research, a research firm associated with AltLayer.

  • Tan Jun Hao, Head of Product Engineering: Former Zilliqa co-founder and core developer, Tan Jun Hao is very active in the Zilliqa community covering technical aspects and the DeFi ecosystem and its status. He has been involved in the computer security field since 2019 and holds a Bachelor of Science in Computer Science from the National University of Singapore, focusing on Information Security.

  • Antonio Nunez, Platform Development Lead: Antonio holds a bachelor’s degree in Physics and Computer Engineering from Ateneo de Manila University, has extensive development experience in various languages ​​and tools since 2006, and is a former Zilliqa co-founder and senior engineer.

  • Dorothy Liu, Head of Growth: Dorothy holds a Bachelor’s degree in International Business Management and a Master’s degree in Marketing. She has worked as a consultant at Deloitte and as a Vice President at OSL. With experience at well-known companies such as Synthetix and HashKey Trading, Dorothy has an excellent understanding of the inter-layer mechanisms of blockchain.

  • Aparna Narayanan, Head of Communications: Previously working in Public Affairs and Strategic Communications at APCO Worldwide, Aparna holds a Bachelor’s degree in Economics, Management, Political Science, and Public Policy. She entered the crypto space in 2019 and rose through the ranks from Community Manager to Head of Communications at Zilliqa.

7. Supporters

AltLayer is primarily backed by backers from the Tier 1 category and individuals with a good reputation within the crypto industry: Polychain Capital, Breyer Capital, Jump, Binance Labs Fund, Hashkey Capital, Bankless Ventures, IOSG Ventures, Primitive Ventures, TRGC, Mask, OKX Ventures, DAO 5, and notable figures such as Circle co-founder Sean Nevile, Gavin Wood, a16z general partner Balaji Srinivasan, Synthetix’s Kain Warwick, Messari’s Ryan Selkis, Synthetix’s Jordan Momtazi, and Bodhi Ventures.

8. Conclusion

In the last cycle of the crypto industry, projects aimed at increasing fragmentation, striving to dominate the market in the battle for liquidity and users. However, now more and more people are aware of the importance of cooperation. Each project has its advantages and disadvantages and focuses on specific user categories and developers. In recent years, a clear trend of aggregation has emerged - dApps, different strategies, liquidity and modular blockchains.

AltLayer is a project in line with the current era, aiming to provide developers with the greatest convenience without spending a lot of resources, not only to launch their own network, but even to implement it from the SDK. In addition, AltLayer provides its own actual technical solutions for launching rollups, and provides the ability to use other technologies (including modular technologies), positioning its product as Rollup-as-a-Service.

Additionally, AltLayer has successfully integrated with new technologies and incorporated them into its technology stack. This was demonstrated in its integration with EigenLayer - AltLayer quickly provided an AVS-based solution and seamlessly integrated its rollups product into it.