# ETHeric Explorations (7-8 / 8) **Published by:** [Ashish Bharath](https://paragraph.com/@ashish-bharath/) **Published on:** 2023-04-06 **URL:** https://paragraph.com/@ashish-bharath/etheric-explorations-7-8-8 ## Content Ahh, the blog report for Weeks 7-8 😩 An absolute rollercoaster of a week that had me pulling all-nighters, altogether scrapping entire modules, and even changing my project midway too. Due to restrictions with the current space of Fully Homomorphic Encryptions, I couldn't develop a cost-effective and sufficiently Decentralized solution for incorporating the FHE algorithms in the smart contracts. As a result, I had to build another one of the passion projects I have been brainstorming for a while now called NFTree. NFTree aims to bridge the gap between the extensive research done in the Image Processing sector of AI with Web3 through NFTs. It eases creating and customizing their NFTs using powerful Deep Learning models of OpenAI, Stable Diffusion, etc. Additionally, NFTree introduces an ERC721-based NFT called (of course!) NFTree (NFR). The NFR token is incredibly unique as it can be minted using Generative AI models and combined with one another and split up into variations, all while retaining the history of how the token was created. While conceptualizing the building of NFTree and how it should work was relatively simple, the actual implementation part was far from it. Writing the smart contract to save the history of the token and how it was built to this point had me researching on memory management in Solidity and time-gas tradeoffs. Deciding the NFT standard to ahead with also took a while. Additionally, building my own models for the various tasks, such as merging images and generating variations, and integrating the existing models, proved to be a rather time-consuming but highly informative and fun task. Regarding the implementation, I used HuggingFace APIs of the Stable Diffusion models for the Image Generation and variations and wrote a contract based on the ERC721 standard for the smart contract. ## Publication Information - [Ashish Bharath](https://paragraph.com/@ashish-bharath/): Publication homepage - [All Posts](https://paragraph.com/@ashish-bharath/): More posts from this publication - [RSS Feed](https://api.paragraph.com/blogs/rss/@ashish-bharath): Subscribe to updates