TRC20 standard and token specification in Telegram Open Network

admin

Administrator
Команда форума
Сообщения
650
Реакции
190
TRC20 standard interface and implementation for tokens in Telegram Open Network

The following standard allows for the implementation of a standard API for tokens within smart contracts. This standard provides basic functionality to transfer tokens, as well as allow tokens to be approved so they can be spent by another on-chain third party.

A standard interface allows any tokens on TON to be re-used by other applications: from wallets to decentralized exchanges. TON supports build-in extra currencies. According to the current documentation, extra currencies are distinguished by ID and total supply. There is no mention that the extra currency is based on its own smart contract. In this case, TRC20 makes sense, because many consumers would like to have additional token functionality. TON also supports the creation of new workchains. But according to the available documentation, creating your own workchain is time-consuming, in contrast to creating a new TRC20 token.

TRC20 specification

get_name
get_symbol
get_decimals
get_total_supply
balance_of
allowance
transfer
transfer_from
approve


Github: https://github.com/cod1ng-studio/TRC20
 
Сверху