Architectural overview
A high-level overview of the Szaldi design.
Last updated
A high-level overview of the Szaldi design.
Last updated
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.
Here we see that moving assets from Mel to Ethereum requires four steps:
Sending a transaction to the Szaldi covenant which essentially locks the transferred Mel coin.
Requesting the appropriate information from a Mel node in order to get proof of the locking transaction.
Submitting proof of the locking transaction to the Ethereum smart contracts to be processed.
After verification by the Ethereum smart contracts, your frozen coin will be minted as Ethereum tokens.
The process for moving your tokenized assets from Ethereum back to Mel is very similar:
Sending a transaction to the Szaldi smart contracts which burns the equivalent amount of tokens as the coin you are attempting to unlock.
Requesting the appropriate information from an Ethereum node in order to get proof of the token burn.
Sending the proof of burn to the Mel covenant to be processed.
After verification by the Mel covenant, your frozen coin will be unlocked and sent to your Mel wallet.
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.