Skip to content

"web3.setProvider is not a function" #4

@vindicatorr

Description

@vindicatorr
Uncaught TypeError: web3.setProvider is not a function
    at checkMetamask ((index):26:10)
    at (index):21:9

web3.setProvider(window.ethereum);
https://docs.metamask.io/guide/provider-migration.html#replacing-window-web3

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