current position:Home>Why can't I display pictures in my wallet when I bind the tokenid with the hash returned from uploading to IPFs?

Why can't I display pictures in my wallet when I bind the tokenid with the hash returned from uploading to IPFs?

2022-02-03 20:42:50 Q & A of Denglian community

.png




Take the answer 1:

stay ERC721 in , Usually tokenURI It corresponds to a JSON file , Not a picture .

For example, the following ERC721:

https://etherscan.io/address/0x5fba17737ee4809230946115c0e8a418bce70acc#readContract

tokenid 48 The corresponding information is :

https://ipfs.io/ipfs/QmUdTKQoPaf4DHqn3yadxfvYpqj17hqJHq4Kuj2ThJ8JUK/48

Its content is

{"description": "Cosmic Cowgirls is a collection of 6,969 randomly generated space cowgirl NFTs on the Ethereum blockchain. The Cosmic Cowgirl collection embraces three prominent themes: cowgirls, space, and anime. Each cowgirl features bright colors, unique traits, and a signature cowgirl hat. The art is manga inspired and out-of-this-world! Visit our terms and conditions [here](https://docs.google.com/document/d/1JFTszqGZL74H8vtbWJWSeJgOdjqPl5il/edit?usp=sharing&ouid=117421707739321385411&rtpof=true&sd=true)", "name": "Cosmic Cowgirls #48", "image": "https://ipfs.io/ipfs/QmY8vfzbCHxCXcfKUSbxrBfZaWhpVeGGDE7dnLMTnLTis1/48.png", "attributes": [{"trait_type": "Background", "value": "Purple"}, {"trait_type": "Skin", "value": "Ivory"}, {"trait_type": "Eyes", "value": "Alien"}, {"trait_type": "Hair", "value": "Lavendar Wavy Bob"}, {"trait_type": "Cowgirl Hat", "value": "Red Zebra"}, {"trait_type": "Body", "value": "White Space Suit"}, {"trait_type": "Accessories", "value": "Neon Cat"}, {"trait_type": "Mouth", "value": "Fangs"}]}

No pictures are currently displayed , It also has something to do with the realization of the wallet itself , You can contact the wallet for advice .




copyright notice
author[Q & A of Denglian community],Please bring the original link to reprint, thank you.
https://en.netfreeman.com/2022/02/202202032042472942.html

Random recommended