Content
@
https://opensea.io/collection/zorbs-eth
0 reply
1 recast
1 reaction
ripe↑
@ripe
what's the difference between the tokenURI and contractURI on the new coin contracts? quick scan of the contract looks like setting the contractURI updates both, is that right? why have both?
1 reply
0 recast
5 reactions
Gabriel Ayuso
@gabrielayuso.eth
contractURI was designed for ERC1155 and ERC721 that have a tokenURI for each token so contractURI serves more as collection metadata. OpenSea supports it. ERC20s represent one token so contractURI and tokenURI are basically interchangeable. I'm not sure which one is used by tools like DexScreener and the new OpenSea. There isn't a standard AFAIK.
1 reply
0 recast
1 reaction
ripe↑
@ripe
yep yep erc20 being one token is what threw me seeing tokenURI. but maybe they included it to make it easy to work with existing systems. because they both seem to return the same data.
0 reply
0 recast
1 reaction