web3modal icon indicating copy to clipboard operation
web3modal copied to clipboard

[bug] Invoking ERC-20 contract's approve method shows blank transaction window with authConnector (email)

Open wallneradam opened this issue 1 year ago • 4 comments

Link to minimal reproducible example

https://stackblitz.com/edit/web3modal-next-template-pxafet?file=app%2Fpage.jsx

Summary

When I invoke the approve method of USDC contract, I got a blank transaction window when I connected with email:

image

After that I invoke my NFT contract, and it shows transaction details, only the approve of USDC is blank.

It should show the transaction details to approve.

List of related npm package versions

"@tanstack/react-query": "^5.37.1", "@wagmi/connectors": "^5.0.2", "@wagmi/core": "^2.10.3", "@web3modal/wagmi": "4.2.1", "viem": "^2.11.0", "wagmi": "^2.9.2"

wallneradam avatar May 22 '24 07:05 wallneradam

It is still an issue in 4.2.3

wallneradam avatar May 28 '24 07:05 wallneradam

It is shown in 5.0.4. Though I use Polygon network and it shows ETH instead of Matic:

image

Is it just converted to ETH, or is it wrong?

wallneradam avatar Jul 03 '24 12:07 wallneradam

Can you update the reproducible example ? Which wallet are you using ?

rtomas avatar Aug 13 '24 03:08 rtomas

Please update to the latest AppKit release, and let me know if you're still seeing the same issue. I'll close this issue for now.

0xmkh avatar Jan 23 '25 11:01 0xmkh