Published On Oct 27, 2023
In this video, learn all about how to update the metadata of your NFTs. We go over how to create a simple app showcasing how to upgrade the metadata of given NFTs. We create a Pokemon NFT that can gain experience and level up, allowing that data to be reflected in the metadata of the NFT. Once a certain level is reached you can evolve your Pokemon changing the image and name of the NFT.
*Mumbai testnet support has been officially deprecated. Transition to the Amoy testnet for improved scalability and reduced gas fees.*
GitHub repo: https://github.com/thirdweb-example/u...
(**Update to repo: function for "train" and "evolve" are updated to use useSDK**)
Updatable metadata changelog: https://blog.thirdweb.com/changelog/u...
YouTube videos:
Creating an API: • Start building blockchain apps: Getti...
thirdweb Docs: https://portal.thirdweb.com/
Join our Community of over 30,000 Web3 builders: / discord
thirdweb Official Site: https://thirdweb.com/dashboard
thirdweb Twitter: / thirdweb
Timestamps:
00:00 Introduction to creating an NFT with upgradable metadata
01:01 Demo of NFT with upgradable metadata
03:17 Deploy an NFT collection smart contract with thirdweb
06:43 Create and setup a web3 application using thirdweb
10:38 Build login screen and display owned NFTs
17:45 Create an NFTCard component to display user's owned NFTs
25:30 Create NFT detail page that shows the details of user's owned NFTs
33:30 Create function to change the level and experience metadata of NFT
48:15 Create function to evolve NFT - Update image and name of NFT
52:13 Conclusion
"Correction: 34:15 Update to update metadata function. DO NOT use fromPrivateKey. Use useSDK hook instead"