Skip to content

feat: CCTP V2 Integration for USDC deposits (Ticket 4.3) - #67

Merged
0xfave merged 3 commits into
mainfrom
feature/ticket-4.3-cctp-integration
Jun 21, 2026
Merged

feat: CCTP V2 Integration for USDC deposits (Ticket 4.3)#67
0xfave merged 3 commits into
mainfrom
feature/ticket-4.3-cctp-integration

Conversation

@Harshbhargav45

Copy link
Copy Markdown
Collaborator

Description

Implemented Ticket 4.3: CCTP V2 Integration for cross-chain USDC deposits.

Features added:

  • app/src/lib/cctp.ts: Cross-chain logic skeleton with initiateDeposit, pollAttestation, and mintOnSolana. Contains DEVNET_CONFIG placeholders.
  • app/src/hooks/useDeposit.ts: Async hook to manage deposit progress states.
  • app/src/components/DepositModal.tsx: Non-blocking, animated UI modal for deposits.
  • app/src/components/Portfolio.tsx: Wired up the deposit flow, updates mock vault balances, and includes TODO placeholders for Devnet RPC integration.
  • viem installed for EVM contract interactions.

Note on Devnet Transition:
Follow the TODO placeholders in cctp.ts and Portfolio.tsx to swap out the mock generator for real viem & @solana/web3.js RPC hooks once the contracts are deployed.

@0xfave
0xfave merged commit 6e4052f into main Jun 21, 2026
3 checks passed
@0xfave
0xfave deleted the feature/ticket-4.3-cctp-integration branch June 21, 2026 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants