project screenshot 1
project screenshot 2
project screenshot 3
project screenshot 4
project screenshot 5

Publici

On-chain AI agent that generates crypto portfolio snapshot NFT's

Publici

Created At

HackFS 2024

Project Description

Publici is essentially an on-chain AI-based portfolio report generator. It makes use of an AI agent on Galadriel to generate images that represents a user's crypto portfolio at a particular point of time. The user can choose to mint the generated image as an NFT, which thereby acts as a portfolio snapshot of the user. The AI agent is composed of an LLM and additional tools for web search and image generation. The token balance data is input to the AI agent, which uses web search to identify token value (in USD) and subsequently generate the image. The image can then be minted on-chain as an NFT. Using Galadriel, the entire process takes place on-chain, including AI inference.

How it's Made

The project is primarily built on Galadriel. It consists on an AI agent with an OpenAI LLM in a loop, along with web search and image generation tools. GPT-4 is used as the LLM, and DALL-E 2 is used for generating images. We utilised the scaffold-eth2 template to bootstrap the project. The smart contracts have been developed with Solidity using Foundry. The frontend was built with Next.js and Tailwind CSS.

background image mobile

Join the mailing list

Get the latest news and updates