> For the complete documentation index, see [llms.txt](https://docs.melproject.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.melproject.org/szaldi-guide/architectural-overview.md).

# Architectural overview

As we mentioned earlier, Szaldi is made up of two complementary components, a Mel covenant and a set of Ethereum smart contracts. Both of these components work together to enable the transfer of assets on Mel to Ethereum securely.

## From Mel to Ethereum

<figure><img src="/files/8H0URflvUPojC5hjyeCO" alt=""><figcaption><p>Diagram of the freeze and mint process.</p></figcaption></figure>

Here we see that moving assets from Mel to Ethereum requires four steps:

1. Sending a transaction to the Szaldi covenant which essentially locks the transferred Mel coin.
2. Requesting the appropriate information from a Mel node in order to get proof of the locking transaction.
3. Submitting proof of the locking transaction to the Ethereum smart contracts to be processed.
4. After verification by the Ethereum smart contracts, your frozen coin will be minted as Ethereum tokens.

## From Ethereum back to Mel

<figure><img src="/files/EbtMj3mqopeyDSMVjuwc" alt=""><figcaption><p>Diagram of the burn and thaw process.</p></figcaption></figure>

The process for moving your tokenized assets from Ethereum back to Mel is very similar:

1. Sending a transaction to the Szaldi smart contracts which burns the equivalent amount of tokens as the coin you are attempting to unlock.
2. Requesting the appropriate information from an Ethereum node in order to get proof of the token burn.
3. Sending the proof of burn to the Mel covenant to be processed.
4. After verification by the Mel covenant, your frozen coin will be unlocked and sent to your Mel wallet.

## Next steps

In this guide, we learned about the function and architecture of Szaldi and how it is powered by the native security of both Mel and Ethereum. In the next section we will learn how we can help strengthen the security of the Mel network ourselves by participating in staking.


---

# 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://docs.melproject.org/szaldi-guide/architectural-overview.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.
