SmaugPool / pool.pm

Cardano blockchain realtime visualization
https://pool.pm
Other
16 stars 7 forks source link

IPFS.Blockfrost.dev - Images not showing up #15

Closed aussiegingersnap closed 2 years ago

aussiegingersnap commented 2 years ago

We have a recent mint that is still not pulling images for all our content with IPFS links using the IPFS.Blockfrost.dev/IPFS/{IPFS-hash}convention in our metadata. Here is an example transaction id - any guidance would be appreciated on this!

https://cardanoscan.io/transaction/ff5a39a222cc74574fdcf12c14e7888d253ee703d4f6f1a126de5b3b5d896f7f?tab=metadata

SmaugPool commented 2 years ago

This token metadata is not compliant to CIP 25 format, it is missing the image property:

https://cips.cardano.org/cips/cip25/

SmaugPool commented 2 years ago

PS: remember that you can test your metadata before minting using:

https://pool.pm/test/metadata

See https://twitter.com/pool_pm/status/1417217039702413312?s=20

aussiegingersnap commented 2 years ago

What's wrong with this? image

SmaugPool commented 2 years ago

The location property is not part of CIP 25 and is therefore not used.

The image property uses an HTTP link which is not supported and will likely never be because it removes the benefits of a decentralized network.

For now only IPFS and data URLs are supported in image property, for example:

"image": "ipfs://QmQWKqnUKN1fuLAHVTY5skVqg4pGhNmHWLncWDaqB9vMx9"

Note that you can look at any CNFT metadata using the technique described here: https://twitter.com/pool_pm/status/1431755548664401921