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

Can't writeContract due to this issue "ConnectorNotConnectedError: Connector not connected." #4309

Closed
1 task done
web3techlord opened this issue Oct 2, 2024 · 1 comment
Labels
Needs Reproduction Misc: Needs Reproduction

Comments

@web3techlord
Copy link

Check existing issues

Describe the bug

As I was following the steps of wallet connection in documentation, I had some problems.
First of all, when I reload the webpage, wallet is not connected automatically. Exactly I think it's stored in local storage, but w3m-button is not connected and just shows "Connect Wallet" text. When I click it and metamask wallet to connect, metamask connection gives an error.
image
When I run writeContract method to sign tx, it gives another error. (I attached a screenshot)
image
I couldn't get the problem completely. I just think it might be an issue on the versions of modules.
Thank you. I need any quick help.

Link to Minimal Reproducible Example

No response

Steps To Reproduce

No response

What Wagmi package(s) are you using?

wagmi, @wagmi/core

Wagmi Package(s) Version(s)

wagmi@^2.12.16, @web3modal/wagmi@^5.1.10

Viem Version

viem@^2.21.16

TypeScript Version

I don't use TypeScript

Anything else?

React jsx
"react": "^18.3.1", "react-dom": "^18.3.1", "react-router-dom": "^6.26.2", "react-scripts": "5.0.1",

@tmm tmm added the Needs Reproduction Misc: Needs Reproduction label Oct 2, 2024
Copy link
Contributor

github-actions bot commented Oct 2, 2024

Hello @web3techlord.

Please provide a minimal reproduction using StackBlitz, TypeScript Playground (for type issues), or a separate minimal GitHub repository.

Minimal reproductions are required as they save us a lot of time reproducing your config/environment and issue, and allow us to help you faster.

Once a minimal reproduction is added, a team member will confirm it works, then re-open the issue.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Reproduction Misc: Needs Reproduction
Projects
None yet
Development

No branches or pull requests

2 participants