How to use OZ 4 to make an NFT that's both enumerable and has URI storage?

If I just use ERC721Enumerable and ERC721URIStorage as base classes, I get a lot of "Derived contract must override function" errors due to multiple inheritance. Is there a better approach here?

Using the OZ contract wizard to get started with a new token helps to bypass lot of these compile time bugs.

2 Likes