Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata extension JSON schema #295

Open
erectilereptiles opened this issue Apr 27, 2022 · 0 comments
Open

Metadata extension JSON schema #295

erectilereptiles opened this issue Apr 27, 2022 · 0 comments

Comments

@erectilereptiles
Copy link

Hi. I would like to know how I can find the JSON schema for the metadata extension? I am using your token for a university project, as I did last year. This year we need to add images, videos, audio etc. to the tokens. From my research I see that I need to use the token URI. I have downloaded ipfs desktop. On this I upload an image and receive a link for the image. I think need to put this link in a json file and receive a second link from ipfs for the json file. This second link is then inputted as the tokenURI when minting a token from remix. Is this correct so far? After doing this I could still not see the image of the token on etherscan, openSea etc. One of the errors I got was on CheckMyNFT saying:

"Error: Could not fetch token URI. This token likely uses a non-standard metadata set-up. Review the “Read Contract” fields in Etherscan to see which fields relate to the token metadata (i.e. look for fields such as tokenIPFShash, getArweaveImgHash, or other similar fields)."

The json file I created I saw on an old tutorial using your token. It consisted of the following:

{
"name": "NFT image", "description": "image of nft", "image": "https://ipfs.io/ipfs/QmPBjTrNNpT9thR3jysN2m4fETcR9hzUr2fpSkefUWiepb?filename=nft.json",
}

Is this schema correct? If not what is the correct schema? Alternatively where can i find the correct schema? I have been looking but to no avail.

Thanks in advanced for all of your help, really appreciate it!
Kindest regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@erectilereptiles and others