What is ERC20? A Guide to the Ethereum token standard (2024)

cryptocurrencyguideethereumdefiblockchain

0 minsPublished on 3/19/2024

An overview of ERC20, the token standard that promotes interoperability across the Ethereum blockchain network and its many applications.

By Corey Barchat

What is ERC20? A Guide to the Ethereum token standard (1)

Since its inception in 2015, the Ethereum blockchain has been a pioneer in the fields of decentralized applications (dApps) and smart contracts.

At the heart of the diverse Ethereum ecosystem of dApps, digital tokens,, and wallets lies the ERC-20 token standard. The ERC-20 standard dictates how fungible Ethereum tokens operate, interact, and facilitate the growth of the Ethereum network.

It's little exaggeration to say that this has revolutionized the creation and management of tokens on the Ethereum blockchain. But what is it and how does it work?

In this comprehensive guide, we will examine what ERC20 is, how it works, its benefits and risks, and even how to create ERC20 contracts.

What is ERC20?

ERC20 (Ethereum Request for Comments 20) is a standard for fungible tokens on the Ethereum blockchain. ERC20 defines a set of rules and functions that Ethereum-based tokens must adhere to, ensuring interoperability and compatibility with the various applications, wallets, crypto exchanges, and smart contracts across the Ethereum ecosystem.

Origins of ERC20

The ERC standard was officially proposed by developer Fabian Vogelsteller in 2015, and formalized into Ethereum Improvement Proposal 20 (EIP-20) in 2017. But why was it proposed in the first place?

Prior to ERC20, there were issues with creating, using, and exchanging different tokens on the Ethereum blockchain due to a lack of standardization. ERC20 was designed as the technical standard for fungible tokens on the Ethereum network, making each token within a set identical to the others.

What is ERC20? A Guide to the Ethereum token standard (2)

Ever since cementing itself as the standard for creating fungible tokens, ERC-20 has become a cornerstone of the Ethereum ecosystem, enabling developers to create innovative solutions and drive growth on the platform.

Just as with traditional Ether tokens, all transactions involving ERC20 tokens are recorded on the Ethereum blockchain, providing traceability of all token transfers and operations on the network.

How does the ERC-20 standard work?

At its core, the ERC20 standard outlines the functions that a token contract must implement to be considered ERC20 compliant. These functions play crucial roles in the operation of ERC20 tokens, from keeping track of the total supply of tokens to managing how tokens are transferred between addresses.

What is ERC20? A Guide to the Ethereum token standard (3)

By following these guidelines, developers can create tokens that seamlessly interact with other Ethereum-based applications, fostering a vibrant ecosystem of decentralized finance (DeFi).

ERC-20 functions

The ERC20 standard requires that tokens must implement six mandatory functions:

  • totalSupply: The total supply of ERC-20 tokens

  • balanceOf: The balance of ERC-20 tokens held by a single wallet address

  • transfer: Allows one wallet address to send an ERC20 token to another

  • approve: Gives permission for one address to spend tokens on behalf of another

  • transferFrom: Allows one address to send tokens from an approved address

  • allowance: The amount of tokens an approved address can spend on behalf of another

Some of these ERC20 smart contract functions are included for security purposes. They perform checks on the sender’s balance and approvals before moving tokens. This helps to enforce proper permissions, ensure transaction legitimacy, and prevent unauthorized transactions.

There are also some optional functions that can developers can program into the contracts of ERC-20 tokens via Solidity:

  • name: The name of the ERC-20 token

  • symbol: The ticker display of the ERC-20 token

  • decimals: The maximum number of decimal places that a token can be divided into

What is ERC20? A Guide to the Ethereum token standard (4)

Although not mandatory, these three functions may be useful to users and developers alike that may interact with the specific coin. For example, the name and symbol can help identify the token so users don’t accidentally buy or send the wrong one.

Benefits of ERC-20 Tokens

The ERC20 standard has ushered in plenty of benefits for the Ethereum ecosystem and the broader blockchain and DeFi spaces:

  1. Interoperability: ERC-20 tokens can be easily traded, exchanged, and integrated into various Ethereum-based applications, enhancing usability and interoperability between dApps.

  2. Standardization: The standardized interface simplifies Ethereum-based token development, auditing, and integration. This also helps to reduce the barrier to entry for developers and promote innovation.

  3. Accessibility: ERC-20 tokens can be stored and managed using a wide range of Ethereum wallets, ensuring easy access for users across different platforms and device types.

  4. Liquidity: The proliferation of ERC20 tokens has contributed much-needed liquidity to the Ethereum ecosystem, fueling the growth of applications like decentralized exchanges (DEXs) and liquidity pools.

  5. Scalability: By leveraging Ethereum's robust infrastructure, an ERC20 token inherits the scalability and security features of the Ethereum blockchain, facilitating efficient transactions and smart contract execution.

Examples of ERC-20 tokens

Numerous ERC20 tokens have gained widespread adoption and recognition within the crypto community. Here are some notable examples:

Tether (USDT)

What is ERC20? A Guide to the Ethereum token standard (5)

USDT is a stablecoin whose value is pegged to the US dollar. USDT is widely used in many decentralized applications, such as DEXs and liquidity pools.

USD Coin (USDC)

What is ERC20? A Guide to the Ethereum token standard (6)

USDC is another stablecoin tied to the US dollar, USDC is known for its greater transparency and regulatory compliance than USDT.

Chainlink (LINK)

What is ERC20? A Guide to the Ethereum token standard (7)

LINK is a cryptocurrency that enables decentralized oracle networks to connect smart contracts with external data sources.

Uniswap (UNI)

What is ERC20? A Guide to the Ethereum token standard (8)

UNI is the native token of the Uniswap decentralized exchange. It also serves as a governance token that enables users to participate in protocol governance.

Wrapped Bitcoin (WBTC)

What is ERC20? A Guide to the Ethereum token standard (9)

WBTC is an ERC-20 token pegged to the value of Bitcoin, allowing users to access Bitcoin liquidity on the Ethereum blockchain.

Shiba Inu (SHIB)

What is ERC20? A Guide to the Ethereum token standard (10)

SHIB started as a memecoin that was inspired by Dogecoin (DOGE). SHIB now has its own ecosystem of tokens and DeFi applications.

Additional ERC-20 tokens include COMP, BAT, MATIC, SAND, IMX, and WETH. These ERC-20 tokens represent just a fraction of the diverse ecosystem of Ethereum-based tokens, each serving unique purposes and catering to various use cases within the DeFi ecosystem.

Challenges and limitations of ERC-20 tokens

Despite their numerous advantages, ERC-20 tokens are not without their risks and drawbacks:

  1. Security vulnerabilities: Malicious actors can exploit vulnerabilities in ERC20 smart contracts, leading to security breaches and token theft.

  2. Scalability issues: The increasing demand for Ethereum transactions has led to network congestion and high gas fees, hindering the scalability and potential usage of ERC20 tokens.

  3. Regulatory uncertainty: The regulatory landscape surrounding ERC-20 tokens remains uncertain, with some regulatory bodies yet to define their classification and oversight.

  4. Smart contract risks: Errors or vulnerabilities in smart contract code can result in irreversible losses of funds or unexpected behavior, highlighting the importance of rigorous auditing and testing.

There are also additional security threats involved in ERC20 tokens like exploitation of backdoors in token functions, bugs and vulnerabilities due to inadequate testing and auditing, pump and dump schemes (due to the low entry barrier for creating tokens), as well as phishing and other cryptocurrency scams.

Other Ethereum token standards

ERC20 is not the only Ethereum standard token, though it has opened the path for the creation of more Ethereum token standards, like ERC-721 and ERC-1155.

ERC-721 introduced the concept of non-fungible tokens (NFTs) with unique identifiers for each token. NFTs support complex ownership structures for use cases like virtual worlds, art, ticketing, collectibles, and more.

ERC-1155 expanded utility further by allowing a combination of fungible and non-fungible tokens within a single contract, enhancing use cases in areas like gaming with diverse assets like in-game items and usable currencies.

What is ERC20? A Guide to the Ethereum token standard (11)

The Ethereum community, powered by the Ethereum Virtual Machine (EVM), continues to innovate with new tokens and newer standards such as ERC-1400 and ERC-998. showing a commitment to adapt to the diverse and evolving needs of token users and creators.

The future of the ERC-20 standard

The inception and broad acceptance of ERC20 has deeply impacted the cryptocurrency landscape. It has helped to establish a foundational standard for token interoperability, enhancing efficiency and accessibility for decentralized applications and exchanges.

This accessibility has helped accelerate the Ethereum network’s growth, driving innovation and expanding the blockchain’s capabilities. Despite inherent risks and challenges, the ERC20 standard continues to evolve, with ongoing efforts to address scalability, security, and regulatory concerns.

As the decentralized finance space continues to mature and attract mainstream adoption, ERC-20 tokens are poised to play a pivotal role in shaping the future of finance, offering potentially greater accessibility, liquidity, and innovation.

FAQs about ERC-20 tokens

What are ERC-20 tokens used for?

ERC-20 tokens are common in the decentralized finance (DeFi) space, and are used for various purposes like governance tokens in decentralized autonomous organizations (DAOs), liquidity tokens, stablecoins, and utility tokens within decentralized applications (dApps).

ERC20 tokens contribute to the functionality of platforms such as Uniswap’s decentralized exchange and the Maker Protocol’s lending system, and also enable use cases such as incentivizing user interactions within the Brave browser ecosystem with BAT.

Is ERC-20 the same as ETH?

No. ETH is the native cryptocurrency of the Ethereum blockchain, serving network operations and used to pay for transaction fees. ERC-20 tokens, on the other hand, are distinct tokens following the ERC-20 standard on the Ethereum network.

How to store and send ERC20 tokens

Storing and sending ERC20 tokens can be done through Ethereum wallets like MetaMask and Ledger. These cryptocurrency wallets allow users to add ERC20 tokens from any other Ethereum wallet by transferring tokens to the corresponding wallet address.

Note: Some cryptocurrency tokens like USDT and USDC can be created on multiple blockchains. If you're sending cryptocurrency to an Ethereum wallet, be sure to check that it is an ERC-20 token and use an Ethereum wallet address.

Are ERC20 tokens safe?

Like any cryptocurrency, ERC-20 tokens are not immune from security breaches. To protect users, developers should enforce access controls to prevent unauthorized use of sensitive functions, conduct thorough contract audits, initiate bug bounty programs, and deploy on testnets to identify bugs.

Create ERC-20 contracts with Hypermint by MoonPay

Hypermint is a powerful tool from MoonPay that simplifies the creation and deployment of ERC20 tokens, allowing developers to unleash their creativity and bring their token ideas to life. With Hypermint, you can effortlessly generate ERC20 smart contracts, customize token parameters such as name, symbol, and supply, and deploy your tokens on the Ethereum blockchain in just a few clicks.

Whether you're launching a new utility token, conducting a tokenized campaign, or experimenting with tokenized assets, Hypermint provides the tools and infrastructure you need to succeed in the rapidly evolving world of Web3.

What is ERC20? A Guide to the Ethereum token standard (12)

Written byCorey Barchat

You might also like

Bitcoin vs Ethereum: What’s the biggest difference?Bitcoin (BTC) and Ethereum (ETH) are two of the most popular cryptocurrencies in existence. But what separates them from each other? Learn here.
What are crypto whales and how to track them?Ever wondered the meaning behind the term 'crypto whale'? Learn what crypto whales are, how to track them, and how they influence the market.
What are cross-chain bridges? How interoperable crypto transfers workCurious about what cross chain bridges are? Simply, they’re the pathway that allows users to send cryptocurrencies across different blockchains. Learn more here.
Solana staking: How to stake Solana (SOL)?Did you know Solana has a mechanism to let users lock up tokens to secure the network and earn rewards? Learn more about staking Solana here.
What is dollar-cost averaging? DCA explainedYou may have heard of dollar-cost averaging as a popular investment strategy. But what is it, and is it sound? Learn more in this DCA guide.
Bitcoin vs Solana: What’s the biggest difference between BTC and SOL?This guide shows you what unites and separates Bitcoin (BTC) and Solana (SOL), two of the leading cryptocurrencies on the crypto market.
What is ERC20? A Guide to the Ethereum token standard (2024)

FAQs

What is ERC20? A Guide to the Ethereum token standard? ›

ERC20 defines a set of rules and functions that Ethereum-based tokens must adhere to, ensuring interoperability and compatibility with the various applications, wallets, crypto exchanges, and smart contracts across the Ethereum ecosystem.

What is the Ethereum standard ERC20? ›

ERC20 is a community-proposed standard for smart contracts and tokens associated with them. The standard allows users to transfer tokens and be re-used by any other Ethereum application. It also makes it easier for them to be approved because the standardized elements must all be present.

How do I know if I have ERC20 tokens? ›

View the ERC20 tokens

On the Wallet tab, click on Ethereum. Scroll down to Your ETH accounts and click on your ETH account with ERC20 tokens. You should see all your ERC20 tokens on the account.

What is the difference between ETH and ETH ERC20? ›

Is ERC-20 the Same As ETH? Ether (ETH) is the native token used by the Ethereum blockchain and network as an internal payment system. ERC-20 is the standard for creating smart contract-enabled fungible tokens to be used in the Ethereum ecosystem.

What is ERC20 for dummies? ›

ERC-20 is a technical standard used for smart contracts on the Ethereum Blockchain. It stands for “Ethereum Request for Comment 20” and was proposed by Fabian Vogelsteller in 2015. The ERC-20 standard defines a set of rules that developers can follow to create their own tokens on the Ethereum Blockchain.

Is ERC20 an Ethereum wallet? ›

An ERC-20 wallet is a type of cryptocurrency wallet designed to hold Ethereum (ETH) and any tokens built on its platform, known as ERC20 tokens.

How much is Ethereum ERC20 in usd? ›

ERC20 to USD
AmountToday at 1:32 pm
1 ERC20$0.20
5 ERC20$1.01
10 ERC20$2.01
50 ERC20$10.07
4 more rows

Can I swap ERC20 to ETH? ›

Erc20 tokens are basically tokens that reside on Ethereum chain. You can convert them to ETH on any centralized exchange. But be ready to give away your identification.

Can I send an ERC20 token to an ETH address? ›

ERC-20 tokens are digital assets built on the Ethereum blockchain, following a specific set of standards that allow them to be shared, exchanged, or transferred to any Ethereum address.

Which Ethereum network to use? ›

ETH and ERC20 tokens should be sent to your Ledger Ethereum address via the ETH/ERC20 network. BNB and BEP20 tokens should be sent to your Ledger Binance Smart Chain address via the BNB/BEP20 network. ETC should be sent to your Ledger Ethereum Classic address via the ETC network.

How do I use my ERC20 token? ›

To spend the tokens, the spender can use the transferFrom function, specifying the parameters of the sender, recipient, and token amount. An ERC20 token transaction is recorded on the Ethereum blockchain, and the token balance is updated when a user sends an ERC20 token to another user.

Why is ERC-20 so expensive? ›

ERC20 tokens are developed in the existing ethereum blockchain. So the new blockchain is not needed. For creating an ERC20 token, there is a set of rules and conditions for ethereum token developers. Only after satisfying those rules and conditions, developers can develop and deploy a unique ERC20 token.

How do I pay with ERC-20? ›

You can choose from a list of ERC20 tokens to pay for the gas, not giving a preferred token will allow you to select from current supported tokens. Send the transaction using the Biconomy Smart Account, specifying ERC-20 token payment details. Wait for the transaction to be mined and get the transaction hash.

Where can I find my ERC20 address? ›

Summary: How to Get the Address of an ERC-20 Token
  • Step 1: Visit Moralis Money.
  • Step 2: Go to the coin's token page.
  • Step 3: Copy the address.
Oct 17, 2023

Is ERC20 a USDT ETH? ›

USDT on the Ethereum blockchain, known as ERC20 USDT, seamlessly works with the extensive Ethereum ecosystem. This includes various decentralized applications (dApps), exchanges, and services. Its wide integration makes ERC20 USDT widely accepted and usable in many contexts.

What is the ERC20 contract standard? ›

The ERC-20 (Ethereum Request for Comments 20), proposed by Fabian Vogelsteller in November 2015, is a Token Standard that implements an API for tokens within Smart Contracts. Example functionalities ERC-20 provides: transfer tokens from one account to another. get the current token balance of an account.

Top Articles
Latest Posts
Article information

Author: Jamar Nader

Last Updated:

Views: 6387

Rating: 4.4 / 5 (55 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Jamar Nader

Birthday: 1995-02-28

Address: Apt. 536 6162 Reichel Greens, Port Zackaryside, CT 22682-9804

Phone: +9958384818317

Job: IT Representative

Hobby: Scrapbooking, Hiking, Hunting, Kite flying, Blacksmithing, Video gaming, Foraging

Introduction: My name is Jamar Nader, I am a fine, shiny, colorful, bright, nice, perfect, curious person who loves writing and wants to share my knowledge and understanding with you.