Initiating Conversion

Algorithm of working with Ethereum-Cardano bridge:

Bridging tokens from one chain to another involves the following steps

  1. Set up the token pair

  2. Authorize (Approve ) the bridge to transfer tokens on the Ethereum side on your behalf. This involves a web3 wallet interaction. This is a one time, if you dont change the default valueю - you will not need to authorize for every conversion. Important: at this point, you are not yet transferring tokens to another network. You are only allowing the smart contract access to interact with the tokens. This step is mandatory.

  3. Once authorized you can initiatite the conversion. If you enter correct values in the field with the number of tokens and the number of allowed tokens is less than or equal to the number entered - you will see the Convert button

    1. You will first be prompted for a signature to track that you are initiating the conversion

    2. When converting from Ethereum to Cardano you will be prompted to transfer tokens to the contract. These tokens will be burnt on the Ethereum chain and equivalent tokens minted on the Cardano chain

    3. When converting from Cardano to Ethereum you will be provided a deposit address. Conversion will be initiaited when tokens are transferred to the deposit address.

Last updated