> For the complete documentation index, see [llms.txt](https://hub.bsvblockchain.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hub.bsvblockchain.org/higher-learning/bsv-academy/bsv-network-topology/essentials-of-bsvs-mandala-network-architecture/difference-from-layer-2-solutions.md).

# Difference from Layer 2 Solutions

<figure><img src="/files/WuQ7kXTXnfZM0t038O2M" alt=""><figcaption></figcaption></figure>

The Mandala architecture introduces a fundamentally different approach compared to other blockchains that implement layer-two scaling solutions. Many blockchains, such as Ethereum, utilize a two-layer system where the primary layer (layer one) is complemented by secondary layers (layer two) to enhance scalability. This approach, however, presents inherent challenges, particularly concerning the **double-spend problem**.

<figure><img src="/files/rVacDIK0ktCDtFAI0rEx" alt=""><figcaption></figcaption></figure>

In traditional layer-two solutions, the risk of double-spending persists, as transactions are processed across multiple layers. This necessitates the grouping of transactions from layer two back to layer one, complicating the integrity of the blockchain.

In contrast, the Mandala architecture ensures that the majority of activity occurs within layer one, where all **UTXOs (Unspent Transaction Outputs)**, spending actions, and double-spend prevention mechanisms reside. The overlays and applications operate atop this foundational layer, ensuring that the **core security and integrity of the network remain intact.**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://hub.bsvblockchain.org/higher-learning/bsv-academy/bsv-network-topology/essentials-of-bsvs-mandala-network-architecture/difference-from-layer-2-solutions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
