Metadata extension JSON schema

Đang mở
#295 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
15/100
Loại issue
Tài liệu
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
json, solidity
Lĩnh vực
blockchain, documentation

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Solidity
Star
1k
Fork
391
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của fulldecent/erc721

Tất cả issue của fulldecent/erc721

Issue tương tự

Thêm issue về Blockchain

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.