Put simply, ERC-20 is the common rulebook for creating tokens on the Ethereum network. Before it came along, the token scene was a bit of a wild west. Developers were crafting tokens with their own unique rules, leading to a tangled mess where nothing worked together. ERC-20 changed all that by setting out a standard list of commands, making sure every token plays nicely with wallets, exchanges, and apps across the ecosystem.
The Universal Language of Ethereum Tokens
Imagine trying to plug your British-made kettle into a two-pin European socket. It just wouldn't work. Before ERC-20, that's exactly what the world of Ethereum tokens felt like—a chaotic jumble where nothing was compatible.
Back in the early days, before 2015, every new token was built from the ground up with its own custom code. This meant every crypto wallet and exchange had to write brand-new, specific software just to handle a single new digital asset. It was a hugely inefficient and expensive process that was holding back real innovation. It became clear that a shared, standardised approach was needed.
Creating Order from Chaos
The solution arrived in the form of an Ethereum Improvement Proposal, EIP-20. This proposal laid out a mandatory set of rules that all tokens must follow to be called "ERC-20 compliant". Think of it as the three-pin plug for the crypto world; it guarantees that any ERC-20 token will fit perfectly into any platform built on Ethereum.
This standardisation was a true game-changer:
- Interoperability: Wallets, exchanges, and decentralised applications (dApps) could suddenly support thousands of different tokens just by building for one standard.
- Simplicity: Developers didn't have to reinvent the wheel for every project. They could use the ERC-20 template to launch new tokens quickly and with confidence.
- Predictability: For users, it meant that sending, receiving, or storing any ERC-20 token would follow the exact same, familiar process every single time.
A key feature of ERC-20 tokens is that they are fungible. This just means each unit is identical and completely interchangeable with another. One pound coin is the same as any other pound coin; in the same way, one unit of the SHIB token is identical to another unit of SHIB.
To help break this down, here’s a quick look at the core ideas behind the ERC-20 standard.
Key ERC-20 Ideas at a Glance
| Concept | Simple Explanation | Why It Matters |
|---|---|---|
| Standard | A common set of rules for all tokens. | Ensures every token works with every wallet and exchange. |
| Fungibility | Every token is identical and interchangeable. | Makes tokens perfect for use as currency or for trading. |
| Functions | Required actions a token must perform (e.g., transfer). |
Creates predictable behaviour, so you know how a token will act. |
| Smart Contract | The code on the blockchain that defines the token. | Manages balances and enforces the rules automatically. |
These simple but powerful ideas are the bedrock of why the Ethereum ecosystem has flourished so much.
For many in the UK, ERC-20 is the invisible engine powering their crypto experience, even if they've never heard of the term. With the UK's digital asset user base projected to hit 30.1 million people by 2026, this shared standard is what makes adoption on such a massive scale possible. The predictable behaviour it guarantees for deposits, withdrawals, and transfers is vital for a market of that size.
You can dive deeper into how different token types stack up in our guide on understanding token standards like ERC-20 and ERC-721. For more on the UK user statistics and projections, check out Statista's digital assets outlook.
The Six Core Rules of an ERC20 Token
At its heart, the ERC20 standard is just a simple recipe with six mandatory ingredients. These ingredients are "functions"—specific commands that tell the token what to do. Forget complex code for a moment; think of them as the basic instructions that make everything in the crypto world play nicely together.
Let's break down these six core rules. We'll use some everyday examples to show how they manage your digital assets behind the scenes.
Keeping Track of the Tokens
The first couple of rules are all about basic bookkeeping: knowing how many tokens exist and who owns what. They act as the token's public ledger, making sure every single unit is accounted for.
totalSupply(): This is the simplest rule of them all. It just answers one question: "How many of these tokens will ever exist?" If a concert promoter printed a limited run of 10,000 tickets,totalSupplyis the function that tells everyone exactly that number. For a token like Uniswap (UNI), this function would show there will only ever be 1 billion UNI tokens.balanceOf(address): This one is more personal. It checks a specific wallet and reports how many tokens it holds. Sticking with our concert analogy, iftotalSupplyis the total number of tickets printed,balanceOfis like asking the box office, "How many tickets does Jane Smith's account have?" It's the command your wallet uses to show you how much of a token you actually own.
These two functions give us complete transparency. Anyone can verify the total supply and check the balance of any public address right on the blockchain.
This diagram shows how the ERC20 standard acts as a central hub, connecting wallets, exchanges, and decentralised apps across the Ethereum ecosystem.
It makes it clear that without this standardised blueprint, the smooth interaction we take for granted between different platforms just wouldn't be possible.
Moving Tokens Around
The next set of rules is all about movement—how tokens get from one person to another. This is where the real action happens, from simple payments to the more complex steps needed for decentralised applications (dApps).
The most straightforward function is transfer(address, amount). This is your classic person-to-person transaction. When you send some tokens from your wallet to a friend's, you're using the transfer function. You just tell it the recipient's address and the amount, and the smart contract handles the rest. It's like sending money via your banking app.
A Quick Word on Delegated Transfers
Sometimes, you don't want to send tokens yourself. You might need to give another person—or, more often, a smart contract—permission to move tokens on your behalf. This is absolutely essential for things like decentralised exchanges or online games.
This is where the final three rules come in. They work together as a two-step approval process. They're a bit more advanced but are the foundation of decentralised finance (DeFi).
approve(address, amount): This function doesn't actually move any tokens. Instead, it gives another address (the "spender") permission to withdraw tokens from your account, up to a specific limit. Think of it like pre-authorising a payment on your credit card for a certain amount. You've approved a future transaction, but no money has changed hands yet.allowance(owner_address, spender_address): This is just a simple check-up function. It lets you see how much permission you've already given to a specific spender. It answers the question, "Remind me, what's the spending limit I set for that app?" It's a useful way to confirm existing approvals before anything happens.transferFrom(from_address, to_address, amount): This is the final step where the approved tokens are actually moved. The spender (like a decentralised exchange) calls this function to complete the transfer from your account to its final destination. In our analogy, this is when the company actually charges your pre-authorised card.
Together, these six functions form the complete rulebook for any ERC20 token. They ensure that every token, whether it’s a stablecoin like Tether or a new meme coin, behaves in a predictable and reliable way across the entire Ethereum network.
ERC20 Tokens in the Real World

It’s one thing to understand the theory, but seeing ERC20 tokens in action is where it all clicks. These tokens aren’t just lines of code; they are the workhorses of the Ethereum ecosystem, powering a huge variety of digital assets you probably already know.
The ERC20 standard is best thought of as a universal blueprint. Imagine it’s a car chassis—it provides the essential framework that everyone can build on. One manufacturer might use that chassis to create a family saloon, another a high-performance sports car. In the same way, developers take the ERC20 blueprint and build tokens with wildly different purposes. This incredible versatility is why the standard is everywhere.
The Rise of Stablecoins
One of the most important uses of the ERC20 standard is for creating stablecoins. These are digital currencies designed to maintain a steady value by being pegged to a real-world asset, most commonly a currency like the US dollar or the pound. Their entire point is to tackle one of crypto's biggest headaches: wild price swings.
You've likely heard of Tether (USDT) and USD Coin (USDC). They are two of the biggest stablecoins out there, and both live on Ethereum as ERC20 tokens. They aim to always be worth one US dollar, which makes them incredibly useful for traders needing a safe haven or for anyone just wanting to hold a digital version of the dollar.
Stablecoins act as a crucial bridge between traditional finance and the crypto world. By offering a stable unit of account, they make digital transactions far more practical and predictable for everyday use.
Giving Power to the People with Governance Tokens
Another huge category is governance tokens. Holding one of these tokens is like owning a share in a company—it gives you a vote on major decisions. In the decentralised world, these tokens allow holders to help shape the future of a project.
A classic example is Uniswap’s UNI token. Anyone holding UNI can vote on proposals that steer the platform’s direction, like changing fee structures or deciding how to use community funds. Another well-known one is APE, which lets holders vote on decisions within the ApeCoin ecosystem, which is connected to projects like the Bored Ape Yacht Club. This puts power directly into the hands of the users, shifting control away from a single, central entity.
Unlocking Access with Utility Tokens
Finally, there are utility tokens. Think of these as digital keys that grant you access to a specific product or service within a network. They aren't primarily designed as investments but as a means of using a particular platform.
A couple of well-known examples include:
- Chainlink (LINK): This ERC20 token is used to pay for vital data feeds on the Chainlink network, which is essential for connecting smart contracts to real-world information.
- Basic Attention Token (BAT): Used within the Brave browser, BAT is a token that rewards users for viewing privacy-friendly ads and lets them tip their favourite online creators.
These examples barely scratch the surface, but they show just how flexible the ERC20 standard is. This adaptability is a key reason for the explosion in crypto adoption. In fact, recent data from the UK's Financial Conduct Authority (FCA) showed that around 7 million UK adults held crypto in 2024. Considering most popular Ethereum-based assets are ERC20s, that figure highlights just how many people interact with this standard every day. You can read more on the FCA’s findings about UK crypto ownership.
ERC-20 vs. Other Token Standards
We’ve covered how ERC-20 tokens operate, but you've probably heard about NFTs and other standards. How exactly do they differ from the fungible tokens we've been looking at? Getting this straight is key to understanding the wider Ethereum ecosystem.
The biggest difference comes down to a single idea: fungibility. ERC-20 tokens are fungible, meaning each one is identical to the next. Think of it like a £1 coin—your pound is worth the same as my pound, and we can swap them without any change in value. This makes them perfect for things like digital currencies or shares.
ERC-721: The Home of Unique Assets
On the flip side, you have ERC-721 tokens, which you almost certainly know as Non-Fungible Tokens (NFTs). Each one is completely unique and can't be replaced by another. This is what makes them the go-to standard for representing ownership of one-of-a-kind items.
Imagine you've got a ticket for a specific seat at a concert. You can't just swap it for someone else's ticket to a different seat; they aren't interchangeable. It’s the same with a signed piece of art. ERC-721 tokens capture this exact idea digitally.
You'll see ERC-721 tokens used for:
- Digital Art: Think of projects like Bored Ape Yacht Club, where an NFT proves you own a specific, unique piece of artwork.
- Collectibles: This could be anything from digital trading cards to rare in-game items that players can truly own and trade.
- Real-World Assets: NFTs are increasingly being used to represent ownership of physical things, like property or a rare bottle of wine.
ERC-1155: A Smarter, Hybrid Standard
As the space developed, developers needed more flexibility, which is where the ERC-1155 standard comes in. It's a clever multi-token standard that works as a hybrid, managing both fungible and non-fungible tokens from a single smart contract. It’s like a digital filing cabinet that holds both stacks of identical paperwork (fungible) and unique, individual documents (non-fungible).
This is a game-changer for efficiency, especially in gaming. A developer can use one ERC-1155 contract to handle thousands of "gold coins" (fungible) alongside a handful of "legendary swords" (non-fungible). Before this, they would have needed a separate contract for every single item type—a slow and expensive nightmare.
The ERC-1155 standard offers the best of both worlds. It combines the bulk efficiency of fungible tokens with the uniqueness of non-fungible assets, all under one roof.
To really nail down the differences, let's put these three standards head-to-head.
Comparing ERC-20, ERC-721, and ERC-1155 Tokens
A side-by-side look at the most common Ethereum token standards helps clarify where each one shines.
| Feature | ERC-20 (Fungible) | ERC-721 (Non-Fungible) | ERC-1155 (Multi-Token) |
|---|---|---|---|
| Token Type | Every token is identical and interchangeable. | Every token is unique and has a distinct ID. | Can manage both fungible and non-fungible tokens. |
| Primary Use Case | Digital currencies, stablecoins, governance tokens. | Digital art, collectibles, unique assets. | Gaming items, digital tickets, complex ecosystems. |
| Example | A pound coin or a share in a company. | A signed painting or a specific concert ticket. | A game's inventory with both coins and unique swords. |
| Transfer Logic | You transfer a specific amount of the token. | You transfer a specific, unique token ID. | Can transfer single items or batches of items efficiently. |
Each standard was built to solve a different problem, and understanding their distinct roles is fundamental for anyone building or investing in the decentralised space.
How to Stay Safe When Using ERC20 Tokens

The ERC20 standard has made swapping and sending digital assets incredibly simple, but this ease of use brings security risks you absolutely must know about. While the tokens themselves are built on secure foundations, the real danger lies in how we interact with decentralised applications (dApps). Without a bit of care, you can unknowingly leave your wallet wide open.
Getting a handle on these risks is your first line of defence. By building a few simple habits, you can confidently explore the world of decentralised finance (DeFi) and keep your ERC20 tokens safely in your control.
The Danger of Unlimited Approvals
One of the biggest tripwires for newcomers and veterans alike is the token approval. When you want to use a dApp, like a decentralised exchange, you have to give it permission to access and move your ERC20 tokens. This is what that approve function we looked at earlier is for.
The problem starts when dApps ask for unlimited approval. This means you’re signing a transaction that gives a smart contract permission to withdraw an infinite amount of a specific token from your wallet, forever. It’s often pitched as a convenience—so you don’t have to approve every single trade—but it creates a massive security vulnerability.
If a smart contract you've granted unlimited approval to is ever exploited or turns out to be malicious, attackers can use that permission to drain every last one of those tokens from your wallet. It's the digital equivalent of giving a stranger a blank, signed cheque.
This isn’t just a theoretical threat; it’s one of the most common ways people lose their crypto. A single compromised contract can become a backdoor into the wallets of thousands of users who granted it permissions.
Practical Steps to Secure Your Tokens
The good news is that protecting yourself is entirely within your control. It just takes a little digital hygiene. By adopting a few key practices, you can dramatically cut down your risk and stay in charge of your assets.
Here are a few actionable tips to start using right away:
- Verify Contract Addresses: Before interacting with any new token or dApp, always double-check its smart contract address. Scammers are brilliant at creating fakes with similar names to trick you. Find the official address on a project’s website or a trusted block explorer like Etherscan.
- Avoid Unlimited Approvals: Whenever you can, set a specific limit for token approvals rather than granting unlimited access. More and more wallets and dApps are now giving you the option to specify the exact amount you want to approve, putting you back in control.
- Use a Token Approval Checker: It is absolutely vital to periodically review the permissions you’ve given out. Tools like Revoke.cash or Etherscan's own token approval checker let you see exactly which smart contracts can access your funds. More importantly, they let you easily revoke any permissions you no longer need or trust.
Making this a regular habit—maybe a quick check once a month—is one of the most powerful things you can do to stay safe. As you get more comfortable, you might want to take a deeper dive into safeguarding blockchain assets through smart contract security best practices.
The influence of standards like ERC20 goes beyond just user security; it's shaping how the UK views digital assets. UK research shows that high-net-worth investors expect to allocate around 8.6% of their portfolios to tokenised assets by 2026. Yet, with 72% of institutional investors flagging regulatory and tech risks as major worries, the push for secure and compliant token standards has never been stronger. You can explore more asset tokenisation statistics to get a better sense of these market trends.
Getting Started with ERC-20 Tokens
Alright, you’ve got the theory down. Now it’s time to roll up our sleeves and get practical. Interacting with ERC-20 tokens is a core skill for anyone navigating the crypto world, and thankfully, it's not as complex as it might seem once you learn the ropes.
This section is all about the hands-on essentials. We’ll cover everything from making your new tokens show up in your wallet to checking on them using a block explorer. By the time we're done, you'll feel much more comfortable managing your digital assets.
How to Add Custom Tokens to Your Wallet
So, you’ve just received some shiny new ERC-20 tokens, but you open your wallet and... nothing. Don't panic! This is a super common experience. Your tokens are almost certainly safe on the blockchain; your wallet just doesn't know to display them yet.
You just need to give it a little nudge by adding the token's details manually. Let's walk through the process using MetaMask, one of the most widely used browser wallets. The key piece of information you'll need is the token's contract address – its unique fingerprint on the Ethereum network.
- Find the Official Contract Address: Always get this from a reliable source. The project's official website is best, but trusted explorers like Etherscan or CoinGecko are also good options.
- Open MetaMask: Head to the "Tokens" tab in your wallet and find the "Import tokens" link at the bottom.
- Enter the Token Details: Click over to the "Custom Token" tab. Paste in the contract address, and MetaMask should automatically pull up the Token Symbol (like UNI) and its Decimals. Just click "Add Custom Token," and you're all set.
After these steps, your new token balance will pop up in your asset list alongside everything else.
A Quick Word of Warning: Scammers love to create fake tokens with names that look very similar to legitimate ones. Double- and triple-check that you are using the official contract address from a trusted source to avoid adding a worthless imposter to your wallet.
Tracking Your Transactions with a Block Explorer
Think of a block explorer as your transparent window into the entire blockchain. For Ethereum and its tokens, Etherscan is the go-to tool. It lets you peer into any transaction, check any wallet's balance, and inspect any smart contract. It’s absolutely vital for confirming your transactions went through as planned.
Every time you send tokens, you get a unique transaction hash (TxID). Think of it as a digital receipt. Just copy this hash and paste it into the search bar on Etherscan. You'll immediately see a full breakdown: the status (success, pending, or failed), who sent what to whom, the exact amount, and how much you paid in gas fees. This radical transparency is what makes blockchain technology so powerful.
Feeling inspired to move from being a user to a builder? Our guide on how to create a meme coin is a fantastic starting point for understanding the creation process.
Your ERC-20 Questions, Answered
Let's wrap up by tackling some of the most common questions people have about ERC-20 tokens. Getting these clear will help you piece everything together.
What Actually Makes a Token an ERC-20 Token?
A token is officially an ERC-20 token if its smart contract correctly implements a specific list of functions and events. Think of it like a universal adapter for Ethereum.
The contract must include six core functions: totalSupply, balanceOf, transfer, approve, allowance, and transferFrom. By sticking to this blueprint, the token guarantees it can "talk" to any wallet, exchange, or dApp that also follows the standard. It's this shared language that makes the whole system work so smoothly.
Can You Mine ERC-20 Tokens?
In short, no. ERC-20 tokens aren't "mined" like native cryptocurrencies such as Bitcoin or Ether. Mining is part of the process that secures the underlying blockchain—in this case, Ethereum.
Instead, ERC-20 tokens are created (or "minted") according to the rules written into their own smart contract. A project might mint the entire supply at launch or set up a system where new tokens are created when certain conditions are met. For instance, the creators of a new token might decide to mint a total of 100 million tokens right at the start and distribute them.
Are All Tokens on Ethereum ERC-20?
Definitely not. While ERC-20 is the undisputed king of fungible (interchangeable) tokens, Ethereum hosts a whole family of token standards.
The other two big ones you'll run into are:
- ERC-721: This is the go-to standard for Non-Fungible Tokens (NFTs). Each ERC-721 token is one-of-a-kind, which is perfect for digital art, collectibles, or property deeds.
- ERC-1155: A clever, multi-token standard that lets a single contract manage both fungible and non-fungible tokens. It's incredibly efficient for applications like blockchain games, where you might need thousands of different items.
Why Do I Have to Pay Gas Fees for ERC-20 Transactions?
Every single action on the Ethereum network, whether it's a simple ETH transfer or interacting with a complex smart contract, uses up computational resources.
The "gas fee" is what you pay the network's validators to process and secure your transaction. Since ERC-20 tokens are essentially programmes running on Ethereum, every transfer or approval is a transaction that the main network has to handle. That’s why you always pay the fee in Ether (ETH).
This fee system keeps the network secure and properly rewards the people who run the infrastructure.
Ready to deepen your understanding and confidently navigate the crypto space? At The Coin Course, we provide clear, expert-led guides to help you master everything from blockchain basics to advanced trading strategies. Start your learning journey today at https://thecoincourse.com.
