Wrap IOTX in CIOTX and send to Polygon


CIOTX, or “Cross-chain IOTX,” is an XRC20 wrapped version of the native IOTX token, designed to bridge your IOTX to any networks easily, through the iotube Bridge. You can swap IOTX/WIOTX/CIOTX at a 1:1 ratio anytime on the IoTeX network using the dedicated section in iotube.

CIOTX is currently only available on the IoTeX and Polygon networks.

:warning:This product is still beta: use it at your own risk :warning:

In this tutorial, we will wrap some native IOTX into CIOTX, then send them to Polygon using iotube.

Prerequisites

Access the CIOTX swap page

For maximum simplicity, CIOTX is directly integrated into the iotube Dapp:

  • Access https://iotube.org
  • Select the "Crosschain IOTX" menu item
  • Connect your Metamask Wallet
  • Select IoTeX as the source chain

Wrap IOTX into CIOTX

  • Verify your IoTeX address is correct
  • Verify you have some IOTX balance
  • In the “From” field, select IOTX and input 10.
  • :exclamation: Make sure you leave at least 1 IOTX in the balance (to pay for some gas)!
  • Click “Swap” to confirm the swap operation
  • Confirm the transaction in Metamask

Wait a few seconds for the transaction to be confirmed on the IoTeX chain.

Meanwhile, you may want to add the CIOTX token to your Metamask assets.
You can do that by adding a custom token with a contract address:
0x99b2b0efb56e62e36960c20cd5ca8ec6abd5557a

Send CIOTX to Polygon

Now that you wrapped some IOTX into CIOTX, you are ready to send it to Polygon using iotube.

  1. Select the iotube menu item
  2. Make sure the source chain is on IoTeX
  3. Select CIOTX as the token to transfer and hit MAX to send all 10 CIOTX.
  4. Click My Wallet to send the tokens to the same sender address (but on the Polygon chain!)
  5. If required, click Approve to allow iotube to spend your CIOTX, and confirm in Metamask

Once the Approval is finalized,

  • Click “Deposit” on iotube
  • Click “Confirm” in the recap dialog
  • Confirm in Metamask to send the CIOTX tokens to Polygon:

When the transaction is submitted, you will get a confirmation dialog. You can also visit the iotube explorer to monitor the status of your transaction.

Meanwhile, you may want to add the CIOTX token to your Metamask assets on Polygon.
You can do that by adding a custom token with a contract address:
0x300211def2a644b036a9bdd3e58159bb2074d388

  • Switch Metamask to the Polygon network, and verify your CIOTX balance in the Polygon Network.

1 Like