project screenshot 1
project screenshot 2
project screenshot 3

Super Crypto Agent

Agent that combines AI and Defi to easily analyze your crypto and swap it to the coin of your choice

Super Crypto Agent

Created At

Superhack 2024

Winner of

Blockscout - Use Blockscout Block Explorer!

Prize Pool

Worldcoin - Pool Prize

Prize Pool

Project Description

The project is an agent that combines AI and DeFi, which can easily analyze crypto and swap it for the coin of your choice. Even now, LLM-based AI technologies such as OpenAI are developing at a rapid pace, and the existing way of trading crypto is expected to change a lot. UX changes such as chat interface and voice input will help existing web2 users to onboard to web3 easily, and this project was developed with that vision. On the chat interface, the user's query is judged by the LLM and the information that fits the answer is branched out through the appropriate tool. In this project, we have implemented coin price information, graphs, detailed data analysis, and user's balance, minting, and AMM-based coin swap. For this swap, we used Pyth's price feed to determine the price of the coin swap with oracle price. In addition, you can quickly mint or swap coins based on the base chain and check the detailed tx information with blockscout. We haven't fully implemented it as a proof of concept, but since we use this service with WorldCoin Id, it should be possible to link payment to the cost.

How it's Made

For AI, we used langchain and openAI LLM (function calling, tool) to analyze and link user queries. For price history, we queried using the polygon api. Contracts for swap and minting were deployed to Base testnet, which is one of fastest chain and a simple Oracle swap was implemented using pyth's oracle price feed. base sepolia testnet : 0xA664aa41cDAbD644Aa04245A24C7f09833d6cAE7 OracleSwap contract deployed at address: 0x9f3B7591749EE201ab837f94b65fE14e86169A96 The txhash information was displayed via Blockscout and identity authentication was implemented using WorldCoin. it can easily built with the sdk. The smart contract was implemented with foundry and solidity, and the front-end app was built with nextjs, typescript, web3, langchain, tailwindcss, etc. We tried to implement various features such as CCIP, but due to time constraints, we implemented it for a quick demo.

background image mobile

Join the mailing list

Get the latest news and updates