What Is ERC20? A Guide to the Ethereum Token Standard

By Brian Nibley · November 08, 2022 · 7 minute read

We’re here to help! First and foremost, SoFi Learn strives to be a beneficial resource to you as you navigate your financial journey. Read more We develop content that covers a variety of financial topics. Sometimes, that content may include information about products, features, or services that SoFi does not provide. We aim to break down complicated concepts, loop you in on the latest trends, and keep you up-to-date on the stuff you can use to help get your money right. Read less

What Is ERC20? A Guide to the Ethereum Token Standard

ERC20 refers to a standard for creating and deploying smart contracts on the Ethereum blockchain. ERC20 tokens are digitized tokens that live on that blockchain and adhere to those standards.

The Ethereum blockchain was built specifically for smart contracts, which are virtual agreements that can be programmed to execute automatically when certain conditions are met. This functionality provides for the ability to create many kinds of new decentralized applications, so many other platforms and their tokens are built on top of the Ethereum blockchain.

Quite a few of the most popular utility tokens and decentralized finance (DeFi) applications are built on Ethereum. But there are certain standards (ERC20) that developers must follow if they want their tokens to be accepted by the network.

In this crypto guide, we will answer the question, What is ERC20?, as well as how it relates to tokens issued on the Ethereum blockchain.

What Is ERC20?

ERC20 is a standard for the creation and deployment of smart contracts on the Ethereum blockchain. ERC20 tokens are a form of token that can be issued on Ethereum (and only Ethereum) that also represent a set of standards that cryptocurrencies can adhere to.

The primary purpose of ERC20 tokens is to work with smart contracts and define a common list of rules that all tokens on the Ethereum blockchain abide by.

While Ether (ETH) is the native cryptocurrency of the Ethereum network, the ERC20 token represents a specific standard — or set of rules — that developers can follow to make Ethereum-based tokens. They are, in the truest sense, the standard-bearer for the Ethereum network.

This token standard is only for fungible tokens, and not non-fungible tokens (NFTs). As such, one ERC20 token can be exchanged with another, as they’d have equal value.

ERC20 smart contracts use ERC20 tokens to facilitate transactions when its protocol calls for it. Any smart contract that utilizes transaction functionality will therefore pay the user in the form of an ERC20 token. Many popular stablecoins, like USDC and DAI, are ERC20 tokens.

Which Tokens Are ERC20?

ERC20 has enabled the creation of many new tokens. These are the 10 largest and most popular ERC20 tokens by market cap, as of September 2022:

•   Binance USD (BUSD)

•   Multi-Collateral Dai (DAI)

•   SHIBA INU (SHIB)

•   Wrapped Bitcoin (WBTC)

•   UNUS SED LEO (LEO)

•   Uniswap (UNI)

•   ChainLink (LINK)

•   Cronos (CRO)

•   ApeCoin (APE)

The largest, by both trading volume and market cap, is Binance USD, a stablecoin pegged to the U.S. dollar. Stablecoins are popular among traders looking to lock in profits quickly without converting to fiat currency, as well as those seeking to earn a yield on their crypto. They aim to be more “stable,” as the name implies, than other, often volatile cryptos.

A number of decentralized finance (DeFi) and metaverse tokens are ERC20 tokens as well.

Enjin Coin (ENJ) help users perform functions or create items in video games and virtual or augmented realities. Uniswap (UNI), the native token of one of the largest DeFi platforms, allows users to borrow and lend funds to one another.

How Does ERC20 Work?

ERC20 is a standard protocol, not a program or piece of software. The ERC20 protocol governs the creation of new tokens, ensuring that they meet the required technical specifications. If a token doesn’t conform to the appropriate technical standards defined by ERC20, it won’t fit the definition of an ERC20 token, and therefore, won’t be issued on Ethereum.

It may help to think of ERC20 as similar to HTTP, the Hypertext Transfer Protocol used for websites. HTTP defines how messages on the internet are formatted and transmitted, and how servers and browsers should react in response to various commands.

Similarly, ERC20 specifies the essential features that Ethereum-based tokens should have and how they should function. Tokens that don’t comply cannot be issued, traded, or listed on exchanges.

The ERC20 Standard

Smart contracts that want to use ERC20 tokens have to follow the appropriate ERC standards. There are currently nine rules in total, and six of them are mandatory. The other three are optional. These include:

Mandatory rules

Optional rules

Allowance Token Name
Approve Decimal (Max: 18)
TransferFrom Symbol
Transfer
BalanceOf
TotalSupply

Here’s a brief rundown of how the mandatory standards apply to the creation of tokens.

TotalSupply: Outlines the total number of tokens to be created.

Approve: Helps to eliminate the possibility of counterfeit tokens being created by requiring approval of smart contract functions.

BalanceOf: Allows users to check their balances by returning the total number of tokens held by an address.

TransferFrom: Allows for the automation of transactions when desired.

Transfer: Allows for the transfer of tokens from one address to another, like any other blockchain-based transaction.

Allowance: When a smart contract wants to execute a transaction, it has to be able to see the balance held by the Ethereum wallet trying to transact. The allowance function allows the contract to carry out the transaction if the user has sufficient balance or cancel the transaction if they do not.

These six rules must be programmed into a token for it to be considered ERC20. Without clear instructions for these rules or standards, the token wouldn’t be able to interact with smart contracts effectively, which could cause numerous issues.

History of ERC20

“ERC20” actually stands for “Ethereum Request for Comments 20,” and was first proposed by Fabian Vogelsteller, a blockchain developer and programmer, back in 2015. At the time, it was a proposed standard that outlined common rules that could be implemented into the Ethereum network, mostly with the goal of ensuring that new projects or coins would function correctly when utilized on it.

That goal ultimately came to fruition, as the standards were adopted by the Ethereum network officially in 2017. Since then, ERC20 has served as a guiding light for Ethereum developers.

The Importance and Impact of ERC20

The ERC20 standard made many initial coin offerings (ICOs) possible in recent years, and the standard makes it easy for developers to create decentralized applications (dApps) on Ethereum.

To be more explicit, the standard makes implementing new tokens simpler for developers of decentralized applications (dApps) since there is a standard protocol to follow. ERC20 tokens can be made to offer high liquidity, and smart contract transactions are thought to be low-risk if the programming is done correctly.

How to Store ERC20 Tokens

To hold ERC20 tokens, users need an ERC20 wallet, as with any other crypto. But what’s important is to make sure that the crypto wallet in question supports tokens of this nature. Fortunately, some wallets have been specifically designed for the purpose of storing ETH and ERC20 tokens, including:

•   MetaMask

•   MyEtherWallet

•   Trust Wallet

•   Mist Wallet

•   Atomic Wallet

Wallets like these can also be used to interact with other blockchain-based platforms, such as DeFi apps and NFT marketplaces.

Remember, though, that when storing crypto in any wallet, it’s generally considered good practice to back up your private keys and seed phrase. Giving someone else access to your keys or phrase could allow them to take ownership of all the crypto in that wallet.

The Takeaway

ERC20 represents a set of standards and rules used on the Ethereum blockchain, and is also used for the creation of tokens issued on Ethereum. Many popular utility tokens are also ERC20 tokens, a list that includes Basic Attention Token (BAT), Shiba Inu (SHIB), and Crypto.com Coin (CRO).

The important thing to know about ERC20 is that it provides a set of standards on the widely-used Ethereum network. That, in some ways, helps the crypto space self-manage and continue to operate efficiently.

FAQ

What is an ERC20 wallet?

An ERC20 wallet is a crypto wallet that is either compatible with, or specifically designed to hold and secure ERC20 tokens. There are numerous ERC20 wallets on the market, and they may come in a variety of forms, such as hardware, mobile, or desktop wallets.

What’s the difference between ETH and ERC20?

ETH, or “Ether,” is the native cryptocurrency of the Ethereum network, and is used to facilitate transactions on the Ethereum blockchain. ERC20 is the protocol standard for creating Ethereum-based tokens, which can be utilized and deployed in the Ethereum network.


Photo credit: iStock/fongleon356

SoFi Invest®
INVESTMENTS ARE NOT FDIC INSURED • ARE NOT BANK GUARANTEED • MAY LOSE VALUE
SoFi Invest encompasses two distinct companies, with various products and services offered to investors as described below: Individual customer accounts may be subject to the terms applicable to one or more of these platforms.
1) Automated Investing and advisory services are provided by SoFi Wealth LLC, an SEC-registered investment adviser (“SoFi Wealth“). Brokerage services are provided to SoFi Wealth LLC by SoFi Securities LLC.
2) Active Investing and brokerage services are provided by SoFi Securities LLC, Member FINRA (www.finra.org)/SIPC(www.sipc.org). Clearing and custody of all securities are provided by APEX Clearing Corporation.
For additional disclosures related to the SoFi Invest platforms described above please visit SoFi.com/legal.
Neither the Investment Advisor Representatives of SoFi Wealth, nor the Registered Representatives of SoFi Securities are compensated for the sale of any product or service sold through any SoFi Invest platform.

Crypto: Bitcoin and other cryptocurrencies aren’t endorsed or guaranteed by any government, are volatile, and involve a high degree of risk. Consumer protection and securities laws don’t regulate cryptocurrencies to the same degree as traditional brokerage and investment products. Research and knowledge are essential prerequisites before engaging with any cryptocurrency. US regulators, including FINRA , the SEC , and the CFPB , have issued public advisories concerning digital asset risk. Cryptocurrency purchases should not be made with funds drawn from financial products including student loans, personal loans, mortgage refinancing, savings, retirement funds or traditional investments. Limitations apply to trading certain crypto assets and may not be available to residents of all states.

Financial Tips & Strategies: The tips provided on this website are of a general nature and do not take into account your specific objectives, financial situation, and needs. You should always consider their appropriateness given your own circumstances.

2Terms and conditions apply. Earn a bonus (as described below) when you open a new SoFi Digital Assets LLC account and buy at least $50 worth of any cryptocurrency within 7 days. The offer only applies to new crypto accounts, is limited to one per person, and expires on December 31, 2023. Once conditions are met and the account is opened, you will receive your bonus within 7 days. SoFi reserves the right to change or terminate the offer at any time without notice.

First Trade Amount Bonus Payout
Low High
$50 $99.99 $10
$100 $499.99 $15
$500 $4,999.99 $50
$5,000+ $100

SOIN0922052

All your finances.
All in one app.

SoFi QR code, Download now, scan this with your phone’s camera

All your finances.
All in one app.

App Store rating

SoFi iOS App, Download on the App Store
SoFi Android App, Get it on Google Play

TLS 1.2 Encrypted
Equal Housing Lender