Skip to content

feat: add stablecoins USDC entrypoint#4759

Open
Blessing-Circle wants to merge 1 commit into
wevm:mainfrom
Blessing-Circle:feat/usdc-stablecoins-entrypoint
Open

feat: add stablecoins USDC entrypoint#4759
Blessing-Circle wants to merge 1 commit into
wevm:mainfrom
Blessing-Circle:feat/usdc-stablecoins-entrypoint

Conversation

@Blessing-Circle

@Blessing-Circle Blessing-Circle commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Adds a new viem/stablecoins entrypoint for native Circle-issued USDC on supported EVM chains.

The entrypoint includes:

  • usdcAddresses: native USDC contract addresses keyed by viem chain ID
  • getUsdcAddress: typed helper for resolving a native USDC address by chain ID
  • getUsdcContract: convenience helper that returns a ready-to-use ERC-20 contract instance from the client's configured chain

Only native USDC deployments are included. Bridged representations such as USDC.e are intentionally excluded.

Notes

Sonic Testnet is intentionally not included. We have Sonic Testnet USDC address, but the current sonicTestnet chain definition in viem uses chain ID 64165, while the live Sonic Testnet RPC and Chainlist report chain ID 14601. To avoid exposing a USDC address under the wrong viem chain ID, this PR only includes Sonic mainnet and Sonic Blaze Testnet for now.

Validation

  • Matched included addresses against Circle's USDC contract address page.
  • Live-called symbol(), decimals(), and name() for included addresses where public RPCs were available.
  • Confirmed Arc Testnet USDC responds with symbol = USDC, decimals = 6, and name = USDC.
  • git diff --check passes.

@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

@Blessing-Circle is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Jun 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: df89153

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
viem Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jun 25, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/viem@4759

commit: df89153

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