Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Use metamask sdk for wallet connect #11244

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

EdouardBougon
Copy link

@EdouardBougon EdouardBougon commented Feb 21, 2025

MetaMask SDK integration

This PR adds the connection to MetaMask using the MetaMask SDK.

The SDK must be used for both connecting via the extension and on mobile.


PR-Codex overview

This PR focuses on updating dependencies, particularly the viem and @wagmi/core packages, along with some code adjustments to accommodate these updates. It also introduces a new package, mipd, and refines wallet connection logic.

Detailed summary

  • Updated viem from ^2.22.23 to ^2.23.4.
  • Updated @wagmi/core from 2.10.5 to ^2.16.4.
  • Changed zkSync to zksync in chains.ts.
  • Added mipd package with version 0.0.7.
  • Enhanced wallet connector configurations, including metaMask.
  • Improved wallet detection logic using EIP-6963.
  • Cleaned up various wallet installation checks to be more accurate.

The following files were skipped due to too many changes: pnpm-lock.yaml

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

changeset-bot bot commented Feb 21, 2025

⚠️ No Changeset found

Latest commit: 05ae08c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

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

Copy link

vercel bot commented Feb 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
uikit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 11:26am

Copy link

vercel bot commented Feb 21, 2025

@EdouardBougon is attempting to deploy a commit to the PancakeSwap Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant