Skip to content

Upgrade MetaMask Connector to use the new MetaMask Connect SDK#4936

Closed
ffmcgee725 wants to merge 31 commits intowevm:mainfrom
ffmcgee725:feat/metamask-connector-upgrade-v2
Closed

Upgrade MetaMask Connector to use the new MetaMask Connect SDK#4936
ffmcgee725 wants to merge 31 commits intowevm:mainfrom
ffmcgee725:feat/metamask-connector-upgrade-v2

Conversation

@ffmcgee725
Copy link
Copy Markdown
Collaborator

@ffmcgee725 ffmcgee725 commented Jan 8, 2026

This PR updates the MetaMask connector in the WAGMI package to use the new MetaMask Connect SDK (@metamask/connect-evm) instead of the legacy @metamask/sdk package. The new SDK package was developed to improve overall reliability (particularly in deeplink facilitated connections) but maintains full backwards compatibility. Existing code using the MetaMask connector will continue to work without modifications. The connector maintains the same public API and behavior.

Changes

  • Replaced @metamask/sdk dependency with @metamask/connect-evm (v0.1.2)
    • Refactored metamask connector implementation to use the new SDK's API
  • Updated documentation to reflect new parameter names (dappMetadatadapp, loggingdebug)
  • Updated code owners for the MetaMask connector

We are happy to hop on a call and discuss if you have any questions or concerns. We have thoroughly tested these changes in a copy we of the WAGMI playground into our repo (for convenience) but welcome your testing as well!

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jan 8, 2026

🦋 Changeset detected

Latest commit: 98b599d

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

This PR includes changesets to release 3 packages
Name Type
@wagmi/connectors Minor
wagmi Patch
@wagmi/vue Patch

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

@ffmcgee725 ffmcgee725 changed the title Migrate MetaMask connector to new MetaMask Connect SDK Upgrade MetaMask Connector to use the new MetaMask Connect SDK Jan 8, 2026
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs @metamask/sdk entries updated 🙏

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lines 21-37 need updating (@metamask/sdk -> @metamask/connect-evm)

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated here 6aa12ef

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 13, 2026

@ffmcgee725 is attempting to deploy a commit to the Wevm Team on Vercel.

A member of the Team first needs to authorize it.

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​metamask/​connect-evm@​0.1.27710010091100

View full report

@tmm
Copy link
Copy Markdown
Member

tmm commented Jan 20, 2026

Closing in favor of #4960

@tmm tmm closed this Jan 20, 2026
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.

5 participants