Skip to content

d3vd00m/ChainBattled

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dinamic NFTs with On-Chain Metadata

Here we create the basics of a blockchain game by develop a fully dynamic NFT with on-chain metadata that changes based on your interactions with it, and deploy it on Polygon Mumbai to lower gas fees.

Interact with the Smart Contract Through Polygon Scan here:

https://mumbai.polygonscan.com/address/0x1b6Dc6F940095C348022e668f05e8a4f4f513A73

To interact with it, and mint the NFT, click on the "Write Contract" button under the "contract" tab, and click on "connect to Web3". Then look for the "mint" function and click on Write.

View your Dynamic NFT On OpenSea

Copy the smart contract address and paste it into the search bar here: https://testnets.opensea.io/

Update the Dynamic NFT Image Training The NFT

https://mumbai.polygonscan.com/address/0x1b6Dc6F940095C348022e668f05e8a4f4f513A73

click on the contract tab > Write Contract and look for the "train" function. Insert the ID of your NFT and click on Write. Then go back to your NFT on https://testnets.opensea.io/ and refresh the page.