Skip to content

Cross-chain deposit UI for buyers coming from EVM wallets #6

Description

@benfoster-dev

Problem

We're adding CCTP support on the backend so buyers can deposit USDC from Ethereum, Arbitrum, Base etc. But we don't have any UI for this yet. Right now the only option is "connect Freighter wallet" which assumes you already have Stellar USDC.

What I want

A deposit flow that works for someone coming from MetaMask or any EVM wallet:

  1. Buyer clicks "Fund Deal"
  2. They see options: "Stellar Wallet" or "Deposit from another chain"
  3. If they pick cross-chain, they connect their EVM wallet (wagmi/ConnectKit)
  4. Select source chain (Ethereum, Arbitrum, Base, Avalanche)
  5. Show USDC balance on that chain
  6. Confirm deposit amount → backend handles the CCTP burn/mint
  7. Show transaction status: pending attestation → minting on Stellar → funds locked in escrow

The whole thing should feel seamless. No "bridge" jargon — just "deposit your USDC".

Things to figure out

  • We need both Freighter (Stellar) and MetaMask/wagmi (EVM) wallet connections in the same app
  • How to show unified balance across chains
  • Loading/confirmation states while CCTP attestation is processing (takes ~15-20 min for finality)

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions