Những gì được bọc Ethereum (WetH) và nó hoạt động như thế nào?

189
SHARES
1.5k
VIEWS

Related articles

Các nhà giao dịch sử dụng mạng Ethereum quen thuộc với tiêu chuẩn kỹ thuật ERC-20 và có nhiều khả năng giao dịch và đầu tư vào các thẻ sử dụng nó. Xét cho cùng, tính thực tiễn, minh bạch và tính linh hoạt của nó đã làm cho nó trở thành tiêu chuẩn ngành công nghiệp cho các dự án dựa trên Ethereum.

Như vậy, nhiều các ứng dụng phi tập trung (DApps), ví tiền điện tử và trao đổi hỗ trợ mã thông báo ERC-20. Tuy nhiên, có một vấn đề: Ether ( ETH) và ERC-20 không tuân theo chính xác các quy tắc tương tự, vì Ether được tạo ra cách trước khi ERC-20 được thực hiện như một tiêu chuẩn kỹ thuật.

Vậy, tại sao bọc ETH lại quan trọng? Nói tóm lại, các token ERC-20 chỉ có thể được giao dịch với các token ERC-20 khác, không phải Ether. Để thu hẹp khoảng cách này và cho phép trao đổi Ether cho các thẻ ERC-20 (và ngược lại), mạng Ethereum đã giới thiệu gói Ethereum (WETH). Điều đó nói rằng, WetH là phiên bản ERC-20 có thể giao dịch của ETH.

Ether bọc (WETH) là gì?

Như đã đề cập, WetH là phiên bản bọc của Ether, và nó được đặt tên như vậy vì WETH về cơ bản là Ether “bọc” với các tiêu chuẩn mã thông báo ERC-20. Tiền xu bọc và thẻ hầu như có giá trị tương tự như tài sản cơ bản của họ.

Vì vậy, được bọc Ethereum an toàn để thương mại và đầu tư vào? Câu trả lời là có, theo như Ethereum có liên quan. WETh được gắn với giá ETH ở tỷ lệ 1:1, vì vậy về cơ bản chúng giống nhau. Sự khác biệt duy nhất giữa các thẻ bọc và tài sản cơ bản của họ là các trường hợp sử dụng của họ, đặc biệt là đối với các đồng tiền cũ như Bitcoin ( BTC) và Ether.

Token bọc giống như stablecoins, để một mức độ nhất định. Hãy nghĩ về nó, stablecoins cũng có thể được coi là “gói USD”, vì chúng có giá trị tương tự như tài sản cơ bản của họ, đồng đô la Mỹ. Chúng cũng có thể được đổi thành tiền tệ fiat bất cứ lúc nào.

Bitcoin cũng có một phiên bản bọc được gọi là Bọc Bitcoin, có giá trị tương tự như Bitcoin. Điều tương tự cũng vậy với các blockchain khác như Fantom và Avalanche.

Các thẻ Ethereum gói có thể được mở ra sau khi chúng đã được gói, và quá trình này là đơn giản: Người dùng chỉ cần gửi thẻ WETh của họ đến một hợp đồng thông minh trên mạng Ethereum, sau đó sẽ trả lại một số tiền tương đương của ETH.

Token bọc giải quyết các vấn đề khả năng tương tác mà hầu hết blockchains có và cho phép trao đổi dễ dàng của một token cho một token khác. Ví dụ, người dùng thường không thể sử dụng Ether trên Bitcoin hoặc Avalanche trên Ethereum blockchain. Thông qua gói, tiền xu cơ bản được tokenized và gói với một tiêu chuẩn token của blockchain nhất định, do đó cho phép sử dụng chúng trên mạng đó.

Làm thế nào để bọc Ethereum (WetH) hoạt động?

Không giống như Ether, WETH không thể được sử dụng để trả phí gas trên mạng. Bởi vì nó tương thích ERC-20, tuy nhiên, nó có thể được sử dụng để cung cấp nhiều cơ hội đầu tư và khoanh vùng trên DApps. WeTh cũng có thể được sử dụng trên các nền tảng như OpenSea để mua và bán thông qua đấu giá.

Wrapping Ether tokens involves sending ETH to a smart contract. The smart contract will generate wETH in return. Meanwhile, ETH is locked to ensure that the wETH is backed by a reserve. 

Bất cứ khi nào WETH được trao đổi trở lại ETH, WETH trao đổi sẽ bị đốt cháy hoặc loại bỏ khỏi lưu thông. Điều này được thực hiện để đảm bảo rằng WETH vẫn gắn với giá trị của ETH mọi lúc. weTh cũng có thể được mua lại bằng cách trao đổi các token khác cho nó trên một sàn giao dịch crypto, chẳng hạn như SusHisWap hoặc Uniswap.

So, what is the point of wrapped Ethereum? According to WETH.io, the ultimate goal is to update Ethereum’s codebase and make it ERC-20 compliant in itself, eventually eliminating the need to wrap Ether for the purpose of interoperability. But, until then, wETH continues to remain useful in providing liquidity to liquidity pools, as well as for crypto lending and NFT trading, among others. 

Nói tóm lại, nó không thực sự là một vấn đề của ETH so với WetH kể từ khi gói Ethereum là một giải pháp thay thế hơn là một giải pháp vĩnh viễn. Với số lượng nâng cấp dự kiến sẽ xảy ra trên Mạng Ethereum qua nhiều năm, Ethereum dường như đang tiến gần hơn về khả năng tương tác tốt hơn vào ngày.

Làm thế nào để bọc Ether (ETH)?

Có một số cách để quấn Ether. Như đã đề cập, một trong những cách phổ biến nhất để làm như vậy là gửi ETH đến một hợp đồng thông minh. Một phương pháp khác là trao đổi WETH cho một token khác thông qua một trao đổi crypto.

Hãy xem xét ba cách để tạo ra WETH trong các phần dưới đây:

Sử dụng hợp đồng thông minh WETH trên OpenSea

Trong ví dụ này, chúng tôi sẽ sử dụng nền tảng OpenSea để chuyển đổi ETH thành WETH bằng hợp đồng thông minh WETH.

First, click on “Wallet,” located at the top-right corner of OpenSea. Then, click on the three dots next to Ethereum and select “Wrap.”

Step 1: Select  Wrap to convert ETH to WETH on OpenSea

Next, enter the value for the amount of ETH to be converted to wETH. Then, click “Wrap ETH.” This will call the wETH smart contract to convert ETH into wETH.

Step 2: Enter the amount of ETH that you want to convert to WETH

A MetaMask pop-up will appear, prompting the user to sign the transaction. 

Step 3: Confirm the transaction

A confirmation message will then appear once the wrap is complete.

Step 4: Confirmation of conversion of tokens

The converted wETH will show up in the wallet portion of the user’s OpenSea account. The wETH will bear a pink Ethereum diamond as its logo, distinguishing it from ETH.

Generating wETH via Uniswap

When using Uniswap, a user first has to connect their wallet and ensure the Ethereum network is selected.

Step 1: Connect your wallet and select the Ethereum network on Uniswap

Then, click “Select Token,” located at the bottom field, and select wETH from the list of options. 

Step 2: Select "WETH" from the list of tokens available

Now, input the amount of ETH to be converted to wETH and click “Wrap.”

Step 3: Enter the amount of ETH that you want to convert to WETH and click "Wrap"

The transaction will then need to be confirmed from the user’s crypto wallet. Gas fees in ETH will also need to be paid at this stage. Once all the details are in order and the transaction has been confirmed from the user’s end, all that’s left to do is to wait for the transaction to be confirmed in the blockchain.

Generating wETH with MetaMask

Upon opening the MetaMask wallet, begin by ensuring that the selected network is “Ethereum Mainnet.” Then, click “Swap.”

Step 1: Select "Ethereum Mainnet" on MetaMask before clicking swap

Then, select wETH from the “Swap to” field.

Step 2: Select WETH from the “Swap to” field

Next, input the amount of ETH to be swapped. Then, click “Review Swap.”

Enter the amount of ETH you want to swap and click Review Swap

A window displaying a quote of the conversion rate will appear. Since it involves the conversion of ETH to wETH, the rate should be 1:1. To finalize the transaction, click “Swap.”

Step 4: Click "Swap" to finalize the transaction

How to unwrap Ether (ETH)?

Unwrapping Ether can also be done manually, such as by interacting with a smart contract. For instance, ETH can also be unwrapped in the same way that it can be wrapped via the wETH smart contract on OpenSea. The only difference is that instead of clicking “Wrap ETH,” the user has to click “Unwrap wETH.”

The same goes for swapping wETH back to ETH, which can be done by using Uniswap or MetaMask. The process for unwrapping is essentially the same as the process outlined above for wrapping ETH on both platforms. The only difference is that the values should be changed (from wETH to ETH).

What are the risks of using wrapped tokens?

Ethereum co-creator Vitalik Buterin himself pinpointed one of the main disadvantages of wrapped assets. According to Buterin, the main problem with many of these wrapped assets is their sensitivity to centralization. 

Currently, wrapping assets are not Turing-complete and cannot be automated via the Ethereum blockchain. As discussed, wrapping is usually only carried out using central programs, thus the concern for possible manipulation and abuse.

Issued wrapped tokens depend on the third-party platforms that issue them, inevitably subjecting decisions pertaining to wrapped assets to central entities. Buterin voiced his concerns about the possibility of such a mechanism undermining the core principles of decentralization and transparency that the blockchain industry stands for.

Future of wrapped tokens

Currently, wrapped tokens make it possible for blockchains to interact with one another. This allows for a much more decentralized ecosystem, where tokens can be easily traded or exchanged between different platforms.

Better interoperability solutions are on the horizon, such as updating blockchains’ codebases to be compatible with each other or using bridge chains. For Ethereum, at least, the plan is to eventually phase out the use of wrapped tokens like wETH alongside network developments.

This does not mean that wrapped tokens are going away anytime soon. They will continue to play an important role, providing valuable service to those who need it. For one, wrapped tokens can serve as a stabilizing force between different blockchains, as they help maintain consistent prices between them.

They can also help facilitate cross-chain atomic swaps, which are becoming increasingly popular. In the long run, however, wrapped tokens will likely become less and less necessary as blockchains become more interoperable.

Purchase a licence for this article. Powered by SharpShark

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *