Hi guys, for the jetton metadata standard, what goes in the "image_data" field?
I used a base64 string of my svg logo but it does not render on Tonviewer.
Nov 21, 2023, 3:41 AM
Base64 of PNG or WEBP worked fine.
Nov 21, 2023, 3:47 AM
neither png nor webp works for me. logo doesnt render on tonviewer. do i need to refresh the metadata or something like on opensea
Nov 21, 2023, 4:04 AM
I used a URL to the image like this:
https://app.hipo.finance/hton.png
Source: https://github.com/HipoFinance/contract/blob/main/scripts/deployTreasury.ts#L55
https://app.hipo.finance/hton.png
Source: https://github.com/HipoFinance/contract/blob/main/scripts/deployTreasury.ts#L55
Nov 21, 2023, 4:55 AM
this is my metadata uri: https://ipfs.io/ipfs/QmQJ6cbf49po4QMuucZoDgW6iUeX59Mzh7Atz4j8sWT5yp
tonviewer manages to read all the fields except image
tonviewer manages to read all the fields except image
Nov 21, 2023, 7:04 AM
I haven't used the metadata uri approach. So your way differs from mine.
Isn't it a caching problem? Maybe you have used an older uri previously and now changed it, but tonviewer cached it?
I had a similar issue with Tonkeeper, and images where cached. I managed to change the URL a little (by adding a ?v=1 at the end) to bypass the cache.
Isn't it a caching problem? Maybe you have used an older uri previously and now changed it, but tonviewer cached it?
I had a similar issue with Tonkeeper, and images where cached. I managed to change the URL a little (by adding a ?v=1 at the end) to bypass the cache.
Nov 21, 2023, 7:17 AM