After connecting to Ambire Wallet, I try to sign a message and I get an "Invalid address" error
See original GitHub issueDescribe the bug
After connecting to Ambire Wallet, I try to sign a SIWE message with SignerCtrl from @web3modal/core and I get an “Invalid address” error.
SDK Version
“@web3modal/core”: “^2.0.0-beta.3”, “@web3modal/ethereum”: “^2.0.0-beta.3”, “@web3modal/ui”: “^2.0.0-beta.3”,
To Reproduce
Steps to reproduce the behavior:
- Copy WalletConnect link from Web3Modal;
- Choose Ambire Wallet on Web3Modal;
- Go to wallet.ambire.com, paste the WalletConnect link on “Connect dApp” and successfully connect wallet to dapp;
- Try to sign a message with
SignerCtrl.signMessage({ message: "..." })
from “@web3modal/core@^2.0.0-beta.3”; - Get “Invalid address” error.
Expected behavior
The message should be successfully signed and complete sign in on my dapp
Screenshots
Desktop (please complete the following information):
- OS: [e.g. iOS] MacOS Ventura 13.0.1
- Browser [e.g. chrome, safari] Brave
- Version [e.g. 22] Version 1.45.118 Chromium: 107.0.5304.91 (Official Build) (arm64)
Additional context
The very same message can be signed without issues with MetaMask injected wallet and with Exodus iOS wallet via WalletConnect.
Issue Analytics
- State:
- Created 10 months ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Why am I receiving an "invalid address" error?
The "invalid address" error occurs when the address you try to send to does not match the network of your wallet. For example...
Read more >Invalid signature error from ethers when trying to verify a ...
When testing with Metamask, everything is okay. When trying to verify a signature from Ambire wallet, I get "Error: invalid signature string" ...
Read more >"Invalid Address" error for cryptocurrency withdrawal
If you see the "Invalid Address" error when trying to make a withdrawal, it means you are trying to: withdraw to an old...
Read more >Invalid Address error when sending XDC coins - Ledger Support
This article describes how to solve the Invalid Address error when sending XDC coins from MyEtherWallet.This issue also affects MetaMask...
Read more >Invalid Address Error when interacting with a smart contract ...
One reason this error can be thrown is if the web3.eth.accounts array is empty, which happens if the user has not signed in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@IljaDaderko this also means that web3modal woud be broken with Argent, Gnosis Safe, Sequence and others.
Supporting smart contract wallet signatures is vital IMO
I see, well if wagmi does not implement that soonish, you can always use modal in “standalone” mode (no wagmi / lightweight mode) that works with any dev-tooling.
here is an example of this with our v2 sign sdk https://github.com/WalletConnect/web3modal/blob/V2/examples/react-standalone/src/pages/index.tsx