Skip to content

feat(token): implement ERC-5006 rental NFT for ERC-1155 #32

@jose-compu

Description

@jose-compu

Background

ERC-5006 is the rental NFT standard for ERC-1155 tokens — parallel to ERC-4907 which we already implement for ERC-721. Since we have 4907 done, adding 5006 for completeness makes sense. Gaming use cases are the primary driver (renting in-game items that are 1155 tokens).

Scope

  • ERC5006.sol — ERC-1155 extension with user/expires semantics
  • ERC5006Upgradeable.sol
  • IERC5006.sol interface
  • Test suite (can mirror the structure of our ERC4907 tests)
  • NatSpec documentation

Should be a relatively contained implementation given we already have the 4907 pattern to follow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsoliditySolidity smart contract implementationtier-3Tier 3 niche/growing ERC implementations

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions