-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Unsupported method "eth_signtypeddata_v4" with WalletConnect & Trust Wallet #3012
Comments
Hi, this issue is related to WalletConnect namespaces, this happens when you use only one chain, in the configuration you can try as workaround something like const chains = [mainnet, mainnet]
const connector = new WalletConnectConnector({
chains,
options: {
projectId: import.meta.env.VITE_WC_PROJECT_ID,
},
}); Placing it directly in the This will be fixed once we go full optional namespaces. |
No freakin way. How did you figure that out? |
Hi, i'm having same issue but multiple chains already passed ( |
@TheJuze with which wallet? Can you share repro steps? |
Trust wallet. Repro steps:
|
This issue has been locked since it has been closed for more than 14 days. If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest wagmi version. If you have any other comments you can create a new discussion. |
Is there an existing issue for this?
Package Version
1.4.2
Current Behavior
When signing typed data connected via WalletConnect (Trust Wallet) an error is thrown.
Expected Behavior
You can use
eth_signtypeddata_v4
Steps To Reproduce
Try to use
useSignTypedData
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
https://github.com/niratodev/wagmi-walletconnect-trust-wallet-no-method
Anything else?
Apologies if Wagmi is not the source of the issue. I have searched and cannot pinpoint the source, so I am starting here. All indications point to:
eth_signtypeddata_v4
is supportedThe text was updated successfully, but these errors were encountered: