What is an ERC-20 Token? A Complete Beginner’s Guide
If you've spent any time in crypto, you've heard the term "ERC-20." It's the technology behind the vast majority of tokens in existence — from major DeFi assets to the newest meme coins. But what actually is an ERC-20 token, how does it work under the hood, and what does it mean to create one on Base? This guide explains everything in plain language.
The simple definition
An ERC-20 token is a fungible digital asset that lives on an EVM blockchain (Ethereum, Base, and others) and follows a shared set of rules called the ERC-20 standard. "Fungible" means every unit is identical and interchangeable — one token is always worth exactly the same as any other token of the same type, just like one dollar equals any other dollar. This is different from NFTs, which are non-fungible (each one is unique).
The token itself is just an entry in a smart contract — a program deployed on the blockchain that keeps track of who owns how many tokens and lets people transfer them. When you "create a token," you're deploying one of these smart contracts.
Where the standard came from
ERC-20 stands for Ethereum Request for Comments, number 20. It was proposed in 2015 by developer Fabian Vogelsteller as a common interface that all tokens could implement. Before ERC-20, every token had its own custom code, which made it nearly impossible for wallets and exchanges to support them all. The standard solved this by defining a fixed list of functions every token must implement. Once a token follows ERC-20, any wallet, exchange or app that understands the standard can support it automatically — no custom integration needed.
This single idea is one of the most important in crypto history. It's why you can drop any ERC-20 token into MetaMask and it just works, and why DEXs like Uniswap can list thousands of tokens without manual setup.
How an ERC-20 token works under the hood
The standard defines a handful of functions and events. You don't need to be a programmer to understand them conceptually:
| Function | What it does |
|---|---|
| totalSupply | Returns the total number of tokens in existence. |
| balanceOf | Returns how many tokens a given address owns. |
| transfer | Sends tokens from your address to another. |
| approve | Authorizes another address (like a DEX) to spend a set amount on your behalf. |
| allowance | Checks how much an approved spender is still allowed to spend. |
| transferFrom | Lets an approved spender move tokens — the mechanism DEXs use to swap. |
There are also two events — Transfer and Approval — which the contract emits so that wallets and explorers can track activity in real time. Together, these functions and events are the complete "language" every ERC-20 token speaks.
Token metadata: name, symbol and decimals
Beyond the core functions, ERC-20 tokens carry three pieces of descriptive information:
- Name — the full name (e.g. "My Base Coin").
- Symbol — the short ticker (e.g. "MBC").
- Decimals — how divisible the token is. 18 is the standard, matching ETH. This means one token is internally represented as 1 followed by 18 zeros, allowing very fine-grained amounts.
For a deeper dive on supply and decimals, see our dedicated guide on choosing supply and decimals.
ERC-20 tokens vs. the native coin
It's important to distinguish a token from a coin. The native coin of a blockchain is the asset used to pay transaction fees and secure the network — ETH on Ethereum and Base, BNB on BNB Chain, and so on. Tokens are built on top of a chain using smart contracts. So when you create an ERC-20 token on Base, your token rides on Base's infrastructure, and you pay the tiny gas fees in ETH. Your token is an ERC-20; ETH is the coin.
What about ERC-20 on Base specifically?
Base is an Ethereum Layer-2 network built by Coinbase. Because it is fully EVM-compatible, the ERC-20 standard works identically to Ethereum — same functions, same wallet support, same tooling. The advantages of issuing your ERC-20 on Base rather than Ethereum mainnet are practical: fees are a fraction of a cent to a few cents instead of dollars, and confirmations take about two seconds. This makes Base ideal for launching community tokens, meme coins and apps where you don't want users paying high gas just to transact. Learn more in our guide on what Base is.
Common types of ERC-20 tokens
- Community & meme coins — driven by culture and community, often with large supplies.
- Governance tokens — give holders voting rights in a protocol or DAO.
- Utility tokens — used to access features or pay for services within an app.
- Stablecoins — pegged to a fiat currency like the US dollar (USDC is an ERC-20).
- DeFi tokens — power lending, trading and yield protocols. See creating a DeFi token on Base.
Optional ERC-20 extensions
The base ERC-20 standard is intentionally minimal, but contracts can add extra capabilities on top of it. Popular extensions include burnable (holders can destroy tokens), mintable (the owner can create more), pausable (transfers can be halted), and transfer tax mechanics. When you create a token with Create Base Token, you can toggle these on or off. Each is explained in our features guide.
Are ERC-20 tokens safe?
The standard itself is battle-tested and secure — it's been used by hundreds of thousands of tokens. However, "safe" depends on the specific contract and the people behind it. A contract with an owner who can mint unlimited tokens or blacklist holders carries more trust assumptions than an immutable, ownerless one. This is why transparency matters: a verified contract on BaseScan lets anyone read exactly what the token can and cannot do. Read our security guide for a full checklist.
How to create your own ERC-20 token
You don't need to write Solidity or hire a developer. With a no-code generator you simply:
- Connect an EVM wallet to Create Base Token.
- Enter your name, symbol, supply and decimals.
- Optionally upload a logo and pick features.
- Confirm one transaction — and your ERC-20 token is live on Base.
For the full walkthrough, see our step-by-step guide on how to create a Base token.
ERC-20 vs ERC-721 vs ERC-1155
ERC-20 is not the only token standard. Understanding how it differs from its siblings clarifies exactly what it's for:
| Standard | Type | Best for |
|---|---|---|
| ERC-20 | Fungible (identical units) | Currencies, meme coins, utility & governance tokens. |
| ERC-721 | Non-fungible (unique items) | NFTs — art, collectibles, unique assets. |
| ERC-1155 | Multi-token (both) | Games and apps needing many fungible and non-fungible items in one contract. |
If you want a token where every unit is interchangeable and has a market price — the kind of thing you'd trade on a DEX — ERC-20 is the standard you want. NFTs use ERC-721 or ERC-1155 instead.
The approve-and-transferFrom flow, explained
One part of ERC-20 confuses newcomers: why are there two ways to move tokens (transfer and transferFrom)? The answer is about letting smart contracts move tokens on your behalf safely. When you want to swap a token on a DEX, you don't hand your tokens to the DEX directly. Instead, you call approve, granting the DEX permission to spend up to a certain amount. The DEX then calls transferFrom to pull exactly what's needed for your swap. This two-step pattern means you stay in control: you decide how much a contract can spend, and you can revoke that permission at any time. It's also why security-conscious users periodically review and revoke old token approvals.
Limitations of the ERC-20 standard
ERC-20 is powerful but not perfect. A few well-known quirks are worth knowing:
- The approval pattern requires two transactions (approve, then swap) the first time you interact with a new contract — slightly more friction, though cheap on Base.
- Tokens sent to a contract that doesn't expect them can be lost. Plain ERC-20 has no callback to warn a receiving contract, which is part of why newer standards exist.
- The base standard is minimal. Features like burning, minting, pausing or taxes are extensions added on top — they're not part of vanilla ERC-20. That's actually a strength: the core stays simple and predictable while contracts opt into extras.
Despite these quirks, ERC-20 remains dominant precisely because it is simple, predictable and universally supported. The ecosystem has built robust tooling around its edges.
The lifecycle of an ERC-20 token
From birth to trading, a typical token goes through these stages: it is deployed (the contract is created and supply minted), distributed (sent to holders, teams or airdrops), made liquid (paired with ETH in a DEX pool so it can be traded), and then used (held, traded, staked, or spent depending on its purpose). Some tokens add burns over time to reduce supply, while mintable tokens may expand supply. Understanding this lifecycle helps you plan your own launch — creating the token is only the first step.
Can an ERC-20 token be changed after launch?
This depends entirely on how the contract was written. A plain, immutable ERC-20 — like the default configuration on Create Base Token — cannot be changed at all once deployed: the name, symbol, supply and logic are fixed forever, and there's no owner who can alter anything. This permanence is a feature, not a bug; it's what lets holders trust the token won't change under them. If, on the other hand, the creator enabled owner features such as mintable or pausable, then certain parameters can be adjusted by the owner until they renounce ownership. The key takeaway is that "can it change?" is answered by reading the contract, not by assumption. Tokens that are verified and ownerless are the most predictable, which is why so many projects choose that configuration or renounce shortly after launch.
Real-world examples of ERC-20 tokens
The standard's versatility is best seen through the kinds of assets built on it. USDC, one of the largest stablecoins in the world, is an ERC-20 token pegged to the US dollar — and it runs natively on Base. Major DeFi governance tokens that let holders vote on protocol decisions are ERC-20s. Countless community and meme coins, reward points inside apps, and in-game currencies are all ERC-20 tokens too. What unites these wildly different use cases is the shared interface: because they all speak the same ERC-20 "language," a single wallet can hold a stablecoin, a governance token and a meme coin side by side, and a single DEX can let you swap between them. When you create your own ERC-20 on Base, you're joining this same universal ecosystem — your token instantly works with the tools, wallets and exchanges that already support the standard, with no special integration required from anyone.
The bottom line
ERC-20 is the universal standard that makes the token economy possible. It's a simple, shared set of rules that lets fungible tokens work seamlessly across wallets, exchanges and apps. On Base, you get all the benefits of that standard with the speed and low cost of a modern Layer-2 — making it one of the best places to launch your own token today.
🚀 Ready to launch your token?
Create a verified ERC-20 token on Base in under 60 seconds — no coding required.
Create Your Base Token →