2 Comments

"...by allowing multiple fungible and non-fungible tokens to be represented by a single contract." Interesting, does this mean that the additional tokens are 'written' into the original contract, or that the the contract somehow amends itself to include additional items?

Expand full comment
author

This is from the 1155 EIP: "The ERC-721 standard’s token ID is a single non-fungible index and the group of these non-fungibles is deployed as a single contract with settings for the entire collection. In contrast, the ERC-1155 Multi Token Standard allows for each token ID to represent a new configurable token type, which may have its own metadata, supply and other attributes."

So with 1155 you can create a contract that contains multiple IDs, where ID=1 has a supply of 1 and is non-fungible and ID=2 has a supply greater than 1 and is fungible, and so on. The safeTransferFrom function, which every 1155 contract should support, can be called with as many IDs as you want to mint new fungible or non-fungible tokens.

Expand full comment