TRONSCAN CLASS —TRC10 & TRC20 Comparison

TRONSCAN
2 min readJun 26, 2019

--

TRC-10 is a technical token standard supported by the TRON blockchain natively. TRC‌-20 is a technical standard used for smart contracts on the TRON blockchain for implementing tokens with the TRON Virtual Machine (TVM). It is fully compatible with ERC‌-20. Below is the interface:

  • Java
contract TRC20Interface {
function totalSupply() public constant returns (uint);
function balanceOf(address tokenOwner) public constant returns (uint balance);
function allowance(address tokenOwner, address spender) public constant returns (uint remaining);
function transfer(address to, uint tokens) public returns (bool success);
function approve(address spender, uint tokens) public returns (bool success);
function transferFrom(address from, address to, uint tokens) public returns (bool success);
event Transfer(address indexed from, address indexed to, uint tokens);
event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
}

The following are some comparisons between TRC-10 and TRC-20, and how these differences might be significant for each of the communities. The highlights are that TRC-10 has about 1000 times lower transaction fee than TRC-20 and can be accessed via API.

Developers

* Each TRC-20 can have more interfaces
** For example, Create Token API
*** These operators are intended to be verified contracts, such as an exchange, a check processor, or an automatic charging system.

Investors

Exchanges/Wallets

Platform

Cost

Community

--

--

TRONSCAN
TRONSCAN

Written by TRONSCAN

Explore the TRON World | http://tronscan.org | Tele: https://t.me/tronscan_org #TRON #TRX $TRX #TRONSCAN

No responses yet