-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add Learn page on Wrapped Ether (WETH) #8203
Conversation
This page provides an overview of Wrapped Ether (WETH)--what it is, how it works, why it matters, and how it is different from Ether (ETH).
❌ ethereum-org-website-dev deploy preview failedYour build failed. View the build logs. |
src/content/wrapped-ether.md
Outdated
|
||
Locking up ETH before minting new WETH tokens ensures every amount of WETH in circulation is backed by an equal amount of ETH held in reserves. This keeps the values of WETH and ETH equal, such that you can convert WETH to ETH (and vice-versa) at a 1:1 ratio. | ||
|
||
Wrapped Ether (WETH) and other wrapped tokens are similar to [stablecoins](/stablecoins/), as their value is pegged to the value of other assets. But while stablecoins are backed by US dollars held in off-chain reserves, WETH is collateralized by ETH issued on the Ethereum blockchain. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would delete this section. You've already said that WETH:ETH == 1:1, no need to bring stablecoins into it, especially as stablecoins are not generally backed by offchain USD but a basket of various on and offchain assets that will be complicated to explain properly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed this.
src/content/wrapped-ether.md
Outdated
|
||
**Are WETH and ETH the same price?** | ||
|
||
WETH is pegged 1:1 to the price of ETH, so the value of both assets are usually equal at any time. This peg is maintained by ensuring that every unit of WETH is backed by ETH held in reserves. Forces of supply and demand also keep the prices of ETH and WETH relatively equal: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WETH is pegged 1:1 to the price of ETH, so the value of both assets are usually equal at any time. This peg is maintained by ensuring that every unit of WETH is backed by ETH held in reserves. Forces of supply and demand also keep the prices of ETH and WETH relatively equal: | |
WETH represents ETH, so the value of both assets are usually equal at any time. Since 1 WETH is immediately redeemable for 1 ETH and every WETH is 100% backed by ETH, any deviation from price equality would be immediately arbitraged away. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
...any deviation from price equality would be immediately arbitraged away.
This assumes the average reader is already familiar with arbitrage. Since the page is targeting relatively inexperienced readers, the supply-and-demand argument feels more appropriate. If an advanced reader does land on this section of the page, they'd easily understand we're talking about arbitrage.
src/content/wrapped-ether.md
Outdated
|
||
WETH is pegged 1:1 to the price of ETH, so the value of both assets are usually equal at any time. This peg is maintained by ensuring that every unit of WETH is backed by ETH held in reserves. Forces of supply and demand also keep the prices of ETH and WETH relatively equal: | ||
|
||
- If WETH were cheaper, more people would buy it and convert it to the more expensive ETH at a 1:1 ratio to make profit. This would drive up demand for WETH and increase the price of WETH tokens. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These supply/demand explanations are unnecessary IMO
- If WETH were cheaper, more people would buy it and convert it to the more expensive ETH at a 1:1 ratio to make profit. This would drive up demand for WETH and increase the price of WETH tokens. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expanded on the reason I think explaining the peg via supply and demand is better in my previous comment.
src/content/wrapped-ether.md
Outdated
WETH is pegged 1:1 to the price of ETH, so the value of both assets are usually equal at any time. This peg is maintained by ensuring that every unit of WETH is backed by ETH held in reserves. Forces of supply and demand also keep the prices of ETH and WETH relatively equal: | ||
|
||
- If WETH were cheaper, more people would buy it and convert it to the more expensive ETH at a 1:1 ratio to make profit. This would drive up demand for WETH and increase the price of WETH tokens. | ||
- If WETH is more expensive, more people would buy ETH and convert it to WETH to sell at a profit. As the supply of WETH increases, the value of WETH tokens would drop—keeping the peg relatively stable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- If WETH is more expensive, more people would buy ETH and convert it to WETH to sell at a profit. As the supply of WETH increases, the value of WETH tokens would drop—keeping the peg relatively stable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
requested some small changes, mostly simplifications. I think it is important for this page to be as clear and easy to understand as possible, especially since there have been "jokes" going around about WETH depegging.
Co-authored-by: Joseph Cook <[email protected]>
Co-authored-by: Joseph Cook <[email protected]>
Thanks for the feedback. I found an article on the formal verification of the WETH contract and added it (that should provide some evidence of its security). On a sidenote, do you think we should an FAQ item explaining the difference between WETH on Ethereum and WETH on other blockchains (e.g., Solana WETH) to clear up potential confusion? Thinking that might help users understand WETH on Ethereum isn't susceptible to some of the risks of bridged assets (e.g., what happened with the Wormhole hack). |
Just merged in the work from #12481 to consolidate these changes into one PR with the git history maintained. This is ready for final content review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thanks @corwintines and @emmanuel-awosika! I think this is ready to pull in at this point 🎉
public/content/wrapped-eth/index.md
Outdated
<ExpandableCard title="What are the WETH contracts on other networks?" eventCategory="/wrapped-eth" eventName="clicked What are the WETH contracts on other networks?"> | ||
- [Ethereum Mainnet](https://etherscan.io/token/0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2) | ||
- [Arbitrum](https://arbiscan.io/token/0x82af49447d8a07e3bd95bd0d56f35241523fbab1) | ||
- [Optimism](https://optimistic.etherscan.io/token/0x4200000000000000000000000000000000000006) | ||
</ExpandableCard> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noting we could potentially use https://tkn.xyz/weth in the future
@all-contributors please add @emmanuel-awosika for content and doc |
I've put up a pull request to add @emmanuel-awosika! 🎉 |
This page provides an overview of Wrapped Ether (WETH)--what it is, how it works, why it matters, and how it is different from Ether (ETH). This is part content approved for Q3's content strategy epic, targeted at beginner-level users of Ethereum.
Related Issue
#7240
Summary by CodeRabbit
Documentation
Bug Fixes
New Features