Abstract
This paper presents an innovative proposal aimed at extending the functionality of standard Jetton master contracts within the TON blockchain ecosystem. The proposal, identified as TEP 89, introduces a mandatory on-chain provide_wallet_address
handler, facilitating the discovery of contract wallets associated with specific Jetton Masters. Authored by Sasha1618 and EmelyanenkoK, the proposal outlines a method that enables applications to identify and interact with contract wallets, streamlining operations and enhancing user experience.
Introduction
The evolution of blockchain technology has necessitated the development of more sophisticated contract interfaces to support complex operations and interactions within decentralized networks. In response to this need, TEP 89 proposes modifications to Jetton master contracts, aiming to simplify the discovery of wallet addresses through an on-chain mechanism. This initiative seeks to address the challenges faced by applications in identifying contract wallets for specific Jetton Masters, thereby optimizing transaction handling and notification processes.
Proposal Overview
- Status: Active
- Type: Contract Interface
- Authors: Sasha1618, EmelyanenkoK
- Creation Date: 08.09.2022
Motivation
The primary motivation behind TEP 89 is to enhance the functionality and interoperability of Jetton master contracts. By enabling the on-chain discovery of wallet addresses, applications can streamline the management of transfer notifications and other contract-specific operations. This capability is particularly beneficial for contracts aiming to maintain a seamless interaction with Jetton wallets, ensuring efficient processing of transactions and enhancing the overall ecosystem.
Implementation Guide
Upon the receipt of a provide_wallet_address
message containing the address in question, the Jetton Master is required to respond with the wallet address. This process involves handling specific messages and adhering to gas unit requirements to ensure successful message delivery and address discovery.
Technical Specification
Feature | Description |
---|---|
New Jetton Master Contracts | Introduction of a discoverable jetton minter code, facilitating wallet address discovery. |
Message Handling | Specification of the provide_wallet_address and take_wallet_address messages, including required gas units for operation. |
Existing Jetton Master Contracts | Guidelines for non-upgradable Jetton Masters to implement discovery functionality via a separate smart contract. |
Challenges
A potential drawback of the proposal is the dependency on the new functionality by applications, which may not support the interaction with existing Jetton Masters without the discovery feature. This limitation could hinder the processing of already existing jettons.
Rationale and Alternatives
The proposal justifies the need for an on-chain mechanism to simplify the interaction between decentralized applications and Jetton wallets. While current practices involve direct dealings with Jetton Masters, the proposed method offers a streamlined approach, potentially reducing complexity and enhancing usability.
Conclusion
TEP 89 represents a significant advancement in the functionality of Jetton master contracts within the TON blockchain. By facilitating the on-chain discovery of wallet addresses, the proposal aims to enhance the interoperability and efficiency of decentralized applications. The initiative underscores the ongoing evolution of blockchain technology and its adaptability to meet the growing needs of the ecosystem.
References
- TEP 89: Discoverable Jettons Wallets. GitHub TEPs
Future Work
The proposal opens avenues for further enhancements in contract functionality and blockchain technology at large, laying the groundwork for more sophisticated and user-friendly blockchain interactions.