SFT
1 min read
Pronunciation
[ess-eff-tee]
Analogy
SFT is like a digital membership card system where some cards are identical passes and others are unique VIP tokens.
Definition
Abbreviation for Semi‑Fungible Token, the ERC‑1155 standard enabling mixed fungible and non‑fungible tokens.
Key Points Intro
SFT shorthand covers:
Key Points
ERC‑1155 standard: Multi‑token contract interface.
Mixed fungibility: IDs can be fungible or non‑fungible.
Batch transfers: Single call moves multiple IDs.
Gas efficiency: Shared logic reduces deployment footprint.
Example
An SFT contract mints 1 000 units of ID 1 (gold) and one unit of ID 2 (rare artifact).
Technical Deep Dive
SFT contract implements `function uri(uint256 id)` and uses `mapping(uint256 => mapping(address => uint256)) balances`. Batch functions iterate internal arrays, emit batch events, and check `to` contract receivers via `onERC1155Received` hook.
Security Warning
Caveat
Some wallets lack full SFT support; check UI compatibility.
SFT - Related Articles
No related articles for this term.