EN ▼
Favorites
My Favorites
View All
Market Cap Price 24h%

Disclaimer: Content does not constitute investment advice. Trading involves risks—please invest with caution!

The core team of TON and Tonkeeper have launched the W5 smart wallet. The TON model with no gas fees

2026-10-15 00:10:43
Bookmark

TON核心团队携手Tonkeeper推出了全新W5智能钱包,标志着TON正式实现无Gas费交易。这一创新不仅让用户操作更加便捷,也为TON生态的发展注入了新的活力,开创了加密交易的新体验。

Tonkeeper 电池和无Gas交易是创新功能,可帮助人们使用 TON,而无需购买 Toncoin。本文介绍了电池和无Gas交易的实现方式、功能和权衡。

TON 上手指南

TON 是一个“多资产”区块链网络。除了内置的加密货币 Toncoin 外,TON 还拥有各种同质化代币:稳定币 USDT、质押“tsTON”、即点即赚 Notcoin 等。还有多种形式的非同质化代币(NFT),包括艺术品、收藏品、代币化用户名或域名等。

首次使用 TON 时,许多人可能没有 Toncoin,也没有任何购买的意图。用户可能已收到 USDT 付款或在比赛中获得 NFT 奖品。在这种情况下,这些用户无法使用这些加密货币做任何事情,直到他们有一些 Toncoin 来支付区块链费用。Gasless 和 Battery 是为所有新手解决此问题的功能 - 通过帮助以不同的方式支付区块链费用,而无需先获得 Toncoin。

Gas和无Gas交易

Every transaction on the blockchain consumes computational resources. This consumption is measured in “gas”. The gas fees are paid using Toncoin, the native cryptocurrency of TON. “Gas-free transactions” mean that users don’t need to worry about paying gas fees. However, this doesn’t mean that gas fees disappear or become free of charge. It simply means that users don’t need to worry about not having enough Toncoin to cover the fees. For example, “gas-free USDT” transactions are processed using USDT available in the user’s account balance.

What is a Tonkeeper Battery?

A Tonkeeper Battery is a small off-chain account within Tonkeeper. When a user doesn’t have enough Toncoin, the battery will take care of paying the fees on their behalf. Fees are calculated based on the number of transactions: a single transaction costs simply the amount of Toncoin required for the transfer; multiple transactions may involve tokens or NFTs, and even more complex transactions may require higher fees. Users can recharge their batteries in various ways—using bank cards, USDT, or even other cryptocurrencies like Notcoin for in-app purchases. Once recharged, the battery can be used to pay for various types of transactions, including transfers of tokens, NFTs, operations related to equity pools, and DNS records.

Differences between gas-free transactions and batteries

Gas-free transactions make transactions simpler—no additional setup is required. There’s no need to purchase Toncoin or recharge the battery. However, gas-free transactions are limited to alternative cryptocurrencies with known behavior and low volatility, such as stablecoins like USDT.

Batteries do not have this limitation. They can be charged by users and used for various transactions. This includes transferring any tokens or NFTs, as well as performing other operations using smart contracts.

Charging batteries using tokens

To charge batteries with supported cryptocurrency tokens, simply send them from the wallet that needs to charge to the battery.ton address. When a user initiates a transfer to battery.ton, Tonkeeper does not send this transaction to the TON network. Instead, it sends it to the Tonkeeper relay service. The relay service checks the transaction and verifies whether it can be paid the minimum fee. Then, it records the transaction in the battery’s balance and publishes it along with the transaction fee. Once this transaction is completed, the user’s battery balance increases, allowing them to conduct further transactions.

Wallet abstraction W5

This architecture benefits from Wallet Smart Contract Version 5, also known as W5. Tonkeeper has developed original technologies for zero-gas transactions and unlimited scalability. In July 2024, the TON Core team and Tonkeeper jointly established an open standard. All wallets in the TON ecosystem still support the previous standard, Wallet Version 4, although they lack the special features of zero-gas transactions. In the future, all new accounts created in Tonkeeper and other TON ecosystem wallets will be created using W5 by default. Users can access both Version 4 and W5, and easily switch between them.

什么是钱包智能合约?在 TON 中,没有针对“外部消息”或由实际用户加密签名并发布在区块链上的消息的特殊逻辑。一些合约可能会收到外部消息并对其进行处理。大多数情况下,此类合约是“钱包合约”,它们实现了任何钱包的典型逻辑。这包括检查加密签名、到期时间、增加序列号以及解压嵌入的消息以发送给其他合约。

如今,大多数 TON 钱包都使用“版本 4 修订版 2”,该合约支持最多 4 条同时发送的消息,并且可通过插件进行扩展。W5 在许多方面改进了版本 4 的设计,最重要的是允许通过另一个合约中继签名的消息。这意味着用户可以代表其钱包签署要发布的消息,并将其传递给中继服务。这会将其包装到另一笔交易中,并将其传递到用户的钱包中。

中继服务花费 Toncoin 支付 gas 费,而用户的钱包将所有 Toncoin 与发出的消息一起传递,以在下游合约中支付费用。换句话说,用户签名的消息不再是“外部”消息,而是“内部”消息。它不仅能够携带数据,还能携带支付 gas 费的 Toncoin。

使用 Tonkeeper Battery 与版本 4 钱包

Although version 4 does not support processing signed transactions via internal messaging systems, Tonkeeper Battery has been working with v4 wallets since April 2024. As of mid-June 2024, Tonkeeper Battery has processed over 2 million transactions. When users sign transactions, Tonkeeper deducts the required fees from the Battery account to pay for the gas needed to execute the transaction. The amount of Toncoins required for this payment is then sent to the user’s wallet, after which the transaction is finalized. This process incurs a slight delay of about 20 seconds, as the wallet contract needs to receive sufficient Toncoins before processing the transaction.

Using v4 wallets allows for transactions without the need for gas payments.

This represents a combination of v4’s battery-based solution and transactions without the need for gas payments: each transaction is delayed until the wallet has received enough Toncoins. Then, an additional USDT payment is made to the relay service.

This is the most efficient way to achieve transactions without the need for gas payments. However, Tonkeeper never supported this method and is now migrating to the W5 wallet. MyTonWallet already implements this mechanism. But it requires users to log in through Telegram to prevent potential abuse. This is because users can withdraw their Toncoins even before the USDT transaction is completed.

Efficiency

A common benchmark for measuring the efficiency of Battery and gas-free transactions is regular token transfers. The following table summarizes the costs associated with these processes, including both fees and delays. This compares different ways in which these features can be utilized in V4 and W5 wallets.

最有效的交易中继方式是使用 Toncoins 余额。但为了方便没有任何 Toncoin 的用户,Battery 和 W5 钱包的用户体验仅允许在其终端进行简单的单笔交易。用户支付一次 Battery 费用,然后交易直接通过钱包中继。所有这些都将费用和延迟方面的开销降到最低。效率最低的模式是尝试使用无Gas交易和 v4:它执行 Battery+v4 解决方法,但针对每笔交易。

注意:此图表假设用户没有可用于支付 Gas 费用的 TON

*这些费用基于TON的价格为7美元。

Disclaimer:

All content published on this website, including hyperlinks, related applications, forums, blogs, and other media accounts, originates from third-party platforms and their users. CoinMarketInsight makes no representations or warranties of any kind regarding the website or its content. All blockchain-related data and other materials are provided for informational and research purposes only and do not constitute financial, legal, or investment advice. Users and third parties are solely responsible for the content they publish. CoinMarketInsight shall not be liable for any losses arising from the use of this website. You should exercise caution and conduct your own independent research, review, analysis, and verification before making any decisions.

Read Full Article
More Articles
TOP

TOP