The goal of the application is to automate the creation of NFT when the user posts on Instagram with a specific tag. I utilized IFTTT to detect and pass image related details to a AWS Lambda hook. The AWS lambda function downloads the image & uploads it to IPFS using NFT.storage API. Once the image is uploaded a json metadata file is created with all the information for the NFT.
A check is made if the user has enough balance in the deposit contract to mint a NFT. If they have enough funds the NFT is minted else it is stored in the queue. Based on whether the NFT was minted or not the graphql database is updated. (UI for queues is still pending)
Technologies used
Discussion