web3-onboard icon indicating copy to clipboard operation
web3-onboard copied to clipboard

Message signing for fox wallet

Open kr-keshav-kk opened this issue 1 year ago • 2 comments

Current Behavior

Message signing failing for fox wallet

Expected Behavior

connecting wallet works fine. But on calling sign message function it fails.

Steps To Reproduce

  1. install foxwallet android app
  2. select buy
  3. select sell in the new opened window
  4. in the 'you receive' select inr
  5. select onramp in payment channels

What package is effected by this issue?

@web3-onboard/core

Is this a build or a runtime issue?

Runtime

Package Version

"@web3-onboard/core": "^2.21.6"

Node Version

No response

What browsers are you seeing the problem on?

No response

Relevant log output

No response

Anything else?

No response

Sanity Check

  • [X] If this is a build issue, I have included my build config. If this is a runtime issue, I have included reproduction steps and/or a Minimal, Reproducible Example.

kr-keshav-kk avatar Jun 07 '24 13:06 kr-keshav-kk

This sounds like an issue with Fox wallet - can you provide me with a code example that I can look into?

Adamj1232 avatar Jun 11 '24 20:06 Adamj1232

I can provide these lines of code, which is for signing the message. It works fine for other wallets but for trust it just doesn't work.

const signer = await get(walletStatus)?.signer; if (!signer) { throw new Error('Signer is not available'); } const signedMsg = await signer.signMessage(authData?.messsageToSign);

authData.signedMessage = signedMsg;

kr-keshav-kk avatar Jun 18 '24 06:06 kr-keshav-kk