Closed chetanukani closed 6 months ago
Hello @chetanukani! Any error that you may see in the console perhaps?
Hello @quetool I am not getting errors from the console log as well. And also provides some examples of how we can integrate gas estimation functions for sending transactions in smart contracts for flutter. So, if a smart contract throws an error then we can catch it from gas estimation before requestWriteContract function. Thank you!
I got the solution of redirection hence closing this issue
Wonderful @chetanukani! Do you mind sharing the answer in case is useful for other people?
Yehh! @quetool I got the solution from previously closed issues. We just call _w3mService.launchConnectedWallet();
this function after our write contract function.
I am using the web3modal wallet connect function in my Flutter app. When I connect with metamask using web3Modal in flutter and select metamask wallet then it redirects to metamask and initializes the connection request. So it working fine, but after connection with the wallet, when I try to mint NFT then the Metamask request is coming in the MetaMask App but not able to directly redirect when I click on mint. Here is my mint function code snippet