How to use CCTP UI for cross-chain deposits to dYdX V4

What is CCTP?

  • Circle’s Cross-Chain Transfer Protocol (CCTP) on Noble enables users to send their USDC, the collateral contemplated by dYdX Chain, from other chains directly to dYdX Chain in an easy, simple and secure manner

  • Example: User wants to send their USDC on Polygon to dYdX Chain Solution: By leveraging CCTP, USDC can be burned on Polygon, re-minted on Noble, and forwarded via IBC to dYdX Chain in one transaction. It’s that simple!

See: https://dydx.exchange/blog/cctp

How CCTP works

CCTP enables USDC to be sent securely between supported blockchains via a native burn and mint process. There is no reliance on custodial bridging. Here’s an example of a simple CCTP transfer flow:

  • User transfers USDC from one chain to another via a third-party app, thereby burning USDC on the source chain (e.g., Polygon)

  • Circle’s automated service observes and attests to the burn event

  • Either the user or a third party relays the attestation to the destination chain (e.g., Noble)

  • User receives USDC on the destination chain (e.g., Noble)

Example: How to bridge USDC using the CCTP UI ( Polygon - Noble)

  1. In order to bridge some USDC from Polygon to dYdX v4 Mainnet, first connect your source wallet (e.g. Metamask). You can swap any fund or from any chain that is made available through CCTP. As destination chain, select Noble.

  2. Next, for the destination address, we need a Noble wallet address, if you already have one, you can just click to connect the Keplr Wallet. In case you don't: If you have connected a wallet before on https://dydx.trade/ exchange, you can import that private key into Keplr wallet, in order to get your Noble destination address. If not, connect with e.g. Metamask wallet first on trade. Now in order to export your private key, go to trade, click your wallet on the top right and use export secret phrase.

Then on Keplr, click Import an existing wallet and copy that secret phrase into Keplr.

  1. After you have imported a wallet, In the Keplr wallet interface click, copy address and search for Noble chain. Copy your Noble wallet address

  1. Now paste this address as the destination address. Fill in the amount of USDC you wish to bridge and click transfer.

  1. Approve the transfer and if all went well, you should see a message that the transfer was approved, followed by a burn and a mint notification on the bottom of your screen.

  1. Finally on the https://dydx.trade/ , connect your Metamask wallet with the same secret key you used to transfer to your Noble address. That will initiate the transfer to dYdX chain. You can now go to Mintscan, fill in your Noble address to check whether the bridging was successful. If that's the case you should see a receive, IBC transfer and IBC Acknowledgement transactions. NOTE that the IBC transfer to dYdX chain may take some time to process. Once you see the IBC Ack happened, you should have received your funds in your dYdX wallet.

Last updated