A blockchain game developer needs to create multiple types of in-game assets. Some assets, like health potions, are fungible and stackable. Other assets, like a unique legendary sword, are non-fungible. To optimize transaction costs and contract management, which token standard should the developer use?
-
A
ERC-721, by deploying a separate contract for each asset type.
-
B
ERC-20 for the potions and ERC-721 for the sword, managed by a central registry contract.
-
C
ERC-1155, which allows for the creation of fungible, non-fungible, and semi-fungible tokens within a single smart contract.
-
D
A custom-built standard that combines features from both ERC-20 and ERC-721.