question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error when trying to activate walletconnect with web3-react connector

See original GitHub issue

Hi guys ,

I followed the example and tried to activate web3-react walletconnect connector but i am facing an error below

walletconnect-connector.esm.js:238 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'connected')

currently i am using usedApp @ v0.10.1 with web3-react/walletconnect-connector @v.6.2.10 while the example is 0.10.0 and 6.2.4

Any idea? Thanks

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
quaglierocommented, Feb 4, 2022

Also same problem.

If you fix your walletconnect version to 6.2.4 it works.

Update: 6.2.8 works, anything after that doesn’t. @ryanchanplc @FanManutd

0reactions
ryanchanplccommented, Feb 23, 2022

i confirm it is @web3-react/walletconnect-connector version problem as @quagliero mention any version after 6.2.8 will not work.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Connect to Wallet Connection with @web3-react ... - GitHub
Hi, I made connection with Wallet Connection with code bellow but I get error is Cannot read properties of undefined (reading 'connected').
Read more >
[SOLVED] Wallet Connect not working (React) - Moralis Forum
The error from the screenshot is not related to walletconnect. If that error is breaking the app, try commenting the line with .get...
Read more >
Web3-React: Walletconnect does not set active and account in ...
Having a balance in your accounts doesn't matter. Import error and setError from useWeb3React along with the others you're already importing.
Read more >
@web3-react/core UnsupportedChainIdError JavaScript ...
The following examples show how to use @web3-react/core. ... PENDING) // if the connector is walletconnect and the user has already tried to...
Read more >
@web3-react/walletconnect-connector - npm
Start using @web3-react/walletconnect-connector in your project by running `npm i @web3-react/walletconnect-connector`.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found