2

I'm working on an authentication feature for my app and using wagmi for the ethersjs interactions. I have two-step authentication flow: connect wallet and SIWE. This entire process works fine with MetaMask, but when I use WalletConnect I receive an error after connecting the wallet with WalletConnect+Gnosis Safe iOS here while trying to sign a message:

      const message = new SiweMessage({
        domain: window.location.host,
        address,
        statement: 'Sign in with Ethereum to the app.',
        uri: window.location.origin,
        version: '1',
        chainId,
        nonce: state.nonce,
      })

      const signature = await signMessageAsync({
        message: message.prepareMessage(),
      })

the error is

{
    "code": -32000,
    "message": "Method not found"
}

When I try same process with Gnosis Safe Web, I see the signature popup in the app with no problem. Any ideas?

1 Answer 1

1

The iOS app doesn't support signing messages at the moment

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.