web3-react
web3-react copied to clipboard
Wallet Connect QR code doesn't open. walletConnect?.activate(chainId) gives undefined response.
I am tring to connect it with a custom testnet chainID. In start it worked fine QR code opened and I connected my app. but now QR code opens 1/50 times and gives response undefined. Can someone please tell me What's wrong.
const WalletConnect = async () => { await walletConnectV2 ?.activate(1338) .then((res) => { console.log("Response:::", res); }) .catch((err) => { console.log("Error", err); }); };
Response::: Undefined