Hello everyone! I need help with my NFT contract and would appreciate a lot if someone could help!

In general: The problem is that my metadata, or maybe jut a picture do not load on opensea/rarible.

There are 2 phases to the contract:
Phase 1: NFTs are not revealed and for every token ID contract returns this URI:
"ipfs://QmWn2RaTUe84kousmMdHAWy926bwzpU4bSPSrxqnzH7zhP/1.json"

Phase 2: NFTs are revealed and for each token ID contract returns this URI dofferent ID:
ipfs://QmPgsM9P9MSZehMrhkKo3Erc1Fqb6RTS15Lp1UrHXnCrTx/222.json

Contract seem to return a proper URI and the link itself seems to work, but there is nothing showing on the market. We are not sure if the problem is with metadata, marketplace or contract.

Here is a contract for reference and link to rarible:
https://rinkeby.etherscan.io/address/0x6def83b9de0f11ae838a0ea8775e3e5470bbd9ef#readProxyContract
https://testnet.rarible.com/collection/0x6def83b9de0f11ae838a0ea8775e3e5470bbd9ef/items

Jul 10, 2022, 12:06 PM
according to opensea,
image URL should refer to a static asset that gets cached by the open sea's backend.
Jul 10, 2022, 12:15 PM
I can open the link and download the picture from metadata. But the contract is on chain for about 12 hours and tickets are still not loading.

What is interesting is that once I reveal my tokens everything uploads instantly.

What could be the problem?
Jul 10, 2022, 12:19 PM
probably caching, since when opensea fetches your image for the first time it gets nothing.
You can ask them to refetch once reveled
Jul 10, 2022, 12:21 PM
I have changed the way I upload my metadata and it works now! thank!
Jul 10, 2022, 12:26 PM
So what was the issue?
Jul 10, 2022, 2:46 PM
seems like the problem was in trailing comma in json
Jul 10, 2022, 3:31 PM
Ah:po
Jul 10, 2022, 4:02 PM

© 2024 Draquery.com All rights reserved.