Skip to content

feat(deposit): offer EURC on Base on the wallet deposit screen for Wirex - #2668

Merged
MayankMittal1 merged 1 commit into
masterfrom
feat/eurc-wallet-deposit
Oct 8, 2026
Merged

MayankMittal1 merged 1 commit into
masterfrom
feat/eurc-wallet-deposit

Conversation

@MayankMittal1

@MayankMittal1 MayankMittal1 commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

What

#2667 added EURC to "Fund your card" only. The wallet Add funds → Select token screen builds its list from BRIDGE_TOKENS, which EURC is deliberately kept out of, so Wirex cardholders didn't see it there.

Wirex cardholders now get EURC in "Select token", after USDC and USDT:

  • Base only. It comes from EURC_TOKENS, which lists only Base.
  • Same minted address. It uses the card deposit address the stablecoins use, through usesDirectDepositAddress. The backend (Solid-Money/solid-backend#1947, merged) delivers it as EURC to the Safe on Base. Because the address is minted, the screen scans for the deposit and the deposit shows up in activity.

Nobody else's list changes. Rain cardholders and users with no card don't see EURC.

Changes

  • WalletDepositAddress/constants.ts:
    • offersWalletDepositEurc(provider) returns true for Wirex only.
    • The token and network helpers take a withEurc flag that defaults off.
    • EURC added to DIRECT_DEPOSIT_SYMBOLS, the display order and the icon fallbacks.
  • WalletDepositTokens, WalletDepositNetworkList and the address screen pass withEurc based on the card provider.
  • depositFee.ts: Wirex wallet EURC is free on Base and charged elsewhere. That's only Base today, so no fee notice shows.

Tests

Ran each of these individually; all pass:

  • WalletDepositAddress/__tests__/walletDepositConstants.test.ts (35): new EURC cases (Wirex-only, Base-only, display order, chain resolution, icon)
  • lib/utils/__tests__/depositFee.test.ts (43)

tsc shows no new errors; the 10 existing errors are the same on master.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

The EURC row only existed in "Fund your card"; the wallet "Add funds -> Select
token" screen builds its list from BRIDGE_TOKENS, which EURC is kept out of.

- Wirex cardholders now see EURC after USDC/USDT, on Base only, through the
  minted card deposit address, which the backend delivers to the Safe on Base.
- Everyone else's list is unchanged: the helpers take a withEurc flag that
  defaults off.
- Fee notice: Wirex wallet EURC is free on Base, charged elsewhere.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Actions Updated
solid-app Ignored Ignored Preview Oct 8, 2026 9:56am UTC
solid-app-staging Ignored Ignored Preview Oct 8, 2026 9:56am UTC

Request Review

@MayankMittal1
MayankMittal1 merged commit 3c1d9c4 into master Oct 8, 2026
5 checks passed
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.

1 participant