walletconnect-dart-sdk
walletconnect-dart-sdk copied to clipboard
Fail to send transaction
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?
Evidential : https://drive.google.com/file/d/19jp61Dmv0UGvywBIp9iuEVYGFvf8mHq1/view?usp=sharing
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.
This is issue from meta mask right?
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
@Ekoios-Henry Can you share you code for switching to different testnet ?
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
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