Introduction of ERC-20 Standard

Last reviewed:

The ERC-20 standard is a technical specification used for creating tokens on the Ethereum blockchain. Introduced in 2015, it provides a set of rules that Ethereum-based tokens must follow, ensuring interoperability and simplifying token creation. This standard has become the foundation for many digital assets, including stablecoins like Tether (USDT), which use the Ethereum network for transactions. As of October 2023, ERC-20 remains one of the most widely adopted standards in the cryptocurrency ecosystem, facilitating a broad range of applications from [decentralized finance](/wiki/decentralized_finance) (DeFi) to initial coin offerings (ICOs).

Overview

The ERC-20 standard was proposed by Fabian Vogelsteller in November 2015. It defines a common list of rules that Ethereum tokens must implement, allowing developers to create new tokens that can interact seamlessly with other products and services on the Ethereum network. This standardization has led to the proliferation of tokens and decentralized applications (dApps) on Ethereum, making it a popular choice for blockchain projects.

ERC-20 stands for "Ethereum Request for Comment 20," and it is a protocol that developers use to create fungible tokens. Fungible tokens are identical and interchangeable, much like traditional currencies. The ERC-20 standard ensures that tokens can be transferred between accounts, approved for spending by another party, and queried for balance and supply information.

How it works

The ERC-20 standard operates through a set of six mandatory functions and three optional ones, which are implemented in a [smart contract](/wiki/smart_contract) on the Ethereum blockchain. These functions ensure that tokens can be transferred, approved for spending, and queried for balance and total supply.

Mandatory Functions

1. totalSupply: Returns the total supply of the token.
2. balanceOf: Provides the account balance of another account with a given address.
3. transfer: Transfers a specified number of tokens to a specified address.
4. transferFrom: Transfers tokens from one address to another.
5. approve: Allows a spender to withdraw from an account multiple times, up to a specified amount.
6. allowance: Returns the remaining number of tokens that a spender is allowed to withdraw from an account.

Optional Functions

1. name: Returns the name of the token.
2. symbol: Provides the symbol of the token.
3. decimals: Returns the number of decimals the token uses.

These functions are implemented in a smart contract, which is a self-executing contract with the terms of the agreement directly written into code. This contract ensures that all ERC-20 tokens behave in a predictable manner, allowing them to be easily integrated into various applications and exchanges.

Applications

The ERC-20 standard has enabled a wide range of applications, primarily due to its interoperability and ease of use. Some of the key applications include:

Decentralized Finance (DeFi)

ERC-20 tokens are extensively used in DeFi platforms, which offer financial services like lending, borrowing, and trading without traditional intermediaries. These tokens facilitate liquidity pools, yield farming, and decentralized exchanges (DEXs).

Initial Coin Offerings (ICOs)

ICOs have used ERC-20 tokens to raise capital for blockchain projects. By issuing tokens that comply with the ERC-20 standard, projects can ensure compatibility with wallets and exchanges, making it easier for investors to participate.

Stablecoins

Stablecoins like Tether (USDT) often use the ERC-20 standard to maintain a stable value pegged to a fiat currency. This allows for seamless transactions and integration with Ethereum-based applications.

Relationship to USDT

Tether (USDT) is a prominent example of an ERC-20 token. USDT is a stablecoin that aims to maintain a 1:1 value with the US dollar. By using the ERC-20 standard, USDT can leverage the Ethereum network's security and infrastructure.

The use of ERC-20 allows USDT to be easily transferred between Ethereum wallets and integrated into Ethereum-based applications. This compatibility has contributed to USDT's widespread adoption and liquidity in the cryptocurrency market.

For more details on Tether's compatibility with other standards, see ERC-20 compatibility.

Advantages and disadvantages

Advantages

- Interoperability: ERC-20 tokens can interact with a wide range of Ethereum-based applications, wallets, and exchanges.
- Standardization: The standard provides a clear framework for developers, reducing complexity and potential errors in token creation.
- Liquidity: ERC-20 tokens are widely accepted, providing liquidity across various platforms and exchanges.

Disadvantages

- Network Congestion: High demand for ERC-20 tokens can lead to congestion on the Ethereum network, resulting in slower transaction times and higher fees.
- Scalability Issues: The Ethereum network has faced challenges in scaling to accommodate the growing number of ERC-20 tokens and transactions.
- Security Risks: While the ERC-20 standard provides a framework, vulnerabilities in individual smart contracts can lead to security breaches.

See Also

- Smart Contract

- Introduction of [Tether Gold XAUT](/wiki/introduction_of_tether_gold_xaut)
- ERC-20 Compatibility

Sources

- CoinDesk.com/)
- CoinTelegraph
- Ethereum.org
- Tether.to

ERC-20 Standard Functions

Timeline of ERC-20 Standard

Last updated: August 28, 2026