How to create an NFT with updatable metadata - Evolving Pokemon NFTs
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.
To run this project, you will need to add environment variables. Check the .env.example
file for all the environment variables required and add it to .env.local
file or set them up on your hosting provider.
Deploy a copy of your application to IPFS using the following command:
yarn deploy
To learn more about thirdweb and Next.js, take a look at the following resources:
- thirdweb React Documentation - learn about our React SDK.
- thirdweb TypeScript Documentation - learn about our JavaScript/TypeScript SDK.
- thirdweb Portal - check our guides and development resources.
- Next.js Documentation - learn about Next.js features and API.
- Templates
You can check out the thirdweb GitHub organization - your feedback and contributions are welcome!
For any questions, suggestions, join our discord at https://discord.gg/thirdweb.