Qaynaq LABS · TOOLS

CRYPTO GLOSSARY

ERC-20

A technical standard for creating fungible tokens on the Ethereum blockchain, defining a common set of rules for token behavior such as transfers, approvals, and supply management.

Technical definition

ERC-20 is an Ethereum Request for Comments (ERC) standard that specifies a uniform interface for tokens on the Ethereum network. It requires six mandatory functions (totalSupply, balanceOf, transfer, transferFrom, approve, allowance) and two optional events (Transfer, Approval) to ensure interoperability between tokens and wallets, exchanges, and smart contracts. The standard enforces that tokens are fungible—each unit is interchangeable with another—and includes mechanisms for approving third-party spending limits and tracking token balances.

An analogy

Think of ERC-20 tokens like standardized train tickets. All first-class tickets follow the same rules: they grant access to the same car, are interchangeable, and can be transferred or sold without changing their fundamental purpose. Just as train operators must accept any valid first-class ticket, Ethereum wallets and applications must recognize and handle any ERC-20 token uniformly.

Why it matters

ERC-20 enables seamless integration of new tokens with existing Ethereum infrastructure, reducing development time and ensuring compatibility across wallets, exchanges, and decentralized applications. Without this standard, each token would require custom integration, fragmenting the ecosystem.

Where it came from

ERC-20 was proposed in November 2015 by Fabian Vogelsteller and Vitalik Buterin as part of Ethereum's early standardization efforts. It quickly became the dominant token standard, with the vast majority of Ethereum-based tokens adopting it.

Example in practice

The stablecoin USDT (Tether) is an ERC-20 token. When you send USDT to another Ethereum address, the transaction follows the ERC-20 rules: the sender's balance decreases, the recipient's balance increases, and the total supply remains unchanged.

Common misconceptions

  • ERC-20 tokens are all cryptocurrencies → Correction: ERC-20 defines a standard for tokens, which can represent anything from currencies to access rights or digital collectibles, not just cryptocurrencies.
  • ERC-20 tokens are native to Ethereum → Correction: ERC-20 tokens are smart contracts deployed on Ethereum, not part of the Ethereum protocol itself.

Risks & limitations

  • Smart contract vulnerabilities: ERC-20 tokens are implemented as smart contracts, which can contain bugs or exploits (e.g., reentrancy vulnerabilities) that may lead to loss of funds.
  • No built-in recovery mechanism: If a user sends tokens to the wrong address or loses access to their private key, there is no way to recover the tokens, as the blockchain is immutable.
  • Gas costs: Each ERC-20 transaction requires Ethereum gas fees, which can become expensive during network congestion.
  • Centralization risks: Some ERC-20 tokens (e.g., stablecoins) are centralized, relying on issuers to maintain reserves or comply with regulations, which may introduce counterparty risk.

Related terms

About "ERC-20" in crypto

Cryptocurrency vocabulary moves faster than any other technical field. New terms appear weekly, old terms quietly change meaning, and most "definitions" online were written by someone trying to sell you something. Qaynaq Labs' crypto glossary aims for the opposite: neutral, accurate, skeptical explainers that include the downside.

This entry covers the technical mechanics, a real-world analogy, where the concept came from, and what could go wrong. Pair it with the related terms to build a working mental model of how the pieces fit together.

Frequently asked

Can ERC-20 tokens be created on blockchains other than Ethereum?

Yes, ERC-20 tokens can be created on other EVM-compatible blockchains (e.g., Polygon, Binance Smart Chain) by deploying the same smart contract code, though they are technically not ERC-20 tokens on those chains but rather similar standards (e.g., BEP-20 on BSC).

What is the difference between ERC-20 and ERC-721?

ERC-20 defines fungible tokens (each token is identical and interchangeable), while ERC-721 defines non-fungible tokens (NFTs), where each token is unique and not interchangeable on a one-to-one basis.

Why do some ERC-20 tokens fail or get hacked?

ERC-20 tokens are only as secure as their smart contract code. Poorly audited or hastily written contracts may contain critical vulnerabilities (e.g., overflow bugs, access control flaws) that can be exploited by attackers.