# Architecture

#### ZK Coprocessor

<figure><img src="/files/89NR9DIgCw05ROvnRUQ8" alt=""><figcaption></figcaption></figure>

The core component that enables trustless cross-chain operations. It:

* Generates zero-knowledge proofs for cross-chain state verification
* Provides reorg protection for all supported chains
* Enables trustless cross-chain communication without bridges

#### Other Protocol Components

The ZK coprocessor works alongside the protocol's smart contracts, which handle lending operations and state management, and the Sequencer infrastructure, which monitors events and submits proofs. Despite being centralized, the Sequencer is constrained by ZK proofs and cannot manipulate user funds, ensuring the protocol remains self-custodial. For censorship resistance, users can [generate their own proofs](https://github.com/malda-protocol/malda-zk-coprocessor/tree/minimalDocs#self-sequencing) if needed.


---

# Agent Instructions: 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://ionian.gitbook.io/malda/developer-docs-malda-zk-coprocessor/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.
