ERC1155
ERC-1155, or Ethereum Request for Comment 1155, is a token standard on the Ethereum blockchain designed to manage multiple token types within a single smart contract. It supports fungible tokens, non-fungible tokens (NFTs), and semi-fungible tokens, enabling a mixed asset portfolio under one contract rather than separate contracts for each token type. The standard is intended to improve efficiency for games and other platforms that handle many assets.
Token types are identified by unique IDs. Balances are tracked per account per ID. The protocol provides
Metadata is exposed via a URI function. Each token ID maps to metadata, with a URI template
Gas efficiency is a core feature: batch transfers can move multiple token types in a single transaction,
Open-source implementations and adoption: OpenZeppelin provides audited ERC-1155 contracts, and many projects implement the standard directly.