DeclarationError: Undeclared identifier error when using _setBaseURI

Hello Matteo, welcome to the forum! What version of Contracts are you using?

ERC721 comes with _setTokenUri now. Check this previous discussion:

1 Like