Mobile Metamask Not Picking Up Transactions

I am trying to have my website interact with my NFT contract. This code works perfect on PC with no problems. When I try it on the mobile MetaMask App through the browser, it gets stuck when it is called to initiate the transaction. Code below:

const provider = new ethers.providers.Web3Provider(window.ethereum);

  const signer = provider.getSigner();

  const nftContract = new ethers.Contract(contractAddress, abi, signer);

  let nftTxn = await nftContract.mintNoMerkle(1, {value: ethers.utils.parseEther("0.001")});

The web application never finishes the “await nftContract…” and is stuck there without a transaction being initiated. I don’t know how to proceed.

It’s hilarious that you are trying to scam me, but ended up actually being right. Before you posted this I uninstalled and reinstalled metamask on my phone and it fixed the issue :slight_smile:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.