🔀Cross-Chain Swap

Here we will provide you with a step-by-step set of instructions to swap tokens across chains using the Magpie app. If you've gone through the On-Chain Swap steps, this will be very familiar to you.

For a Cross-Chain swap select a different chain in the receiving network drop-down menu. For this example we will be swapping the 'LINK' token from 'Arbitrum' network for the 'AAVE' token on the 'Optimism' network.

Just the same as the On-Chain swap instructions, select the box below the 'From' text to select the chain/network we are starting on, in this case, Arbitrum.

Now select the 'LINK' token. If it's not near the top of your list, you can use the search bar to find it.

Next, select the box below the 'To' text and select the 'Optimism' chain/network, then search for and select 'AAVE' as the token to receive.

Next, we need to click on the 'Approve LINK' button so that the Magpie dApp gains permission to swap the tokens.

Your wallet app will prompt you to give the Magpie app permission to use the selected token. Click 'Confirm.'

Once confirmed, the 'Approve' button now says "Swap LINK to AAVE". Click the button to start the swap process.

Your wallet will once again prompt you to confirm the transaction, this time with estimated fees for any Gas, Bridge, or Relayer fees that are required for the swap, all-in-one. Click the "Confirm" button to initiate the swap.

Next, you can either click on the bar in the upper right that shows the swap is completed to check the transaction or you can open the sidebar to see your transaction history and view the information there.

It'll look something like this, showing the three steps involved:

  • Verifying cross-chain data transfer

  • Receiving bridge funds

  • Executing swap out

There are two possible outcomes now: A successful transaction or a failed one. If successul, congratulations, the swap is complete!

If unsuccessful/failed, you will need to swap out the funds yourself. Hopefully that was easy, no bridges, no extra websites, just as simple as a normal on-chain swap.

Depending on the network you are going to or from, there can be a differing amount of time it takes for the transactions, but you can check the status in the 'Transactions' tab in the upper right corner of the screen.

Last updated