Why doesn't OpenZeppelin ERC721 contain setTokenURI?

@frangio

Thanks a lot for your reply.

How can it become signifancly cheaper ? Everyone still needs to have setTokenURI functions and things like that, so, we still will use ERC721Storage, which means that in the end, the costs are the same.

Maybe what you mean is that some people wouldn’t have to setTokenURI and just use baseURI + '/' + tokenId as the tokenURI ? is this what you mean ? if that’s so, how can this be possible ? baseURI let’s say is gateway.pinada.com/ipfs , but tokenId is the id|number so , I can’t include ipfs hash anymore in the baseURI + '/' + tokenId which means I still need to have setTokenURI functionality.

Does it make sense ?

1 Like