Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCTP(USDC) destination-action adapter #6

Open
dpbpolymer opened this issue Feb 20, 2024 · 0 comments
Open

CCTP(USDC) destination-action adapter #6

dpbpolymer opened this issue Feb 20, 2024 · 0 comments

Comments

@dpbpolymer
Copy link
Contributor

User story:

  • As a user I want to bridge my USDC and swap it on the destination rollup, deposit it into a vault or send to a different address.
  • As an application I want to enable my users to deposit into my USDC vaults in a single-click from any other rollup without having to bridge separately.

Objectives:

  • Build an interface that application developers can use to enable one-click USDC cross-chain actions. Wherein USDC is bridged via CCTP and an action is performed via Polymer once funds reach the destination.

Implementation tips:

  • CCTP is the native bridge for transferring USDC between chains, many times users have to bridge their tokens and then perform an action on another chain.
  • You can reduce the UX overhead by designing an interface that developers can to embed in their application and allow for easy cross-chain deposits via CCTP.
  • You can choose to deploy a vault contract on Base that the user wishes to deposit funds in, and bridge their test USDC from Optimism.
  • Kudos if you can build a deposit UI wherein users can select which chain they want to bridge USDC from and then deposit in the contract/vault directly.
  • Fun fact: On mainnet can use Socket or LiFi to enable wider token support.

References: CCTP and testnet contracts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant