Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gianalarcon committed Apr 11, 2024
2 parents 16560ca + 4c647ec commit 01c5728
Showing 1 changed file with 21 additions and 17 deletions.
38 changes: 21 additions & 17 deletions src/ch03-05-layer-3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Layer 3 (App Chains)

Appchains let you create a blockchain designed precisely for your
App chains let you create a blockchain designed precisely for your
application’s needs. These specialized blockchains allow customization
in various aspects, such as hash functions and consensus algorithms.
Moreover, they inherit the security features of the Layer 1 or Layer 2
Expand Down Expand Up @@ -76,25 +76,29 @@ In summary, Layer 3 provides the flexibility, cost-efficiency, and
environment conducive for innovation, without significant compromise on
security.

## Madara as a Sequencer for Layer 3 App Chains
## Madara as a Framework for Layer 3 App Chains

[Madara](https://github.com/keep-starknet-strange/madara) is a
specialized sequencer developed to execute transactions and group them
into batches. Created by the StarkWare Exploration Team, it functions as
a starting point for building Layer 3 Starknet appchains. This expands
the possibilities for innovation within the Starknet ecosystem.
[Madara](https://github.com/keep-starknet-strange/madara) is a framework that simplifies the development of modular app chains on Starknet. With Madara, you can leverage the Starknet stack’s scalability and security advantages while tailoring your chain to the specific requirements of your dApp.

Madara’s flexibility allows for the creation of Layer 3 appchains
optimized for various needs, for example:
Key benefits of developing with Madara:
Comprehensive Control: With Madara, you can customise essential components, such as your prover and compiler version. Madara's flexibility allows integration of experimental features, ensuring your chain precisely meets your dApp's demands.

- Cost-Efficiency: Create an appchain for running a decentralized
exchange (DEX) with lower fees compared to the public Starknet.
Reduced Congestion: Your app chain serves your dApp exclusively, guaranteeing predictable performance and a smooth user experience.

- Performance: Build an appchain to operate a DEX with faster
transaction times.
Chain Sovereignty: Maintaining full decision-making power over the canonical chain is crucial, especially during potential security incidents or disagreements, ensuring you retain control. It's important to acknowledge, however, that this approach can have its drawbacks, warranting careful consideration.

- Privacy: Design an appchain to facilitate anonymous transactions or
encrypted messaging services.
Fee Collection: Manage your app chain's fee structure and retain all of the revenue generated by your application.

For more information on Madara, refer to the subchapter with the same
title.
## Karnot: Rollup-as-a-Service for Madara App Chains

[Karnot](https://www.karnot.xyz/), a leading Rollup-as-a-Service provider, simplifies Madara app chain deployment. Leveraging their extensive experience in building scalable infra and their role as core contributors to the Madara framework, Karnot delivers powerful, expertly crafted solutions for your app chain development experience.

Highly scalable infrastructure: Intelligent auto-scaling nodes guarantee your app chain's availability, even during unexpected traffic surges.

Secure bridges: Karnot manages your bridges, mirroring Starknet contracts for efficient integration.

Protected faucets: Robust faucets powered by spam and bot protection for smooth testing environments.

Top-tier security: Rigorous measures safeguard your keys without compromising autonomy.

Comprehensive monitoring: Real-time dashboards offer a centralized view of your app chain activity, empowering data-driven decision-making.

0 comments on commit 01c5728

Please sign in to comment.