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

MetaMask Trouble #11

Open
NonnoPinto opened this issue Aug 22, 2022 · 0 comments
Open

MetaMask Trouble #11

NonnoPinto opened this issue Aug 22, 2022 · 0 comments

Comments

@NonnoPinto
Copy link

Ive developed an easy dontaion web app using Kovan. Lastly, ive added chain check, allowing only Kovan. When someone is on another chain, i just suggest to change chain with:
window.ethereum.request({
method: 'wallet_switchEthereumChain',
params: [{ chainId: '0x2A' }],
});
Here comes the problem: it works, but the logo on MetaMask is a question point, but it is supposed to be full purple.
Everything works great and it does not even ask to add a new chain, it looks like theres two linked Kovan testnet: they are two, but work as one.
Ive tried with couple other chains and they dont have the same issue.

(Here working test to check on your own: http://nonnopinto.altervista.org/)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant