walletconnect-dart-sdk icon indicating copy to clipboard operation
walletconnect-dart-sdk copied to clipboard

Fail to send transaction

Open Ekoios-Henry opened this issue 2 years ago • 8 comments

My steps :

  • Connect to metamask -> return session
  • Create EthereumWalletConnectProvider from session above
  • Send Transaction from instance of EthereumWalletConnectProvider -> txHash My issule : txHash success in testnet.bscscan.com but in metamask have error after sent transaction Can you have me resolve it?

Ekoios-Henry avatar Jun 25 '22 12:06 Ekoios-Henry

Evidential : https://drive.google.com/file/d/19jp61Dmv0UGvywBIp9iuEVYGFvf8mHq1/view?usp=sharing

Ekoios-Henry avatar Jun 25 '22 12:06 Ekoios-Henry

image

Ekoios-Henry avatar Jun 25 '22 12:06 Ekoios-Henry

its related to deep-link, when you open the metamask app with deep-link and try to switch between app The deep link sends the information again and again and you are having problems with it, and this error you are seeing is not related to the transaction you sent.

mrtnetwork avatar Jul 07 '22 02:07 mrtnetwork

This is issue from meta mask right?

Ekoios-Henry avatar Jul 07 '22 03:07 Ekoios-Henry

This is issue from meta mask right?

I think the problem is with Android, for example, when I get a notification from Instagram and I click on the notification to open the Instagram page, if I switch between apps and open Instagram, Instagram will show the deep page again. this example like a Metamask's deep link, Application should be designed in such a way that if a similar deep link is sent to the application, they will be ignored

mrtnetwork avatar Jul 08 '22 13:07 mrtnetwork

@Ekoios-Henry Can you share you code for switching to different testnet ?

Yaman-kumar avatar Aug 04 '22 06:08 Yaman-kumar

My steps :

  • Connect to metamask -> return session
  • Create EthereumWalletConnectProvider from session above
  • Send Transaction from instance of EthereumWalletConnectProvider -> txHash My issule : txHash success in testnet.bscscan.com but in metamask have error after sent transaction Can you have me resolve it?

I follow your steps and watch your video, and found an issue: after call EthereumWalletConnectProvider to send transaction in my app, the metamask app won't popup, instead I need to click metamask app manually to confirm the transaction.

Do you have the same issue and how to resolve it? Thanks in advanced

wcw84 avatar Aug 23 '22 08:08 wcw84

instead

its related to deep-link, when you open the metamask app with deep-link and try to switch between app The deep link sends the information again and again and you are having problems with it, and this error you are seeing is not related to the transaction you sent.

My steps :

  • Connect to metamask -> return session
  • Create EthereumWalletConnectProvider from session above
  • Send Transaction from instance of EthereumWalletConnectProvider -> txHash My issule : txHash success in testnet.bscscan.com but in metamask have error after sent transaction Can you have me resolve it?

I follow your steps and watch your video, and found an issue: after call EthereumWalletConnectProvider to send transaction in my app, the metamask app won't popup, instead I need to click metamask app manually to confirm the transaction.

Do you have the same issue and how to resolve it? Thanks in advanced

I found the solution, just call mm by "launchUrl(uri)" before send transaction

wcw84 avatar Aug 24 '22 11:08 wcw84