Bridge your coins
A step-by-step guide to transferring Mel coins to Ethereum using Szaldi via our client implementation, Szaldi-cli.
To safely and conveniently streamline interaction with Szaldi, a client has been implemented in Rust which abstracts away the complexity of querying the chain state and crafting compliant transactions on both networks. It is packaged as a simple-to-use CLI application whose source code can be viewed here.
Moving Mel coins to Ethereum
In order to mint your Mel coins as tokens on Ethereum, you must first lock your coins up on the Mel network and then send a proof of the lock transaction to the Ethereum network. Szaldi-cli takes care of abstracting the entire process away using an interactive CLI session which will guide you through the bridging process, one step at a time.
Szaldi-cli to-ethereum -t <Mel-wallet-name> -e <ethereum-wallet-dir>
Welcome to Szaldi-cli! I'll help guide you through the bridging process.
First, what value and denomination of tokens do you want to bridge to Ethereum?
14000.0 SYM
You are choosing to bridge 14000.0 SYM from Mel to Ethereum.
The total Ethereum fees will be 0.07273046 ETH.
Do you wish to proceed? (y/n):
y
Bridging your coin, this process may take a couple of minutes.
................................
Success! Your tokens were successfully minted with transaction hash 0xc4408a86465c500c8eea7ded6b2c3c1d9d505470f6587473ca1342073c00d676Moving Ethereum tokens back to Mel
To move your assets from Ethereum back to Mel, you must choose a coin to unlock, burn the equivalent amount on the Ethereum network, and provide the Mel network with a proof of this burn. To automate this process, we can use an interactive Szaldi-cli session which will safely walk you through the process.
As we can see, the bridging process to and from Mel has been made as convenient as possible for end users. Now that we know how to interact with Szaldi using Szaldi-cli, let's take a deeper look at how everything actually works in the next section.
Last updated