Hi guys,
I seem to be able to follow the tutorial so far, until i publish my NFT’s on the open sea testnet. Open sea is not pulling the data from the Json files I have hosted on moralis. For example:
https://uupola8uxtgk.usemoralis.com/0000000000000000000000000000000000000000000000000000000000000000.json
I tried removing the whitespaces as per one person suggested - no luck -
I can only assume I have set up the contract wrong somehow, here is what i have set up through remix:
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC1155/ERC1155.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/access/Ownable.sol";
contract NFTContract is ERC1155, Ownable {
uint256 public constant TAROTART = 0;
uint256 public constant TAROTPHOTO = 1;
constructor() ERC1155("https://uupola8uxtgk.usemoralis.com/{id}.json") {
_mint(msg.sender, TAROTART, 1, "");
_mint(msg.sender, TAROTPHOTO, 2, "");
}
Let me know if I missed some part of the syntax or any other ideas you have,
Thanks!