DEV Community

geraldarzy
geraldarzy

Posted on

Intro to Blockchain: ERC-1155 Tokens

1155 Tokens??
1155 tokens, best way put, is a combination of ERC-721 tokens and ERC-20 tokens.

What does ERC-20 tokens classify as? Fungible. They are tradeable within their own kind. For example, lets say theres a coin called Example. One example coin could be traded for another example coin because they are of the same value. Each example coin is worth the same as another example coin, therefore they are fungible.

What does an ERC-721 token classify as. Non-Fungible. They are no tradeable within their own kind. For example lets say theres a 721 token called Token1 and another called Token2. I can not trade Token1 for Token2 because they are not of the same monetary value. Let's say Token1 is worth $5 while Token2 is worth $10. They are not of the same value, they are each unique and therefore they are not fungbile.

So now lets get to it. What is an ERC-1155 token? A combination of both right? Say there is a collection of ERC-1155 tokens. The way this would look is that there are multiple token types with each type having multiple copies. To understand this better, lets relate this to 721 and 20 tokens. Inside the collection of 1155 tokens, there will be multiple different 721 tokens (token types) and within each 721 there will be multiple copies, making each 721 token basically a 20 token. That is ERC-1155 tokens.

Let's take a look at an example of a collection of 1155 tokens. Here is a project called My Curio Cards (First collection of NFT's btw).
Image description

As you can see, there are multiple types of tokens. Each picture being a different token. But if we click on one type of token, you will see that each token type, has multiple copies.
Image description
This token has 1.4k copies. Meaning that this card 'MadBitcoins' has 1.4k copies of it that are fungible between one another. But this 'MadBitcoin' token can not be traded for a different type of card, because again, they are all different values.

Top comments (0)