Skip to content

MetaMask Trouble  #11

Description

@NonnoPinto

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/)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions