Skip to content

The method 'wallet_switchEthereumChain' does not exist / is not available. #18583

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

Closed
neilhoff opened this issue Oct 6, 2021 · 5 comments · Fixed by brave/brave-core#10819
Closed
Assignees
Labels
feature/web3/wallet Integrating Ethereum+ wallet support feature-request native-change This change is on the Chromium side, usually in C++ OS/Desktop priority/P2 A bad problem. We might uplift this to the next planned release. QA/No release-notes/exclude

Comments

@neilhoff
Copy link

neilhoff commented Oct 6, 2021

Description

I am attempting to claim some rewards from https://cryptomeda.tech/staking and keep getting this error: The method 'wallet_switchEthereumChain' does not exist / is not available.

I talked with their support and they said to use chrome instead. I don't want to use chrome 😉

wallet_switchEthereumChain comes from EIP-3326

Steps to Reproduce

From Console run something like this:

await ethereum.request({
    method: 'wallet_switchEthereumChain',
    params: [{ chainId: '0x89' }],
  });

Actual result:

image

Brave version (brave://version info)

  • Brave | 1.30.87 Chromium: 94.0.4606.71 (Official Build) (64-bit)
  • Revision: 1d32b169326531e600d836bd395efc1b53d0f6ef-refs/branch-heads/4606@{Brave Rewards info links #1256}
  • Windows 10 Version 21H1 (Build 19043.1237)
@srirambv
Copy link
Contributor

srirambv commented Oct 6, 2021

Are you using Brave Crypto Wallet Extension or MM? I don't believe we have support for EIP-3326 on our wallet extension.

cc: @bbondy @onyb

@srirambv srirambv added the needs-more-info The report requires more detail before we can decide what to do with this issue. label Oct 6, 2021
@neilhoff
Copy link
Author

neilhoff commented Oct 6, 2021

I am using the Brave Crypto Wallet Extension.

Is there someplace better where I can request adding support for this?

@srirambv srirambv added feature/web3/wallet Integrating Ethereum+ wallet support feature-request labels Oct 6, 2021
@srirambv
Copy link
Contributor

srirambv commented Oct 6, 2021

We can use this issue itself as feature request

@onyb
Copy link
Member

onyb commented Oct 6, 2021

I confirm that we currently do not support EIP-3326 in the wallet extension. We have added this to the roadmap of our native wallet which is coming out soon and will eventually replace the wallet extension. You can track its progress on our project board.

@bbondy bbondy added priority/P2 A bad problem. We might uplift this to the next planned release. native-change This change is on the Chromium side, usually in C++ and removed needs-more-info The report requires more detail before we can decide what to do with this issue. labels Oct 28, 2021
@darkdh darkdh self-assigned this Oct 29, 2021
@darkdh darkdh added the QA/No label Nov 2, 2021
@darkdh
Copy link
Member

darkdh commented Nov 2, 2021

QA will be testing on #19160

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/web3/wallet Integrating Ethereum+ wallet support feature-request native-change This change is on the Chromium side, usually in C++ OS/Desktop priority/P2 A bad problem. We might uplift this to the next planned release. QA/No release-notes/exclude
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants