News for hackers. Stuff that matters.
Re:Did I just lose half a million dollars? by pshc on Sunday January 30, 2022 @04:49AM (#30135429)
Also, ERC-777 tokens were supposed to fix this egregious problem by having all transfers check with their destinations (through hooks). There are also various similar extensions to ERC-20 I believe.

Unfortunately, practically no one uses 777 as far as I'm aware? Certainly the OG Wrapped ETH contract doesn't, and it can't be upgraded because it's immutable.

Re:Did I just lose half a million dollars? by Hermel on Sunday January 30, 2022 @05:03AM (#30135506)
The additional transaction fees that using ERC-777 would cost in the Ethereum network are probably much higher than someone losing half a million every now and then. So economically, adopting ERC-777 would be a step backwards.
Re:Did I just lose half a million dollars? by pshc on Sunday January 30, 2022 @05:16AM (#30135582)
I agree that deploying the full 777 would be too costly, yes, and probably open up reentrancy attacks.

But one simple check in the transfer function would have saved this person half a million. I would gladly pay that tiny extra bit of gas for their sake.

I wonder how the math shakes out over time.

Re:Did I just lose half a million dollars? by ohgodplsno on Sunday January 30, 2022 @07:08AM (#30136396)
Economically, KYC in the real world is a step backwards. Economically, laws made to restrict trading is a step backwards. There's still a damn good reason we do it, but the crypto grifters seem to only see the economical part of it for some reason.
Re:Did I just lose half a million dollars? by ljm on Sunday January 30, 2022 @09:23AM (#30137425)
In that sense, crypto to me is like a consultancy taking a complex, legacy codebase and saying it'll be easier to rewrite it from scratch.

We see how that plays out all the time. Something shiny and new is produced but it completely fails to take into account why the original system was so complex. Given enough time, it becomes just as complex as the old system, if not more complex.

Re:Did I just lose half a million dollars? by ohgodplsno on Sunday January 30, 2022 @10:11AM (#30137834)
Satoshi is a pure ancap, the lack of regulations is a feature for them. Being able to be a grifter and scam people is a feature, not a bug to most of the cryptocurrency community.