Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About window.ethereum.send #1

Open
opensourcex123 opened this issue Mar 10, 2023 · 1 comment
Open

About window.ethereum.send #1

opensourcex123 opened this issue Mar 10, 2023 · 1 comment

Comments

@opensourcex123
Copy link

我看以太坊改进提案中提到window.ethereum.send和window.ethereum.sendAsync已经被弃用了,但实际上是还能使用的,这是什么原因,到底这两个函数会不会出现在钓鱼网站中?

@rkalis
Copy link
Member

rkalis commented Mar 10, 2023

Even though they're deprecated they still work on most wallets (e.g. MetaMask). So when developing a browser extension like the Revoke extension, it is important to make sure that it's not possible to "bypass" the warnings by using deprecated functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants