Metadata extension JSON schema

Abierto
#295 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
15/100
Tipo de issue
Documentación
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
json, solidity

Línea de trabajo

This is a usage question about the metadata extension's JSON schema, not a code change. Start by checking the repository README and any metadata or extension documentation for the schema and tokenURI format, then confirm whether the example image field in the reporter's JSON matches it. Done means either a maintainer-confirmed answer or a documentation addition that states the expected schema.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Solidity
Estrellas
1k
Forks
391
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de fulldecent/erc721

Todos los issues de fulldecent/erc721

Issues similares

Más issues de Blockchain

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.