Nft description and image does not appear on opensea

Hey !

I followed this guide : https://moralis.io/how-to-bulk-mint-nfts-batch-minting-guide/, all was OK but when I try to see my nft on opensea testnet they does not have any description or image.

my contract is like it:

pragma solidity 0.8.7;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";

contract NFT is ERC1155 {
    constructor() ERC1155("ipfs://QmX1xfbKoUEHtnoiVY9uEtH3X6YuJx2yzPg6ggp3zrFUzz/metadata/{id}.json") {
        _mint(msg.sender, 1, 1, "");
        _mint(msg.sender, 2, 1, "");
    }
}

I don’t know why it does not work

1 Like