Transaction does not return from contract interaction using Wallet Connect/Metamask #2452
Replies: 4 comments 6 replies
-
I am having exactly the same problem. Works fine when using the MetaMask browser or extension, but when using WalletConnect, it never returns anything about the transaction (and the transaction itself appears to be successful) |
Beta Was this translation helpful? Give feedback.
-
Same problem here. Only happens with metamask through walletconnect. Using Metamask in browser works fine. |
Beta Was this translation helpful? Give feedback.
-
hello! facing the same problem, any updates or workaround? |
Beta Was this translation helpful? Give feedback.
-
Still having this issue but its coming when using both the extension and the mobile as well. The function does not return anything. |
Beta Was this translation helpful? Give feedback.
-
Hello, sorry if this is the wrong place to post this. I am just puzzled and looking for some more info!
Currently we interact with a contract using ethers, the user authenticates with an injected metamask provider, and everything is dandy. What my problem is now is I am authenticating users on mobile with Wallet Connect, and transactions are succeeding, but I do not get any response to update my UI.
Here is an example (names have been replaced but this contract WORKS and is functioning completely fine on desktop)
What happens on mobile is when we hit the contract interaction, the user is redirected to their mobile wallet (I have tested with mobile metamask) and they are given the option to approve or reject the transaction. After approving, I wait on metamask and they give me a notification that the transaction succeeds. I can verify this by checking etherscan.
When I go back to my dapp, the first
console.log('TX')
does not even log. We don't even get to the waiting portion because the first transaction response does not return. So is this an issue in the way I am setting up the contract with ethers, or maybe a metamask/wallet connect problem? Sorry there are a lot of moving parts.Super bizarre, but it's like Metamask is not even returning the transaction response. Any help is appreciated!!
Beta Was this translation helpful? Give feedback.
All reactions