I’m working on Philip’s Ultimate NFT course (https://www.youtube.com/watch?v=tBMk1iZa85Y), and have encountered two problem, maybe related.
First, after deploying the Moralis admin cli and getting the url that hosts the index.html, while I can see the two json files in the folder, when I modify the url to display either of the two image files I have in the folder (called ‘artwork.png’ and ‘photo.jpg’ (same file names as the tutorial), the browser states ‘not found’ (error 404).
Then, when trying to compile the contract in in Remix, I get the following error:
‘Declaration not found or not unique.
unit256 public constant ARTWORK = 0’
Do I need to upgrade to a paid version of Moralis to get the image files to be hosted via the cli? Or is there another issue?