Skip to content

ET02_SignInWithEthereum 代码问题 #182

@yeyuqwer

Description

@yeyuqwer

const provider = new ethers.Web3Provider(window.ethereum)

使用 Web3Provider 创建 provider 时,浏览器会报错

aslkfdjindex.js:13 Uncaught (in promise) TypeError: ethers.Web3Provider is not a constructor
    at HTMLButtonElement.onClickHandler

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