You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some code to authenticate wallets by signing a message. The code is simple :
let signature = await this.provider.send(
'personal_sign',
[ethers.utils.hexlify(ethers.utils.toUtf8Bytes(msg)), address.toLowerCase()]
)
This works fine with MetaMask (both directly and through WalletConnect) and with CoinBase wallet using WalletLink, but when using Trust Wallet, it doesn't seem to throw any errors, it just gets stuck on that line (ie the next line is never executed) - at least on iOS.
I've noticed that when I try logging in on OpenSea using TW, the signature popup also never appears for me, so it's possible that this is just something that TW doesn't support?
Has anyone had any luck with using personal_sign with TW?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have some code to authenticate wallets by signing a message. The code is simple :
This works fine with MetaMask (both directly and through WalletConnect) and with CoinBase wallet using WalletLink, but when using Trust Wallet, it doesn't seem to throw any errors, it just gets stuck on that line (ie the next line is never executed) - at least on iOS.
I've noticed that when I try logging in on OpenSea using TW, the signature popup also never appears for me, so it's possible that this is just something that TW doesn't support?
Has anyone had any luck with using personal_sign with TW?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions