Passer au contenu principal

Dernière mise à jour de la page: 2 avril 2024

Wrapped ether (WETH)

Ether (ETH) is the main currency of Ethereum. It's used for several purposes like staking, as a currency, and paying for gas fees for computation. WETH is effectively an upgraded form of ETH with some additional functionality required by many applications and

, which are other types of digital assets on Ethereum. To work with these tokens, ETH must follow the same rules they do, known as the ERC-20 standard.

To bridge this gap, wrapped ETH (WETH) was created. Wrapped ETH is a smart contract that lets you deposit any amount of ETH into the contract and receive the same amount in minted WETH that conforms to the ERC-20 token standard. WETH is a representation of ETH that allows you to interact with it as an ERC-20 token, not as the native asset ETH. You will still need native ETH to pay for gas fees, so make sure you save some when depositing.

You are able to unwrap WETH for ETH by using the WETH smart contract. You can redeem any amount of WETH with the WETH smart contract, and you will receive the same amount in ETH. The WETH deposited is then burned and taken out of the circulating supply of WETH.

Roughly ~3% of the circulating ETH supply is locked in the WETH token contract making it one of the most used

. WETH is especially important with users interacting with applications in decentralized finance (DeFi).

Why do we need to wrap ETH as an ERC-20?

ERC-20 defines a standard interface for transferable tokens, so anyone can create tokens that interact seamlessly with applications and tokens that use this standard in Ethereum's ecosystem. Since ETH predates the ERC-20 standard, ETH doesn't conform to this specification. This means you can't easily exchange ETH for other ERC-20 tokens or use ETH in apps using the ERC-20 standard. Wrapping ETH gives you the opportunity to do the following:

  • Exchange ETH for ERC-20 tokens: You cannot exchange ETH directly for other ERC-20 tokens. WETH is a representation of ether that complies with the ERC-20 fungible token standard and can be exchanged with other ERC-20 tokens.

  • Use ETH in dapps: Because ETH isn’t ERC20-compatible, developers would need to create separate interfaces (one for ETH and another for ERC-20 tokens) in dapps. Wrapping ETH removes this obstacle and enables developers to handle ETH and other tokens within the same dapp. Many decentralized finance applications use this standard, and create markets for exchanging these tokens.

Wrapped ether (WETH) vs ether (ETH): What is the difference?

Ether (ETH)Wrapped Ether (WETH)
SupplyThe supply of ETH is managed by the Ethereum protocol. The issuance of ETH is handled by Ethereum validators when processing transactions and creating blocks.WETH is an ERC-20 token whose supply is managed by a smart contract. New units of WETH are issued by the contract after it receives ETH deposits from users, or units of WETH are burned when a user wishes to redeem WETH for ETH.
OwnershipOwnership is managed by the Ethereum protocol through your account balance.Ownership of WETH is managed by the WETH token smart contract, secured by the Ethereum protocol.
GasEther (ETH) is the accepted unit of payment for computation on the Ethereum network. Gas fees are denominated in gwei (a unit of ether).Paying gas with WETH tokens is not natively supported.

Frequently asked questions

Further reading

Cet article vous a été utile ?