> For the complete documentation index, see [llms.txt](https://bitevm-1.gitbook.io/bitevm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bitevm-1.gitbook.io/bitevm/introduction/bitevm-overall/architecture.md).

# Architecture

### **Building BitEVM: A Phased Approach**

Developing a secure and scalable Bitcoin ZK Rollup solution with BitEVM presents a significant challenge. However, BitEVM prioritizes security above all else. To ensure a smooth journey, we've outlined a two-phase development plan: Alpha Mainnet and Mainnet.

### **Alpha Mainnet: Laying the Foundation**

The Alpha Mainnet phase focuses on minimizing system complexity. Our primary goal is to develop, integrate, and test the various components of the BitEVM ZK Rollup. This phase lays the groundwork for the more intricate features to come.

### **Mainnet: Unleashing the Potential**

The Mainnet phase unlocks the full potential of BitEVM. Here, we will transform on-chain validation into efficient Taproot scripts. Additionally, we will convert the off-chain Prover and Verifier components into circuits and implement Anti-Transaction Reordering using SVMZK.

### **Testing Every Step of the Way**

In parallel with development, we will introduce corresponding Testnets at various stages. These Testnets act as safe environments where we can rigorously test functionality and performance. This meticulous approach ensures the stability and reliability of BitEVM before major updates are deployed.

The following sections will provide a deeper dive into the technical architecture for each phase. This detailed breakdown aims to offer a clear picture of our development process and the steps we are taking to deliver a robust and secure solution.


---

# 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:

```
GET https://bitevm-1.gitbook.io/bitevm/introduction/bitevm-overall/architecture.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
