Generated by GPT-5-mini| ERC-20 | |
|---|---|
![]() Zandcee · CC BY-SA 4.0 · source | |
| Name | ERC-20 |
| Type | Token standard |
| ImplementedOn | Ethereum |
| FirstProposed | 2015 |
| Author | Vitalik Buterin; Fabian Vogelsteller |
| Status | Widely adopted |
ERC-20 is a technical standard for tokens on the Ethereum blockchain that defines a common list of functions and events for smart contracts to implement. It enables interoperability among wallets, exchanges, and dApps by prescribing a uniform interface for token behavior. ERC-20 influenced subsequent token standards and catalyzed broad ecosystem growth across decentralized finance and tokenized assets.
ERC-20 provides an application programming interface (API) for token contracts on Ethereum so that client software such as MetaMask (software), MyEtherWallet, Trust Wallet, Ledger (company), and Trezor can interact with a wide variety of tokens in a predictable way. Major projects like MakerDAO, Chainlink, Uniswap (protocol), Compound (protocol), and Aave rely on ERC-20 conventions to integrate tokens into Decentralized finance protocols. The standard established compatibility that allowed tokens issued in Initial coin offerings and Security Token prototypes to circulate across Binance (company), Coinbase (company), Kraken (exchange), and Gemini (company).
The specification was drafted during the early growth of Ethereum by contributors including Vitalik Buterin and Fabian Vogelsteller and refined through discussions in the Ethereum Improvement Proposal process and developer forums. ERC-20 emerged alongside milestones such as the launch of the Ethereum mainnet and the proliferation of Initial coin offerings that attracted projects like Augur, Golem (network), Aragon and 0x Protocol to issue tokens. The standard was shaped in the context of debates over The DAO vulnerabilities, the Ethereum hard fork that followed, and subsequent governance dialogues involving the Ethereum Foundation, Parity Technologies, and community contributors.
The ERC-20 interface mandates functions like totalSupply(), balanceOf(), transfer(), transferFrom(), approve(), and allowance(), along with events such as Transfer and Approval. Implementations commonly use Solidity (programming language) or Vyper (programming language) to author contracts and rely on developer tools like Remix (software), Truffle (software), Hardhat (software), and OpenZeppelin libraries for standardized, audited templates. Token contracts interact with infrastructure services including Infura, Alchemy (company), Etherscan, and The Graph for node access, block explorers, and indexing. Gas considerations tie into Ethereum Improvement Proposal 1559 and layer-2 solutions such as Optimism (software), Arbitrum, Polygon (protocol), and zkSync to lower transaction costs. Smart contract verification and static analysis employ tools like Mythril, Slither, Echidna (fuzzer), and Securify.
Popular ERC-20 implementations include templates from OpenZeppelin and audited contracts by firms such as Consensys, Trail of Bits, and Quantstamp. Developer environments like Remix (software), Truffle (software), Hardhat (software), and continuous integration stacks using GitHub actions support deployment to testnets such as Ropsten, Rinkeby, Kovan, and Goerli. Wallet integrations span MetaMask (software), Trust Wallet, Coinbase Wallet, Exodus (software), and hardware integrations with Ledger (company) and Trezor. Exchanges and market infrastructure from Binance (company), Coinbase (company), Kraken (exchange), Bitstamp, and Gemini (company) list ERC-20 tokens after compliance checks and custodial integrations involving Fireblocks and BitGo.
ERC-20’s uniform interface introduced risks exemplified by high-profile incidents involving The DAO, Parity (company), and token mishandling on exchanges such as Mt. Gox analogies in the crypto era. Common vulnerabilities include reentrancy, integer overflow/underflow, improper approval handling, and reliance on external contracts; mitigations use libraries and patterns from OpenZeppelin and analysis by Trail of Bits and CertiK. Critics pointed to issues during token upgrades, lost approvals, and non-compliant implementations that broke wallet UX for projects such as Bancor, Kyber Network, and early decentralized exchanges. Security practices emphasize audits, multisignature schemes with providers like Gnosis Safe, timelocks influenced by governance mechanisms used by MakerDAO and Compound (protocol), and formal verification techniques applied to contracts used by Synthetix and Balancer (finance).
ERC-20 tokens underpin utility, governance, stablecoin, and asset-backed projects. Prominent ERC-20 examples include USD Coin, Tether (USDT), Chainlink, Uniswap (protocol) tokens, and governance tokens used by MakerDAO and Compound (protocol). Use cases span tokenized securities experiments at tZERO, loyalty and reward programs by Brave Software, payment rails in Circle (company), programmable incentives in OpenSea (website) integrations, and token-curated registries inspired by Aragon. Layer-2 deployments and wrapped asset initiatives like Wrapped Bitcoin facilitate cross-chain liquidity for markets served by SushiSwap, Balancer (finance), and institutional custody solutions such as Anchorage (company).
Regulators and institutions including the U.S. Securities and Exchange Commission, Financial Conduct Authority, European Securities and Markets Authority, People's Bank of China, and Financial Action Task Force have scrutinized ERC-20 token issuances for securities, anti-money laundering, and consumer protection implications. Legal debates involve cases and guidance from bodies like the SEC (US), enforcement actions against projects similar in profile to past ICOs, and compliance frameworks adopted by exchanges including Coinbase (company) and Binance (company). Industry responses involve token standards for compliance, collaborations with firms such as Chainalysis, Elliptic, and CipherTrace for transaction monitoring, and incorporation of regulatory features in protocols tied to Basel Committee on Banking Supervision discussions about crypto asset treatment.
Category:Ethereum tokens