reown-com / appkit

The full stack toolkit to build onchain app UX
https://reown.com/appkit
Apache License 2.0
4.92k stars 1.4k forks source link

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

Open wallneradam opened 5 months ago

wallneradam commented 5 months ago

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"

linear[bot] commented 5 months ago

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

wallneradam commented 5 months ago

It is still an issue in 4.2.3

wallneradam commented 4 months ago

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?

rtomas commented 2 months ago

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