Skip to content
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

Message signing for fox wallet #2226

Open
1 task done
kr-keshav-kk opened this issue Jun 7, 2024 · 2 comments
Open
1 task done

Message signing for fox wallet #2226

kr-keshav-kk opened this issue Jun 7, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@kr-keshav-kk
Copy link

kr-keshav-kk commented Jun 7, 2024

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

  • 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 kr-keshav-kk added the bug Something isn't working label Jun 7, 2024
@Adamj1232
Copy link
Member

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

@kr-keshav-kk
Copy link
Author

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;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants