6
Min Read

Token Standards 101: Your Guide to ERC Tokens

Ray Chen
Product Manager
August 18, 2023
Token Standards 101: Your Guide to ERC Tokens
Update
Since this post was written, Hyperledger FireFly has reached 1.0. Learn more here!

What Are Tokens?

Tokens can take many forms. Most people think of a shiny coin, but that is not always the case.

At its most basic form, a token is a representation of value and a concept that has been an integral part of humanity for thousands of years. The earliest stages contained shells and rocks and nowadays we are familiar with things such as money, casino chips, tickets, reward points and more.

In essence, a token derives its value based on what it represents. As blockchain and cryptocurrency reach mass adoption, there are 6 main types of tokens in this Web3 world.

  1. Platform Tokens. These are tokens that are critical to how a smart contract platform operates by providing protection against abuse. An example is the ETH token for Ethereum, or MATIC token for Polygon. These tokens are needed to pay for gas (transaction fees), reward miners (in proof-of-work blockchains), and serve as a form of security and validation through staking.
  1. Transactional Tokens. These are tokens used to represent value. We can think of money (bills, coins, checks) as a transactional token and by definition all platform tokens fall in this category. A transactional token that is not also a platform token is Bitcoin. One of the biggest improvements of Bitcoin over traditional money is the ability to execute transactions without a central authority within or across countries.

  2. Utility Tokens. Utility tokens are generally integrated into an online service. These are tokens that are used to gain access to the service. An example of a utility token is the Basic Attention Token (BAT). BAT tokens act as a unit of account between advertisers, publishers, and users on the Brave Internet Browser. Users gain BAT for their viewership of ads, advertisers gain better targeting and higher return on investment, and publishers receive BAT from users as donations, access to premium content, or other services.
  1. Security Tokens. Security tokens are a special class of tokens that require regulatory oversight. They must be issued by a regulatory approved organization such as a company, trust, or government. Security tokens can be used to represent real estate, bonds, pre-IPO equity, carbon credits, and commodities among other things. Buying and selling security tokens is generally done on Alternative Trading Platforms, which follow strict regulatory guidelines and may limit a user’s ability to transact based on his/her financial circumstance.
  1. Governance Tokens. Governance tokens allow holders to partake in future decision-making processes of their native platform. An example of a governance token is UNI, Uniswap’s native token. Holders of UNI have voting power over proposals submitted to the Uniswap protocol and those that hold more UNI have greater voting power.

What Are Token Standards?

Token standards are a set of rules that a smart contract must abide by. It defines how a token works and how it can be created, transferred, mutated and destroyed.

In the Ethereum world, anyone can create their own ERC token. ERC stands for Ethereum Request for Comment and is a set of technical documents that contain guidelines for developing a smart contract.

The most common standards and also the ones supported on Kaleido are ERC-20, ERC-721, and ERC-1155. Below is a quick summary of each.

ERC-20

ERC 20 infographic defines the token properties

The ERC-20 token standard  is a “fungible token.” Fungibility is the ability for a token to be exchanged for something of the same value.

In everyday life, an example would be a quarter. Each quarter is always worth 25 cents and can be exchanged for other quarters. Popular ERC-20 tokens include stablecoins and governance tokens.

Use cases for ERC-20 tokens include fiat currencies, financial assets (i.e. stocks), reward points, commodities (i.e. gold), and more. Additionally, ERC-20 tokens are often used to fundraise through ICOs (initial coin offerings).

Customizable features on the Kaleido Asset Platform for ERC-20 tokens include:

  • Mintable: Ability to create a new token inside a smart contract
  • Burnable: Ability to destroy a token
  • Pausable: Pausable token transfers, useful for scenarios such as preventing trades until the end of an evaluation period, or having an emergency switch for freezing all token transfers in the event of a large bug
  • Votes: Support for voting and vote delegation
  • Flash Mint: Token level support for flash loans through the minting and burning of ephemeral tokens (standardized as ERC3156)
  • Snapshots: Efficient storage of past token balances to be later queried at any point in time

ERC-721

ERC 721 infographic defines the token properties

ERC-721 tokens are “non-fungible tokens.” They are commonly referred to as NFTs. Non-fungible is a fancy way of saying one-of-a-kind. An example in everyday life would be the Mona Lisa painting. The Mona Lisa cannot be exchanged for a replica (no matter how perfect) since it is unique.

In the blockchain world, popular NFTs such as Cryptopunks cannot be exchanged for replicas since they are unique. A copied or saved image may look identical but only the original Cryptopunk NFT can be identified and verified on chain so anyone in the world can verify its authenticity.

There are many use cases for NFTs including digital art, collectibles, IP, real estate, ESG, and more. To learn more, check out our article on 10 Ways Enterprise NFTs Will Change How We Do Business.

Customizable features on the Kaleido Asset Platform for ERC-721 tokens include:

  • Mintable: Ability to create a new token inside a smart contract
  • Autoincrement ID: Automatically incrememnt token ID by 1 when minting a token as ERC721 tokens must be unique
  • Burnable: Ability to destroy a token
  • Pausable: Pausable token transfers, useful for scenarios such as preventing trades until the end of an evaluation period, or having an emergency switch for freezing all token transfers in the event of a large bug
  • Enumerable: Add's totalSupply(), tokenByIndex(), and tokenOfOwnerByINdex() functions allowing the ability to check total number of non-burned NFTs issue by a contract, tokenId of NFTs stored at a particular index, and tokenId of an NFT that is stored at a particular index of the owner's list of tokens.
  • URI Storage: Allows per-token metadata to be stored on-chain

The key difference between ERC20 and ERC721 tokens lies in their fungibility. ERC20 tokens are fungible and represent a uniform asset, while ERC721 tokens are non-fungible and symbolize a set of unique assets. Additionally, ERC721 tokens cannot be divided into smaller units.

ERC-1155

ERC 1155 infographic defines the token properties

ERC-1155 is a multi-token standard that supports both fungible and non-fungible tokens. An example of this in real life would be general admission event tickets. Before the event takes place, the tickets act like ERC-20 (fungible) tokens that can be exchanged for each other. Afterward, however, they lose their event value and become collectibles (non-fungible).

The most popular use case for ERC-1155 tokens right now are in the Web3 gaming space. Assets in the game can act as fungible tokens such as skins or in-game currencies. However, other assets such as unique or limited edition weapons take on non-fungible characteristics. ERC-20 and ERC-721 contracts work in a way where a weapon item that only differs in aesthetics—such as color—could be minted as the same contract. An example might be a gold sword and black sword. However, new contracts would be needed if the weapon item works any differently. For example, an ice sword and a fire sword may need separate contracts because they have different functions. Similarly, a sword and gun may require different contracts.This means a game with thousands of different weapons would require thousands of smart contracts.

With ERC-1155, an infinite number of items could be stored in a single contract. Exchanging different items between a group of friends can now be done in a single transaction instead of multiple. These token transfers are called batch transfers.

While ERC-1155 can take on the functionality of both ERC-20 and ERC-721 tokens, there are some downsides as well which is mainly how metadata is stored. Querying an owner is more difficult as some accounts may have one token while others may have multiple. The ERC-1155 token standard is ideal for a collection of tokens while ERC-20 and ERC-721 are better suited for individual tokens.

Customizable features on the Kaleido Asset Platform for ERC-1155 tokens include:

  • Mintable: Ability to create a new token inside a smart contract
  • Burnable: Ability to destroy a token
  • Pausable: Pausable token transfers, useful for scenarios such as preventing trades until the end of an evaluation period, or having an emergency switch for freezing all token transfers in the event of a large bug
  • Supply Tracking:Extension of ERC1155 that adds tracking of total supply per id, useful for scenarios where Fungible and Non-fungible tokens have to be clearly identified
  • Updatable URI: Set the tokenURI of a token and allows per-token metadata to be stored on-chain

Thinking Beyond ERC

Beyond the ERC (Ethereum Request for Comment) standards, there exist numerous other token standards tailored to different blockchain platforms and use cases. Some notable examples include:

BEP (Binance Smart Chain Token Standard)

Introduced by Binance Smart Chain, BEP standards are similar to ERC standards and facilitate the creation and management of tokens on the Binance Smart Chain platform.

TRC (TRON Token Standard)

Developed by the TRON network, TRC standards enable the creation and management of tokens on the TRON blockchain, offering features like scalability and high throughput.

NEP (NEO Enhancement Proposal)

NEP standards are designed for the NEO blockchain and outline specifications for creating and managing tokens, as well as other assets and smart contracts.

SPL (Solana Program Library)

Specific to the Solana blockchain, SPL standards define protocols for creating and managing tokens, leveraging Solana's high-speed and low-cost infrastructure.

SLP (Simple Ledger Protocol)

Built on the Bitcoin Cash (BCH) blockchain, SLP standards enable the creation and management of tokens with a focus on simplicity and accessibility.

These token standards, among others, cater to diverse blockchain ecosystems, offering developers flexibility and choice when designing and deploying tokenized assets and applications. Each standard comes with its own set of features and benefits, catering to different project requirements and blockchain environments.

The Advantages of Standards in Enterprise Environments

In the dynamic landscape of enterprise blockchain, the adoption of token standards brings a lot of advantages. Token standards serve as the bedrock for enhancing interoperability, promoting composability, and optimizing efficiency within enterprise environments.

By facilitating seamless integration across platforms, empowering developers to innovate through component reuse, and streamlining smart contract operations, these standards pave the way for a more interconnected, efficient, and innovative future in the enterprise crypto space.

Enhanced Interoperability

Picture a scenario where every digital currency or token operates independently, each with its own set of rules and incompatible platforms. The result? Utter chaos.

Enter token standards: these protocols ensure that tokens adhering to the same standards can seamlessly interact. Take the widely adopted ERC-20 standard, for example, which enables tokens to function smoothly across various wallets and platforms.

This interoperability eradicates the need to manage multiple wallets or hunt for compatible platforms, creating a unified ecosystem where assets flow effortlessly.

Promoting Innovation and Creativity

In the realm of enterprise programming and token creation, composability reigns supreme. It's the concept that empowers developers to construct new products by leveraging existing components.

Token standards play a crucial role in this process. By adhering to established standards, developers can bypass the arduous task of building fundamental functionalities from scratch. Instead, they can channel their efforts into experimentation and innovation, accelerating the development of groundbreaking projects and features, and pushing the boundaries of what's achievable in the enterprise crypto space.

Optimizing Efficiency

Smart contracts serve as the cornerstone of blockchain applications, and token standards significantly simplify their operations. Standards like ERC-20 and BEP-20 come equipped with essential functions such as address retrieval and token balance tracking, empowering smart contracts to monitor and interact with tokens seamlessly.

Developers can leverage tools like the Contract Application Binary Interface (ABI) to inspect token transfers and gather crucial data effortlessly. This enhanced efficiency reduces the complexities associated with monitoring and managing tokens within smart contracts.

Final Thoughts

Tokens have been an integral part of society for thousands of years and there are many real world use cases already being used in blockchain. You may choose one ERC standard over another depending on your use case, be it a fungible token, NFTs, or a need to make a complex transfer on the Ethereum network.

Whatever standard you choose to build with, choosing to build a defined standard is important. Token standards facilitate seamless interoperability, empower developers to innovate, and optimize the efficiency of smart contract operations. In a rapidly evolving enterprise crypto ecosystem, these standards serve as the cornerstone of a more interconnected, efficient, and innovative future.

At Kaleido, we make it easy to create your own tokens and monitor activity around that token. Be sure to check out Kaleido’s YouTube channel, blogposts, and docs for some of our other token features as well!

Mint, Manage, Swap

Test our native token services to launch and customize your digital assets quickly.

Start A Free Trial

Mint, Manage, Swap

Test our native token services to launch and customize your digital assets quickly.

Start A Free Trial
Interested in Blockchain?

Start learning blockchain and creating enterprise solutions today with a free Kaleido account!

Create Free Account
Don't forget to share this article!
Interested in Blockchain?

Start learning blockchain and creating enterprise solutions today with a free Kaleido account!

Create Free Account

Mint, Manage, Swap

Test our native token services to launch and customize your digital assets quickly.

Start A Free Trial

Mint, Manage, Swap

Test our native token services to launch and customize your digital assets quickly.

Start A Free Trial

The Ultimate Enterprise Blockchain Glossary

Your guide to everything from asset tokenization to zero knowledge proofs

Download Now

Swift Utilizes Kaleido in New CBDC Sandbox

Learn how Swift, the world’s leading provider of secure financial messaging services, utilizes Kaleido in its CBDC Sandbox project.

Download Now

Related Posts

Tokenized Funds: Bridging Traditional Finance and Blockchain

The Rise of Tokenized Funds: Bridging Traditional Finance and Blockchain Technology

Marc Lewis
Managing Editor
Revolutionizing Traditional Repo Transactions: How Tokenization is Changing the Game

The Future of Repo Transactions: How Tokenization is Reshaping the Industry

Marc Lewis
Managing Editor
The Future of Art Ownership: Tokenization as a Catalyst for Innovation, Accessibility, and Engagement

The Future of Art Ownership: Tokenization as a Catalyst for Innovation, Accessibility, and Engagement

Marc Lewis
Managing Editor

Blockchain made radically simple for the enterprise

No Credit Card Required
ISO27K & SOC2 Type 2 Compliant
Free Training & Support