WalletConnect Fails to Detect MetaMask Despite It Being Installed #5461
Unanswered
ValerieKC
asked this question in
Developer Support
Replies: 1 comment
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Description
I am encountering an issue where WalletConnect does not detect MetaMask, even though I have the MetaMask Chrome extension installed and it is up to date. I have verified that MetaMask is installed and enabled using window.ethereum, which confirmed its presence. Additionally, I have allowed localhost to access MetaMask by selecting the account I want to use on this site.
Environment
MetaMask Chrome Extension: 12.5.0 (latest version)
@reown/appkit: ^1.1.7
@reown/appkit-adapter-ethers: ^1.1.7
ethers: ^6.13.4
@vitejs/plugin-react: ^4.0.0
vite: ^4.3.9
vite-plugin-compression2: ^0.10.2
react": ^17.0.2
Steps Taken
I have checked if MetaMask is installed using window.ethereum, and it confirmed that MetaMask is installed and enabled.
I am using useAppKit and related hooks to integrate WalletConnect with my application.
The code attempts to connect to the wallet using the open function from useAppKit, but WalletConnect does not detect MetaMask.
Expected Behavior
WalletConnect should detect MetaMask and allow me to connect.
Actual Behavior
WalletConnect fails to detect MetaMask, even though it is installed and confirmed using window.ethereum.
Screen shot
Image 1: It should display "installed" if MetaMask is successfully detected. .
Image 2: allowed localhost to access MetaMask by selecting the account I want to use on my site
Image 3: get this warning after first load
Code
##Questions
Beta Was this translation helpful? Give feedback.
All reactions