TL;DR
-
- Appchains are customizable L2s (potentially implemented as a future Layer 3 solution) that inherit the security of the layer they settle on.
-
- Appchains are another dish in Starknet’s extensive scaling buffet that brings another flavor to the range of Starknet’s scaling solutions, allowing dApps to optimize where and how they scale.
- Appchains can be built and operated using various stack options, including StarkWare’s services or other components in the Starknet stack – which now has more than 50 different providers.
Intro
Blockchain technology is characterized by continuous innovation, and one term that’s been gaining significant attention is ‘appchains.’
Appchains are tailor-made L2 networks designed for specific applications (or a group of applications), offering developers the freedom to fine-tune various aspects of these networks to align with their application’s requirements. Such requirements may be a different consensus mechanism, a data availability model, network configuration, a specific fee mechanism, and the use of your own token to collect fees, among others.
In this blog post, we’ll delve into the world of appchains, exploring what they are, how they differ from public L1s and L2 scaling solutions, and how they are poised to reshape the Ethereum ecosystem. But before diving into the specifics, it’s essential to understand the broader blockchain landscape.
Ethereum, L2s, Sidechains, and Appchains – What’s What?
Ethereum
The Ethereum blockchain functions as the base layer (also called L1, or Layer 1), for many L2 (Layer 2) solutions. This includes Starknet. Like any blockchain, Ethereum needs to balance between the three desirable properties: decentralization, security, and scalability. However, the Blockchain Scalability Trilemma posits that only two of these three qualities can be achieved within a single system. In Ethereum’s case, security and decentralization are prioritized over scalability.
L2s
An L2 is a network that is built on top of Ethereum (L1) and provides scalability while relying on Ethereum’s security. Starknet, launched by StarkWare in 2020, is an L2 Validity Rollup. Validity Rollups (also referred to as ZK-Rollups) are often deemed the most promising way to securely scale Ethereum. This opinion was also shared by Ethereum’s founder, Vitalik Bouterin, in this article.
Starknet processes a massive amount of transactions offchain and generates a STARK proof. The proof, along with the new updated state of things, is then submitted to and verified on Ethereum. Through this process, L2s like Starknet massively reduce the cost for each transaction and make Ethereum more accessible for all. You can read more about how STARK proofs are used to solve the Blockchain Scalability Trilemma in this article.

Sidechains
Unlike rollups, which rely on Ethereum for data and security, Sidechains are separate blockchains compatible with Ethereum’s L1 via a two-way bridge. Just as a physical bridge connects two existing locations, a blockchain bridge connects two separate ecosystems. Being a different blockchain, Sidechains are designed to scale but do not inherit Ethereum’s decentralization and security. This makes them less secure than Ethereum or L2 solutions.
Both Sidechains and L2s are general-purpose scaling solutions, which have multiple measures in place to ensure the network is accessible to everyone. Each scaling solution has its own design of Data Availability, security, process mechanism and more, and apps and users can choose the trade-off that suits them best.

Appchains (!!)
Appchains are another step in providing dApps a wider range of scaling solutions to match their needs; namely, they are customized L2s. Appchains were created from the understanding that some applications would like their users to have some features or UX designed specifically for them and, therefore, require a scaling solution that will cater to their unique needs. Specific requirements that cannot be met by the public network may hinder an application’s scalability, but this can be resolved by using a private L2. This private L2 can settle data on an L1, like Ethereum, or become an L3 and settle it on an L2, such as Starknet. This way, the appchain inherits the security of the base layer.

Why Appchains?
The public Starknet network provides massive scaling and Ethereum-level security to many applications, but appchains have emerged as a valuable addition to the Starknet ecosystem. For some applications, appchains are a solution that better suits their specific scaling needs. Here are four of them:
- Super Scaling: Scalability encompasses two critical elements – high speed and low fees. When using an appchain, the throughput is unaffected by the activity of other applications, as the application has its dedicated network. This ensures a consistently smooth performance. In addition, if an application chooses to operate as an L3 and settle on L2, it can scale even further, as its operation is being scaled twice by two layers of scaling. In the future, once the possibility to choose data availability mode on each layer is implemented, developers will be able to achieve a remarkable overall cost reduction from L1 to L3.
- Customization: With appchains, developers are free to modify the configuration of the network (e.g., block size, latency, Data Availability mode) and even implement features not supported by the protocol.
Another benefit developers gain by using an appchain is the ability to choose different stack providers. The Starknet stack is diverse and continues to evolve, offering those who would like to deploy their app as an appchain to choose from the multiple providers of the Starknet stack. This includes sequencers, wallet integrations, full nodes, API services, execution engines, and more. As the Starknet community continues to push forward as one of the largest L2 devs communities, many new and innovative projects are being developed. Explore the list of projects operating to decentralize the Starknet stack in this blog post.
- Dedicated environment for a group of apps: Appchains foster the perfect requirements for an app or brand that wants to create an ecosystem of applications. Building an ecosystem on an appchain allows builders to determine their own token or fee mechanism.
- Proof-optimized: Building on Starknet means writing the entire code in Cairo. Released in January 2023, Cairo’s newest version is not only optimized for writing smart contracts and for generating Validity Proofs (ZK proofs) by using 256-uint, as it always was, it is now designed to write safer code, and it is easy to learn, giving devs a friendly, Rust-like coding experience.
Summary
Appchains offer a unique blend of cost-efficiency, customization, and experimentation, making them an appealing option for developers, and expanding the variety of options within Starknet’s scaling buffet. Starknet appchains optimize performance, enhance throughput, and enable powerful tailored solutions for decentralized applications. With the potential to let developers realize their vision with the accuracy they need and with as few barriers as possible, appchains are poised to reshape the future of the blockchain ecosystem.
To learn more, visit the Starknet website or stay in the know on the latest happenings in the Starknet ecosystem by following Starknet on X.
FAQs
What are appchains?
Application-specific chains (aka appchains) are specialized Layer 2 (or Layer 3) chains designed for a particular application or group of applications. Appchains usually settle on general-purpose chains, such as Ethereum and Starknet, that support a wide range of applications and use cases.
How do appchains differ from public L1s and L2s?
Appchains offer more customization options and are tailored to the specific needs of a dApp, while public L1s and L2s are general-purpose, permissionless networks designed to be accessible to everyone. By focusing on a single application or a narrow set of use cases, appchains can achieve higher performance and scalability compared to general-purpose chains. This is because they can avoid the overhead associated with supporting a wide range of applications. Appchains can also have separate governance and economic models, including tokenomics and fee structures, that are best suited to the needs of the application and its community.
Are appchains customizable?
Yes, appchains are highly customizable. This is one of their primary advantages over general-purpose chains. The customization capabilities of appchains include various aspects of their architecture and functionality, allowing developers to tailor them to meet the specific needs of their applications. Some key areas where appchains can be customized include: throughput and latency, scalability solutions, custom transaction types, smart contract capabilities, access controls, compliance, and more.
How do appchains achieve "superior scale?"
Appchains achieve superior scale through a combination of specialized design choices, optimization strategies, and leveraging unique architectural advantages.
Because appchains are designed for specific applications, this allows developers to optimize every aspect of the blockchain for their particular use case. This targeted optimization leads to better performance compared to general-purpose blockchains.
In addition, since they are not burdened with the overhead of supporting a wide range of unrelated applications, appchains can also allocate computational resources more efficiently. This focus allows for more precise resource allocation and better overall performance.
As appchains are far more customizable, parameters like block time, block size, and validator rotation can also be adjusted to optimize transaction throughput and reduce latency.
Appchains can also implement economic models that incentivize validators and users to behave in ways that enhance scalability. For example, they can implement dynamic fee structures that adjust based on network congestion to manage transaction loads more effectively.
What is the benefit of building an ecosystem on an appchain?
Building an ecosystem on an appchain offers several benefits, primarily due to the appchain’s ability to be highly customized and optimized for specific applications. Some key advantages include:
- Super Scaling: Scalability encompasses two critical elements: high speed and low fees. When using an appchain, the throughput is unaffected by the activity of other applications, as the application has its dedicated network.
- Customizability: Appchains can be designed with the specific requirements of their intended application in mind, leading to better performance and scalability. By focusing on a narrow set of functionalities, appchains can achieve higher transaction throughput and lower latency, essential for applications like DeFi, gaming, and supply chain management.
- Dedicated environment for a group of apps: Appchains foster the perfect requirements for an app or brand that wants to create an ecosystem of applications. Building an ecosystem on an appchain allows builders to determine their own token or fee mechanism.
- Proof-optimized: Building on Starknet means writing the entire code in Cairo. Released in January 2023, Cairo’s newest version is not only optimized for writing smart contracts and for generating validity proofs (ZK proofs) by using 256-uint, as it always was, it is now designed to write safer code, and it is easy to learn, giving devs a friendly, Rust-like coding experience.
- Customizability: Appchains can be designed with the specific requirements of their intended application in mind, leading to better performance and scalability. By focusing on a narrow set of functionalities, appchains can achieve higher transaction throughput
How do appchains inherit security?
Appchains inherit the security of the layer on which they settle. After transactions are executed on the appchain and batched together, a proof attesting to the validity of every transaction in the batch is sent to the base layer for verification. In other words, the proof shows the verifier on the base layer that every transaction in the batch played by the appchain’s rules. From there, it’s up to the base layer to accept or reject the new block, just as it does with other blocks on the network. If accepted, the proof is then verified on the base layer on which the appchain settles—an L2 appchain’s base layer is Ethereum, while an L3 appchain’s base layer is public Starknet.
What is the difference between sidechains and appchains?
While sidechains and appchains are both types of chains designed to complement and enhance the capabilities of a primary blockchain or network, there are some key differences between them in terms of purpose, architecture, and interaction with the main chain.
Sidechains are often designed to serve as general-purpose extensions of a main blockchain, enabling additional functionality, scalability, or specialized features without overloading the main chain. They are frequently used to test new features or consensus mechanisms without risking the stability and security of the main chain.
Appchains, however, are built specifically to support a particular application or set of related applications. They are optimized for the needs of these applications, offering tailored performance, security, and governance. Appchains aim to create specialized ecosystems around specific use cases, providing an environment that is highly customized for the intended purpose.
Sidechains are designed to operate independently of the main chain but are interoperable with it. Sidechains also typically have separate security models. They do not inherit security from the main chain directly but can be designed to peg their assets to the main chain. In contrast, appchains are often deeply integrated into a larger ecosystem and inherit security and consensus mechanisms from the main network.
