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

TypeError when connecting wallet (Brave browser) #4

Open
thorstenhirsch opened this issue Nov 24, 2024 · 1 comment
Open

TypeError when connecting wallet (Brave browser) #4

thorstenhirsch opened this issue Nov 24, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@thorstenhirsch
Copy link

After adding the plugin in Remix I click on "Connect Wallet" in the fhEVM plugin menu. Nothing happens, except the following error in the js console:

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'request')
    at o (index-DlpNvwU2.js:60:295182)
    at Object.AU (index-DlpNvwU2.js:37:9855)
    at gU (index-DlpNvwU2.js:37:10009)
    at CU (index-DlpNvwU2.js:37:10066)
    at uc (index-DlpNvwU2.js:37:31446)
    at kn (index-DlpNvwU2.js:37:31863)
    at index-DlpNvwU2.js:37:36776
    at ok (index-DlpNvwU2.js:40:36935)
    at Wr (index-DlpNvwU2.js:37:8991)
    at ws (index-DlpNvwU2.js:37:33150)

Unlocking my browser's wallet before clicking on "Connect Wallet" makes no difference.

@immortal-tofu immortal-tofu added the bug Something isn't working label Dec 11, 2024
@poppyseedDev
Copy link

We were debugging this problem internally as well. It seems like this is more of a remix + multiple wallet issue, than a Remix-Zama plugin problem.

See: https://ethereum.stackexchange.com/questions/147362/why-injected-provider-metamask-not-working

The problem for me occurred already while having multiple wallets installed (in my case Metamask + Phantom wallet). It looks like the problem occurs already already when connecting the wallet with the Injected provider - Metamask (under Deploy and run transactions).

If you only keep Metamask as a wallet and delete other wallet extensions and refresh the Remix cookies, the problem seem to be resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants