ERC721 extension to enable rental

Hey @Daniel-K-Ivanov ,
Thanks for your feedback, I share your concerns that this current proposal is too limited to the rental use case and that it will benefit from having a more customizable role definition.
I saw you were discussing interesting ideas with @ilanolkies in ERC-4400: ERC-721 Consumer Extension about how to define roles more generically.
I tried to come up with a new design that intends to merge the 2 ideas:

  • Allow arbitrary roles to be granted
  • Delegating the role permission management to another contract IERC721RolesManager so that roles terms and agreements can be honored on-chain.

Here is the PR that also has an example about we would implement define the Renter role:

Happy to collaborate on this idea :slight_smile:

1 Like