MultiversX Tracker is Live!

How to properly implement the ContractURI for full on-chain data?

Etherum Reddit

More / Etherum Reddit 278 Views

I have this ERC721 contract (removed all unnecessary stuff), in which I also implement TokenURI using base64 encoded JSON and SVG. The on-chain TokenURI works and OpenSea renders it properly. But the ContractURI, when set to the example (without comments, so valid JSON) does not change the store page at all.

I've followed the steps on the OpenSea page about contract metadata.

Am I doing something wrong, or have I missed something?

Edit: It seems fixed now. I used this code for setting the ContractURI. Seems like I had one encodepacket too much. This is weird since the TokenURI does have it, but oh well.

If this sub isn't the proper sub for it, let me know or delete the post. I've also asked on OpenSea and Ethdev, to no avail yet.

submitted by /u/LifelessMC
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments