Developing dynamic NFTs

Ever wanted to create an NFT that reacts to real world events and data? Now you can, with Chain Link Oracles. Let’s check out how this can be done!

Remark: unfortunately Chain Link Oracle is only set up on the Kovan testnet, while OpenSea testnet is on Rinkeby. So developing and testing everything was done on over two networks, which was not ideal.

What’s a Chain Link Oracle?

The first generation of NFTs, like BAYC, CryptoPunks,… are in essence static. Their image and metadata are usually just stored in static files on eg IPFS or a (cloud) server. Some level of change in the NFT was sometimes developed by the ability to switch the NFT from one set of static files to another set.

Chain Link Oracles provide a utility where you can interface from your Ethereum smart contract with any API. That’s very cool, it means you can get any data that’s being offered through an API to your smart contract, and you can find API’s on just about anything: stock prices, sports data, weather.

On chain metadata

The second change we need to make, is that our NFTs metadata can be dynamic. So instead of storing the metadata in an off chain json file, we will now generate the metadata onchain.

WHERE TO CONTACT US:

Website : WWW.CRYPTOTRADE1.COM
Twitter: https://twitter.com/cctrade11
Telegram : https://t.me/cctrade1
Facebook : www.facebook.com/cryptotrade1
Instagram : www.instagram.com/cryptotrade1/
YouTube : www.youtube.com/cryptotrade1
Email : info.cryptotrade1@gmail.com

Leave a Reply

Your email address will not be published. Required fields are marked *