Closed meitedaf closed 3 months ago
I minted the same NFT file twice in the same contract using the metadata URI: ipfs://QmUGveXhXxrNUn28Le3aKygYsFq3zkF9WvwasjaynYawWm
Both mint operations were successful, resulting in two tokenId 0 and 1, respectively. However, they essentially represent the same NFT. Is this a bug?
Hello @meitedaf, can you please post this question on: https://github.com/Cyfrin/foundry-full-course-cu/discussions
In the discussion section, we can provide more support from both community managers and the community.
Course Section: Section 2: Develop an NFTs Collection
Problem Description: I successfully deployed my NFT contract and minted an NFT. Here is the contract address on Sepolia: Contract Address
Using the
readContract
function, I queried thetokenURI
and received the following IPFS link:ipfs://QmUGveXhXxrNUn28Le3aKygYsFq3zkF9WvwasjaynYawWm
.When I open the link, it correctly displays the JSON metadata file:
The image link in the JSON file also correctly shows the picture of the SHIBA pup.
However, the image does not display on Sepolia Etherscan or in MetaMask. Both platforms fail to show the SHIBA image associated with the NFT.
Additional Information:
I've looked at other similar issues, but the solution doesn't work for me.
Please provide guidance on how to resolve this issue so that the NFT image is correctly displayed on Etherscan and MetaMask.
Thank you.