Open leobel opened 2 years ago
After some further tests I think the issue is Nami wallet isn't showing the image if the asset_name
is different from the name
. I don't know if this is a bug or a business decision from Nami
The actual assetName is 54616e676f63727970746f2054414e474f4352415a593031
, but you use in the metadata the assetName TANGOCRAZY01
. These names have to match. Actually blockfrost is resolving that and nami just fetches token metadata from there.
Hi @alessandrokonrad when you say: "These names have to match" you mean the asset_name and the inner name right? I think it doesn't matter if they are UTF-8 or Hex encoded, they just need to match. If I use TANGOCRAZY01
in both it works. At the end it seems a bug since I don't see any reason why they must match did you?
"These names have to match" you mean the asset_name and the inner name right?
Yes exactly. They need to have the same encoding, however the problem is that in CIP-0025 I never specified what encoding should be used for the the inner assetName. Most projects went with utf-8 per default. Hex would be more universal of course, but blockfrost is converting the assetName to utf-8 and looks up the assetName in the metadata map.
Hi. We've tried uploading cNFT collections with metadata where the asset_name = name, and also where it doesn't. The metadata and/or the gif images themselves don't seem to make any difference.
I believe the issue is with the ipfs mirror that nami uses. For example, https://ipfs.blockfrost.dev/ipfs/QmWNiyZ3fE4UPGCnxyspkr4n46xjwWMdEkvUkeAhMiMPAa 504's
whereas these https://gw3.easy-ipfs.com/ipfs/QmWNiyZ3fE4UPGCnxyspkr4n46xjwWMdEkvUkeAhMiMPAa https://ipfs.io/ipfs//QmWNiyZ3fE4UPGCnxyspkr4n46xjwWMdEkvUkeAhMiMPAa work
We noticed that about half the assets in a given collection will 504 with the blockfrost.dev links. The other two mirrors work 100% of the time for all gifs without fail.
I've minted a NFT using an address from Nami Wallet but token image doesn't show up. Here is the tx on testnet: https://explorer.cardano-testnet.iohkdev.io/en/transaction?id=4c8c7a8fa2f7ab013e13d523800b76bb12c93868dfc676d7e29ac3efb6edc14d where you can see the metadata
I've tried it on ccvault wallet (I just send the token)