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

Warn when sending a token to its own address #9437

Closed
2 tasks
danfinlay opened this issue Sep 17, 2020 · 10 comments · Fixed by #10546
Closed
2 tasks

Warn when sending a token to its own address #9437

danfinlay opened this issue Sep 17, 2020 · 10 comments · Fixed by #10546

Comments

@danfinlay
Copy link
Contributor

For example

This is a common way to lose funds. I honestly thought we already prevented this, but it seems not.

Acceptance criteria:

  • When sending a token to its own address, warn the user "The recipient of this transaction is the token address, this is probably not who you mean to send to." (other copy nominees accepted)

Maybe even:

  • Require a user check an extra box that is labeled I am sure I want to probably lose these tokens before the Confirm button is enabled.
@jacobc-eth jacobc-eth added the needs-design Needs design support. label Oct 21, 2020
@jacobc-eth
Copy link

@cjeria I heard you may already have some designs on this?

@cjeria
Copy link
Contributor

cjeria commented Oct 21, 2020

I didn't find this specific warning message but I did mock up an additional error message for this use case. Here's the Figma file where these can be found. cc @rachelcope
image

@jacobc-eth
Copy link

@jacobc-eth
Copy link

Related: #9673

@epheph
Copy link

epheph commented Dec 4, 2020

Is there any way to bump the priority of this issue? I don't have definitive proof, but I believe that metamask is the wallet used in many of the losses found on the TokenOops twitter bot, and those losses are commonly over $10,000/day

@rachelcope rachelcope removed the needs-design Needs design support. label Feb 16, 2021
@rachelcope
Copy link

rachelcope commented Feb 24, 2021

Designs ready. View designs in Figma

This error message is should follow the patterns set out in the error/notification system

image

@rachelcope
Copy link

rachelcope commented Feb 24, 2021

If this is error is implemented before the new transaction confirmation, then the banner should be shown at the top of the current transaction confirmation design.

@epheph
Copy link

epheph commented Mar 3, 2021

Amazing, awesome!

@epheph
Copy link

epheph commented Apr 28, 2022

Any idea what happened to this feature? Metamask does not warn any more and users are losing significant funds again.

https://etherscan.io/tx/0x4ac70627fa303cf8dd6bb26b5dc63eab653bac88736c642394a952489cac7231

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

Successfully merging a pull request may close this issue.

10 participants