Ethereum Tokens: What Is The ERC Token Standard All About?
| — The terms ‘crypto token’ and ‘cryptocurrency’ are often used interchangeably, but they possess a subtle difference. While cryptocurrencies are native to a blockchain, tokens do not have their exclusive blockchain.|
— On the Ethereum blockchain, crypto tokens can be of different types, each defined by whether or not they are fungible.
— The degree of fungibility of a token is represented by one of the three token standards on Ethereum
— ERC20, ERC721, and ERC1155
— In this article, explore the meaning of ERC tokens in general and delve into each of these three token standards.
Beginnings can be confusing in the crypto space. For the purpose of this article, consider terms like token standards, ERC20, ERC721, and so on. All of it may seem alien to you now, but their concept becomes very simple once you know what role they play. Just what are ERC tokens? Here, let’s explain in plain English.
Understanding Blockchain Coins Vs Tokens
First came the coins. The story starts with Bitcoin — the first blockchain network. The design of Bitcoin was = to allow people to make global peer-to-peer payments using its native currency also called Bitcoin or BTC. Then came similar blockchains such as Litecoin (LTC) and Dogecoin (DOGE) that offered a similar use case.
All these cryptocurrencies that live on their own blockchain network are referred to as coins.
Then came Ethereum and introduced the concept of blockchain-based decentralized applications and protocols. Although Ethereum too has its own ‘coin’ called ETH that can be used in the same ways as BTC, its primary use case is to serve as gas to power transactions and operations on apps and protocols built on the network.
Further, developers of these apps can create in-app currencies that do not have a dedicated blockchain and are instead stored on Ethereum itself. Ethereum also allows users to create other forms of standalone digital assets that can be immutably stored on the Ethereum itself. These in-app currencies or digital assets created and stored on Ethereum are which are called tokens.
To sum it all up, a crypto asset that has a dedicated blockchain is technically a coin. While all other assets created on a third-party blockchain are called tokens. But to learn about this further, make sure you check out the full article on coins vs tokens.
What Are Ethereum Tokens? The ERC Standard: Explained
The Ethereum ecosystem is decentralized, but it still needs someone to set the rules, make calls for upgrades, and set standards that define what is possible on the blockchain. To achieve this, the very users of Ethereum need to create Ethereum Improvement Proposals (EIPs), discuss their details, and vote on them to either reject or start their implementation.
Now, there are several types of EIPs for different categories of improvements and additions. One such type was defined by the core Etheruem developers to propose, discuss, and implement different technical standards for the creation of tokens, smart contracts, applications, wallet formats, etc. on Ethereum.
This subcategory of an EIP was dubbed the Ethereum Request for Comments, a.k.a. ERC. So far, there have been many Ethereum Request for Comments to set standards for the tokens that can be created on Ethereum. So, all tokens that are created on Ethereum must follow the standards set by these ERCs. Hence, they are ERC tokens.
Today, there are three ERC standards that are most common on Ethereum: ERC-20, ERC-721 and ERC-1155. Just in case there is confusion, the numbers following ERC are simply the serial numbers of ‘request for comments’ that proposed these standards.
But what do these standards exactly mean, and why is the need for them? Let’s find out.
Understanding the ERC Token Standards
ERC-20: The Fungible Token Standard
First implemented in 2015, ERC20 is the token standard that allows developers to create fungible tokens for their Ethereum-based applications or protocols. Say what?
For the start, you can imagine ‘fungible tokens’ as any regular currency based on a blockchain. The term ‘fungible’ simply means that you can interchange one unit of a token with any other unit of that token because they represent the same value. An example of this would be a stablecoin. On that note, take the example of crypto assets like UNI or LINK — the ERC20 tokens of Ethereum-based protocols Uniswap or Chainlink. Each of these tokens are fungible because one UNI or LINK token will always be equal to any other UNI or LINK token.
That means you can exchange the above tokens on a one-to-one basis. It won’t matter which UNI you own because their underlying value will always be the same as all other UNI tokens.
ERC-721: The Non-fungible Token Standard
As the use cases of blockchain expanded, there was a need to tokenize and represent unique data on the blockchain. Introducing the ERC721 token standard as standard. ERC721 standard allows you to create non-fungible tokens. Tokens that each possess a unique value and act as verifiably unique digital objects that cannot interchange with each other like ERC20 tokens.
So, suppose you want to represent a piece of digital art on the blockchain. You clearly cannot use an ERC20 token to do that. Instead, you can use an ERC721 standard token to create an NFT art piece. This NFT of the digital art piece can easily prove the authenticity of the art work and its record of ownership.
As the record of ownership and the identity of the NFT artwork is immutable and stored on a blockchain, it also makes forging any artist’s original work nearly impossible.
ERC1155: The Semi-Fungible Token Standard
The problem with ERC20 and ERC721 standards was that they allow one smart contract to only support a single type of fungible or non-fungible token. So, every time you want to deploy a new token, you have to write a new smart contract. Besides, the above two standards do not offer a way to create semi-fungible tokens.
This led to the establishment of the ERC1155 token standard, enabling Ethereum developers to create fungible, semi-fungible, and non-fungible tokens using the same standard. Furthermore, using ERC-1155, you can create a single contract to support multiple types of individually configurable tokens. Thus reducing the complexity of the token creation process. That got a bit complex, didn’t it? Let’s simplify that.
Suppose a developer wants to develop an NFT game. They plan to create one fungible token as the in-game currency and multiple non-fungible tokens for unique in-game assets such as skins, guns, merchandise, etc. If they use ERC-20 and ERC-721 standards, they would have to write new smart contracts to support every new type of asset they create. However, using ERC-1155 would enable them to write just one contract to support all kinds of tokens they want to have in the game.
All of this is not to say that one of the standards is better than the other. They simply have different applications.
The Endless Possibilities on Ethereum
Ethereum has very well propelled blockchain beyond just being a technology for secure digital money. Plus the ability to propose and establish new token standards creates more room for newer use cases of the Ethereum network.
Thanks to this innovation, today, it is possible for an artist to create a unique token representing their art piece. It is possible for creators to represent the scarcity of their creations and monetize their work. Possible for game developers to impart real-world value to their gamers using in-game items, and it is possible to create an entirely new, user-governed economy on the internet. Something that was never thought of or worked on before.
Knowledge is Power.
Trust yourself and keep on learning! If you enjoy getting to grips with crypto and blockchain, check out our highly entertaining School of Block video.