Skip to content

studio.ethereum.org should stop using window.web3 #275

@samajammin

Description

@samajammin

From @remarks (thanks for reporting) in ethereum/ethereum-org-website#1904:

This is not a bug yet, but the MetaMask team has noticed that studio.ethereum.org makes use of our injected window.web3 object. As described in MetaMask/metamask-extension#8077, we are going to stop injecting this object in the immediate future. If the website relies on this object to function, it will break for MetaMask users unless it migrates per our migration guide.

Specifically, we've detected usage of web3.eth.accounts. This could simply be replaced with await ethereum.request({ method: 'eth_accounts' }).

Of course, any script running on the website could be responsible for the accesses, but I recommend taking a look on your end.

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