web3modal
web3modal copied to clipboard
[bug] web3modal/siwe - SIWE does not popup when connecting with wallet
Link to minimal reproducible example
https://github.com/2facedsquid/siwe-test
Summary
When connecting with your injected wallet ( in my case I tested metamask ), the siwe message signing does not pop up, it only pops up when already connected and switching the network or the wallet account.
There is also an error in the console of the browser regarding this endpoint call - https://rpc.walletconnect.com/v1/profile/reverse/{address}?projectId={projectId}
with this response: { "status": "FAILED", "reasons": [ { "field": "address", "description": "No name for address is found" } ] }
I presume this console error is not tied to the @web3modal/siwe integration, since it is also present when siwe is not integrated
List of related npm package versions
Issue was first discovered on this config: "@tanstack/react-query": "^5.40.0", "@web3modal/siwe": "^4.2.3", "@web3modal/wagmi": "^4.2.3", "viem": "^2.13.3", "wagmi": "^2.9.8"
The issue is still happening on this config: "@tanstack/react-query": "^5.45.1", "@web3modal/siwe": "^5.0.2", "@web3modal/wagmi": "^5.0.2", "viem": "^2.15.1", "wagmi": "^2.10.2"