New Ethereum talks, every Monday. The week's conference uploads by event, in your inbox.

Loading player…

ERC 721 On OpenSea

BaseMon, Oct 9, 2023, 12:00 AM

Add rich metadata to your ERC-721 tokens using OpenSea's standard. Understand how the token URI method works to render NFT information in the UI. Get ready to make your NFTs more visually appealing and informative! 📚 Head to Base Camp for full courses on smart contract development: https://docs.base.org/base-camp/docs/welcome ✅ Subscribe to our channel here: https://www.youtube.com/@BuildonBase ► Build on Base: https://base.org ► Follow us on Twitter: https://twitter.com/buildonbase ► Join our Discord: https://base.org/discord

Transcript

open c for instance defines some as standard if you go to the document so openc you are gonna notice how to add Rich metadata to you ERC 721 okay and the first thing they mention is open C is basically getting metadata but they are getting metadata from the URI that you are defining within your own token so to find the URI they use the token URI method and then by obtaining that token URI they basically are gonna get all the information that they are gonna use to render in the UI for instance in this example you can see that the ERC 721 contract has associated iur I and these URI is going to return this metadata that the openc user interface is going to use to render all the information of the nft okay here for instance the result of calling token URI in this nft will return this URL and then this URL is going to be used to retrieve the metadata so if we go to this URL you are going to see that this is simply a Json object

Automatic transcript — names and jargon may be misspelled.