0Pricing
Blockchain Smart Contracts with Solidity · Lesson

ERC-1155 Multi-Token Standard

Learn the ERC-1155 multi-token standard that lets a single contract manage fungible, semi-fungible, and non-fungible tokens together for gas-efficient batch operations.

Why ERC-1155 Exists

ERC-20 manages one fungible token; ERC-721 manages unique NFTs. But a game may need thousands of item types mixing both. Deploying a separate contract per type is wasteful.

ERC-1155 is a single contract that can manage many token IDs at once, each of which can be fungible or non-fungible.

Token IDs as Categories

In ERC-1155 each token is identified by a numeric id. The same id can have a balance greater than one (fungible) or a supply of exactly one (non-fungible).

  • id = 1 with balance 500 = a fungible gold coin
  • id = 2 with balance 1 = a unique sword NFT

All lessons in this course

  1. ERC-20 Fungible Token Standard
  2. Implementing an ERC-20 Token
  3. ERC-721 Non-Fungible Tokens (NFTs)
  4. ERC-1155 Multi-Token Standard
← Back to Blockchain Smart Contracts with Solidity