Viem Migration - enable coinbase wallet connection#7475
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
WalkthroughThis PR enables Coinbase as a wallet provider across two configuration modules. Web3Modal Ethers v5 configuration enables Coinbase provider support, while AppKit wagmi adapter configuration sets platform-aware Coinbase preferences based on whether the UI is embedded in an iframe. ChangesCoinbase Provider Enablement
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Tip 💬 Introducing Slack Agent: The best way for teams to turn conversations into code.Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.
Built for teams:
One agent for your entire SDLC. Right inside Slack. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
LGTM! |
…-the-widget-configurator
|
Hey @brunota20 , could you please link a notion task for the issue you're addressing here? |
…ption-is-not-working-in-the-widget-configurator

Summary
Fixes Coinbase Wallet (Base) connection not working in the widget configurator in both dapp and standalone modes.
https://www.notion.so/cownation/CB-option-is-not-working-in-the-widget-configurator-3568da5f04ca809bbcd7d6322575701b?v=2fc8da5f04ca81ada4ca000c320d51ef&source=copy_link
Dapp mode — Coinbase Wallet was explicitly disabled (
enableCoinbase: false) in the widget configurator's Web3Modal config, causing it to show "Not Detected". Changed toenableCoinbase: true.Standalone mode — The widget runs in an iframe where the Coinbase Wallet SDK's popup flow gets blocked by the browser, resulting in "Connection declined".
Added
coinbasePreferenceto the Reown AppKit config:'smartWalletOnly'when in an iframe (uses Coinbase Smart Wallet's iframe-compatible flow),'all'otherwise.To Test
https://www.loom.com/share/687495de623e4f2782cc322bc59230b5
Summary by CodeRabbit
New Features