ERC-20 Tokens Explained: The Ethereum Token Standard (2026)
What are ERC-20 tokens? Learn how the ERC-20 standard works, how to add tokens to MetaMask, popular ERC-20 tokens, and how to spot scam tokens in 2026.
In 2017, there were hundreds of tokens on Ethereum β and almost none of them could talk to each other.
Every project built their token from scratch, in their own way, with their own functions. Exchanges had to write custom code to list each new token. Wallets had to add special support for every project individually. The ecosystem was a mess of incompatible pieces.
Then came ERC-20. One standard. And suddenly, every token spoke the same language.
ERC-20 is why the 2017 ICO boom was possible. It's why DeFi works. It's why you can swap USDT for LINK in three seconds on Uniswap without anyone manually connecting the dots.
It's also why scammers can deploy a fake token in ten minutes and drain your wallet if you approve the wrong contract. Both things are true.
This guide explains what ERC-20 is, how it works, which tokens use it, how to add them to MetaMask, and β most importantly β how to avoid getting wrecked by scam tokens.
What is ERC-20?
ERC-20 = A technical standard that defines how tokens on the Ethereum blockchain must behave
ERC stands for Ethereum Request for Comments β the same naming convention the early internet used for technical proposals (RFC documents). 20 is just the proposal number. There was no cosmic significance to the number. It was the twentieth proposal submitted.
The standard was proposed by Fabian Vogelsteller and Vitalik Buterin in November 2015. It was formalized as EIP-20 (Ethereum Improvement Proposal) and became the foundation for nearly every fungible token on Ethereum since.
The USB Analogy
Before USB, every device had its own connector. Printers used one kind. Cameras used another. Your keyboard used a third. It was chaos. Then USB standardized the connection and suddenly any device could plug into any computer.
ERC-20 is the USB of Ethereum tokens.
Before ERC-20:
- Every token project wrote custom code
- Exchanges needed custom integrations per token
- Wallets needed custom support per token
- Smart contracts couldn't reliably interact with arbitrary tokens
After ERC-20:
- Any compliant token has identical functions
- One wallet integration supports thousands of tokens
- Smart contracts can swap, lend, stake any ERC-20 without custom code
- DeFi composability becomes possible β "money legos"
The economic impact: DeFi's entire $50B+ ecosystem in 2026 is built on smart contracts that interact with ERC-20 tokens. Uniswap, Aave, Compound, Curve β all of them work because ERC-20 made tokens predictable.
How ERC-20 Tokens Actually Work
ERC-20 tokens are smart contracts deployed on Ethereum. The token doesn't exist as a separate thing β it is the smart contract. The contract keeps a table of who owns how much.
The token smart contract maintains:
- A mapping of every address to its token balance
- A mapping of approvals (who is allowed to spend on your behalf)
- Total supply information
When you "hold" an ERC-20 token, what's actually happening is that your Ethereum address has a non-zero entry in that smart contract's internal balance table. Your MetaMask wallet reads that table and shows you your balance.
When you send an ERC-20 token, you're calling a function on the token's smart contract that updates the table: subtracting from your entry, adding to the recipient's entry. This is a real Ethereum transaction. It costs gas. It uses ETH β not the token β to pay.
When you interact with DeFi, you first grant the DeFi protocol permission to move your tokens (via the approve function), then the protocol can pull your tokens into its own smart contract to execute trades, loans, or liquidity provisions.
The Six Core ERC-20 Functions
The ERC-20 standard mandates six specific functions every compliant token must implement. This is what makes interoperability possible.
| Function | What It Does |
|---|---|
totalSupply() | Returns the total number of tokens in existence |
balanceOf(address) | Returns the token balance of a given address |
transfer(to, amount) | Sends tokens from caller to recipient |
approve(spender, amount) | Grants a spender permission to use up to N tokens from your balance |
allowance(owner, spender) | Returns how much a spender is still allowed to use |
transferFrom(from, to, amount) | Moves tokens from one address to another (requires prior approval) |
The ones that matter most for users:
transfer
The basic send operation. When you click "Send" in MetaMask for an ERC-20 token, you're calling transfer. The token contract deducts from your balance and adds to the recipient's balance. Simple.
approve and allowance (The Dangerous Duo)
This pair is where most ERC-20 security issues live.
approve lets you tell a smart contract: "You are allowed to move up to X of my tokens at any time."
allowance lets anyone check: "How much is Contract Y allowed to move from Wallet Z?"
Why this exists: When you swap tokens on Uniswap, Uniswap's smart contract needs to pull your tokens in to give you the other token out. It can't ask for permission mid-transaction (blockchain doesn't work that way). So you approve first, then swap.
The problem: Many DeFi interactions request unlimited approval β they ask permission to move any amount of your tokens, forever. This is common because it saves gas (you only approve once instead of once per swap). But it means: if that smart contract has a bug, or is malicious, it can drain your entire token balance at any time in the future.
This is how many DeFi exploits work. Users approved a protocol years ago. Protocol gets hacked. Attacker calls transferFrom to drain every wallet that ever approved it.
transferFrom
Lets a smart contract (with prior approval) move tokens between addresses. This is the pull mechanism that DeFi runs on. The liquidity router moves your tokens from your wallet to the pool. The lending protocol moves your collateral into escrow. All transferFrom.
ETH vs ERC-20 Tokens: The Key Difference
This confuses almost everyone who's new.
ETH is not an ERC-20 token. ETH is the native currency of Ethereum β it has special status and is handled differently at the protocol level. It doesn't live in a smart contract; the Ethereum protocol itself tracks ETH balances.
ERC-20 tokens are smart contracts that live on Ethereum. They depend on Ethereum to exist.
| Property | ETH | ERC-20 Token |
|---|---|---|
| What it is | Native Ethereum currency | Smart contract on Ethereum |
| Who tracks balances | Ethereum protocol itself | The token's smart contract |
| Used for gas? | Yes | No β you still need ETH for gas |
| Transfer mechanism | Direct protocol transfer | Function call on smart contract |
| Examples | ETH | USDT, USDC, LINK, UNI, SHIB |
Critical implication: You always need ETH to interact with ERC-20 tokens. Even if you have 10,000 USDT, you need ETH in your wallet to pay the gas fees to send that USDT. If you run out of ETH, your tokens are stranded β you can see them but can't move them.
There's a workaround: some wallets support gasless transactions using meta-transactions or account abstraction, where gas is paid in the token itself. But these rely on relayers and aren't universal. The default assumption should always be: keep ETH for gas.
Popular ERC-20 Tokens (The Real Ones)
The ERC-20 ecosystem is vast. Here are tokens that have actually proven useful or dominant:
| Token | Ticker | What It Is |
|---|---|---|
| Tether | USDT | Largest stablecoin by market cap |
| USD Coin | USDC | Regulated stablecoin by Circle/Coinbase |
| Chainlink | LINK | Oracle network token |
| Uniswap | UNI | Governance token for Uniswap DEX |
| Aave | AAVE | Governance token for Aave lending |
| Shiba Inu | SHIB | Meme coin (started as ERC-20) |
| Dai | DAI | Decentralized stablecoin by MakerDAO |
| Wrapped Bitcoin | WBTC | Bitcoin on Ethereum (ERC-20 wrapper) |
| Lido Staked ETH | stETH | Staked ETH receipt token |
| Wrapped ETH | WETH | ETH wrapped as an ERC-20 (for DeFi compatibility) |
Note on WETH: Because ETH itself isn't ERC-20, many DeFi protocols can't accept raw ETH. WETH (Wrapped Ether) is an ERC-20 version of ETH β you deposit ETH into the WETH contract and receive WETH 1:1, which you can then use in ERC-20-based DeFi. You can unwrap it back at any time.
Other Token Standards: ERC-20 Isn't Alone
ERC-20 handles fungible tokens well, but the ecosystem needed more:
ERC-721 (NFTs)
The non-fungible token standard. Every token has a unique ID and is distinct from every other token. Your Bored Ape isn't interchangeable with someone else's β they're different tokens even though they're from the same contract. Used for: art NFTs, gaming items, domain names, event tickets.
ERC-1155 (Multi-Token Standard)
A single smart contract can manage both fungible (like ERC-20) and non-fungible (like ERC-721) tokens simultaneously. More efficient β gaming items are the primary use case. One contract handles the gold coins (fungible) and the legendary sword (non-fungible).
ERC-4626 (Tokenized Vaults)
Standardizes how yield-bearing vaults work. When you deposit tokens into a DeFi protocol and receive a "receipt" token in return (like aTokens on Aave), ERC-4626 defines how that receipt token behaves. Makes yield strategies composable and compatible across protocols.
ERC-4337 (Account Abstraction)
Not a token standard β a wallet standard. Allows smart contract wallets to be treated as first-class accounts. Enables gasless transactions, social recovery, batch transactions. The infrastructure layer for better UX.
How to Add ERC-20 Tokens to MetaMask
MetaMask doesn't automatically display every ERC-20 token in your wallet β you need to import tokens you've received or want to track.
Step 1: Get the token's contract address
Find the official contract address from the project's website or CoinGecko/CoinMarketCap. This is critical β scammers create fake tokens with similar names and different contract addresses.
Example: USDT official Ethereum contract: 0xdAC17F958D2ee523a2206206994597C13D831ec7
Step 2: Open MetaMask
Click the MetaMask extension icon in your browser.
Step 3: Go to the "Tokens" tab
In the main MetaMask screen, click the "Tokens" tab at the bottom.
Step 4: Click "Import tokens"
Scroll to the bottom of the Tokens tab and click "Import tokens."
Step 5: Enter the contract address
Paste the contract address into the "Token contract address" field. MetaMask will auto-populate the token symbol and decimal places if it recognizes the contract.
Step 6: Verify and import
Confirm the symbol and decimals look correct, then click "Add custom token" and "Import tokens."
Your token balance will now display in MetaMask.
Important: If you received tokens you don't recognize, don't interact with them. Don't try to sell them. Many scam tokens are airdropped to wallets specifically to get victims to visit a phishing site when they try to move them.
Gas Fees for ERC-20 Transfers
This trips up every beginner:
You pay gas in ETH, not in the token you're sending.
Sending 100 USDT costs ETH in gas fees. Swapping LINK for UNI costs ETH in gas fees. Staking AAVE costs ETH in gas fees. The ERC-20 token itself never pays for anything β every interaction with a smart contract is an Ethereum transaction paid in ETH.
Approximate gas costs (Ethereum mainnet, 2026):
| Action | Approximate Gas | Approximate Cost |
|---|---|---|
| Simple ERC-20 transfer | ~65,000 gas | $1-5 |
| Token approval | ~45,000 gas | $0.50-3 |
| Uniswap swap (two tokens) | ~150,000 gas | $3-15 |
| Complex DeFi operation | 300,000-1M+ gas | $10-50+ |
Costs vary significantly with network congestion. During high-traffic periods (market volatility, NFT launches), gas prices spike dramatically.
Layer 2 alternative: On Arbitrum, Optimism, or Base, the same ERC-20 transfer costs fractions of a cent. Many users keep their regular DeFi activity on L2s and only use Ethereum mainnet for large or infrequent transactions.
Scam Tokens: How to Not Get Wrecked
This is the part nobody talks about enough, and it's where real money gets lost.
Honeypot Tokens
A token smart contract is coded so that you can buy but cannot sell. The token looks legitimate. The price goes up. You try to sell. The transaction reverts. Developers drain the liquidity pool and disappear.
Red flags:
- Extreme buy/sell tax (over 10%)
- Price only goes up (no sells going through)
- Brand new contract (under a week old)
- Anonymous team, no audit
How to check: Use Token Sniffer or DEX Screener to check if recent sell transactions are succeeding for a token before buying.
Fake Popular Tokens
Scammers deploy tokens called "USDT" or "USDC" with different contract addresses. Beginners see the name in their wallet, think they have real USDT, and try to spend it or swap it β sometimes losing ETH in gas in the process, sometimes getting routed through malicious contracts.
Always verify the contract address matches the official one before interacting with any token.
Unlimited Approval Scams
A DeFi protocol (or fake one) asks for unlimited approval to spend your tokens. This is sometimes legitimate (Uniswap does this), but:
- Malicious protocols use this to drain your wallet later
- Hacked protocols get exploited via existing approvals
Best practice: Approve only the amount you need for the current transaction. Most interfaces let you set a custom approval amount. Yes, it costs a little more gas. It's worth it.
Airdrop Drainer Tokens
Random tokens appear in your wallet β often with a name like "Visit [scamsite].com to claim your reward." Any interaction with this token (trying to sell it, approve it, check it on a sketchy site) can trigger malicious code that drains your actual assets.
Rule: If you didn't buy it, don't touch it. Just ignore airdropped tokens you don't recognize.
How to Revoke Token Approvals
Every ERC-20 approval you've ever granted is an ongoing permission slip. Old approvals from protocols you no longer use are open attack surfaces.
Revoke.cash (revoke.cash) is the standard tool for this. It shows every token approval your wallet has ever granted and lets you revoke them.
How to use revoke.cash:
- Go to revoke.cash
- Connect your wallet (read-only, no funds at risk just from connecting)
- The site shows all active token approvals
- Review the list β especially old approvals to protocols you don't use
- Click "Revoke" next to any approval you want to cancel
- Confirm the transaction in MetaMask (costs a small amount of ETH in gas)
Good hygiene: Review your approvals every few months, especially after major DeFi hacks (old approved protocols may have become vulnerable).
Other tools: Etherscan also has an "ERC-20 Token Approvals" checker under the Tools menu.
FAQ
Q: Do I need ETH to send ERC-20 tokens?
Yes. Every ERC-20 transaction is an Ethereum transaction at the protocol level, and all Ethereum transactions require ETH to pay gas fees. If you have zero ETH in your wallet, you cannot move your ERC-20 tokens even if you have thousands of dollars in them. Always keep a small ETH reserve.
Q: Can I lose my ERC-20 tokens if ETH's price goes to zero?
The tokens themselves wouldn't be destroyed β they still exist on the blockchain. However, if ETH became worthless, the Ethereum network would likely collapse, making those tokens inaccessible in any practical sense. More realistically: if Ethereum the network failed or was abandoned, ERC-20 tokens on it would have no functioning infrastructure. This is why tokens on Ethereum implicitly carry Ethereum's survivability risk.
Q: Is USDT safe? It's the most popular ERC-20 token.
USDT (Tether) is the most used ERC-20 token by volume. It works and is highly liquid. But "safe" depends on what risks you're considering: Tether Ltd. is a centralized company that can freeze addresses, has faced regulatory scrutiny, and publishes attestations rather than full audits. USDC (Circle) is more regulated and transparent. Both are custodial stablecoins β counterparty risk is real even if smart contract risk is minimal.
Q: What's the difference between USDT on Ethereum vs USDT on Tron?
They're both USDT β pegged to the dollar, issued by Tether β but they're different smart contract deployments on different blockchains. You cannot send Ethereum USDT directly to a Tron address. If you do, it won't arrive. You'd need to bridge or use an exchange to convert. Always confirm the network before sending stablecoins.
Q: Can an ERC-20 token rug pull if it's audited?
Yes. Audits check for technical vulnerabilities, not for the team's integrity. A team can pass an audit and still drain liquidity, abandon the project, or transfer admin keys and upgrade the contract. Audits reduce risk; they don't eliminate it. Time in market and decentralized governance are stronger signals.
Q: What happens to my ERC-20 tokens if MetaMask shuts down?
Nothing. MetaMask is just an interface β a window for viewing and interacting with the blockchain. Your tokens exist on the Ethereum blockchain, not in MetaMask. If MetaMask shut down tomorrow, you could import your seed phrase into any other Ethereum-compatible wallet (Rainbow, Rabby, Frame, hardware wallet) and see all your tokens immediately.
Q: Why do some ERC-20 transfers fail?
Common reasons: insufficient ETH for gas (most common for beginners), gas limit set too low, token contract has special transfer restrictions (some tokens have transfer taxes or whitelist requirements), or sending to an invalid address. If a transaction fails, you still pay the gas for the failed attempt β the network charges for computation regardless of outcome.
Q: How can I check if a token is legitimate before buying?
Check the contract address against the official project website or CoinGecko. Look at Token Sniffer for honeypot analysis. Check how long the contract has been deployed. Verify liquidity is locked (not held by the deployer). Look for a real audit from a credible firm. Check if sell transactions are actually going through on DEX Screener. None of these individually guarantee legitimacy, but together they paint a picture.
Not financial advice. ERC-20 tokens range from blue-chip assets to sophisticated exit scams that look identical until they aren't. Do your own research. Verify contract addresses. Never approve unlimited spending unless you understand the risk. Revoke old approvals regularly. The blockchain doesn't care if you made an honest mistake.
Always do your own research. This guide is education β not investment advice. The crypto market is volatile; never invest more than you can afford to lose.
Crypto educators at AbitGreedy β building honest, no-hype guides since 2021. Based in Cambodia.