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

Switch MetaMask To Localhost button and MetaMask extension aren't connected properly #140

Closed
Filipv95 opened this issue Jul 14, 2022 · 2 comments

Comments

@Filipv95
Copy link
Contributor

Description
'Switch MetaMask To Localhost' button open MetaMask extension but when I approve at extension that I want to switch network at app nothing happens. Also when I click on MetaMask extension and there manually change network then I can see my wallet address instead 'Switch MetaMask To Localhost' button.

Steps to Reproduce

  1. SpinUp Localhost env
  2. Open localhost:3000
  3. Check if Landing Page is loaded
  4. Click on 'Switch MetaMask To Localhost' button
  5. Click on 'Switch network' button at MetaMask extension

Expected behavior
When I click on 'Switch MetaMask To Localhost' button and approve at extension that I want to switch network I expect to be on Localhost and to see my wallet address.

Screen record

Screen.Recording.2022-07-14.at.17.27.50.mp4

Device Information
OS: MacOs
Browser GoogleChrome, Brave
Device: MacOS Monterey v12.4

@dcrescimbeni
Copy link
Contributor

Related to issue #136 . I think this got solved after implementing wagmi.

Now you can change the network both from MetaMask or the UI, and both get sync'd.

I can't reproduce this anymore.

@Filipv95
Copy link
Contributor Author

Filipv95 commented Aug 1, 2022

Test has passed successfully and now we can close the issue

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

No branches or pull requests

2 participants