News for hackers. Stuff that matters.
Re:Did I just lose half a million dollars? by CydeWeys on Sunday January 30, 2022 @09:55AM (#30137703)
None of these explanations have ever covered what the hell WETH is, or the reason the person was trying to exchange it. Seems like there's still a lot of implicit assumptions in these explanations.
Re:Did I just lose half a million dollars? by runeks on Sunday January 30, 2022 @10:34AM (#30138011)
WETH is short for “wrapped Ether”. It’s a token issued on the Ethereum blockchain. This token conforms to the so-called ERC-20 standard, which is — essentially — the API of the token. Ether itself does not conform to the ERC-20 standard, which is why wrapping it is necessary to e.g. exchange it for other ERC-20 tokens via a smart contract designed for this purpose (confusingly called a “swap”).
Re:Did I just lose half a million dollars? by m3kw9 on Sunday January 30, 2022 @11:32AM (#30138548)
WETH is the ERC20(coins) version of ETH. It turns ETH into coins, so the contracts have an easier time interact with it