Skip to content

NFT Inventory

This implements a fully on-chain inventory system for ERC721 tokens. It allows ERC721 contracts to treat the blockchain as the source of truth about the state of each token.

Administrators can define the inventory slots that an NFT collection (ERC721 contract) admits. They can specify which items (ERC20 tokens, ERC721 tokens, ERC1155 tokens) are equippable in each slot.

NFT owners can equip and unequip valid items from each slot.

Games can use the items equipped in a character's inventory to determine their abilities in-game.

Contract name Immutable or Upgradable Deployment CLI Solidity interface ABI
InventoryFacet
Upgradable
web3cli core inventory-gogogo
web3cli inventory
n/a
abi/InventoryFacet.json

Here is a comparison between ERC-6551 (Tokenbound) and NFT Inventory.

💡Note: This technology is being developed in collaboration with Game7 DAO and Summon. Here is a GitHub repository with more details.


Last update: March 5, 2024
Created: March 5, 2024