Skip to content

change network to Kovan test #9

@Cucak

Description

@Cucak

does anyone here knows why I cant switch to kovan network with this code?
const switchKovanNetwork = async () => {
try {
await window.ethereum.request({
method: "wallet_switchEthereumChain",
params: [{ chainId: "0x42" }],
});
} catch (switchError) {}
}

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