📖
Mel docs
HomeOld docs
  • A post-blockchain Web3
  • Conceptual wiki
    • Data model
    • Consensus
    • MEL: trustless sound money
    • Governance-free neutrality
    • Covenants
    • Light clients
    • Network architecture
    • Melnet: the P2P layer
    • What belongs on-chain?
  • Developer guides
    • Overview
    • 🛠️Gibbername: your first off-chain composable protocol
      • melprot: a quick intro
      • Design
      • Implement
      • Use
      • Next steps
    • 💰Wallets
      • Setup and installation
      • Sending money
      • Swapping tokens
    • 🪙Getting tokens
      • Melmint overview
      • Using melminter
      • Melmint arbitrage
    • 🤖Run a full node
      • Melnode quick start
      • Basic replica node
      • Setting up a local simnet
  • 🌉Szaldi guide
    • Bridge your coins
    • Architectural overview
  • Resources
    • Yellow Paper
    • Frequently asked questions
    • MelVM spec
Powered by GitBook
On this page
Edit on GitHub
  1. 🌉Szaldi guide

Architectural overview

A high-level overview of the Szaldi design.

PreviousBridge your coinsNextYellow Paper

Last updated 9 months ago

CtrlK
  • From Mel to Ethereum
  • From Ethereum back to Mel
  • Next steps

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

Diagram of the freeze and mint process.

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

Diagram of the burn and thaw process.

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.