AnkitAI
Your Web3 companion AIAgent to help you navigate blockchains seamlessly with Twitter handling capabilities.
Created on 7th December 2024
•
AnkitAI
Your Web3 companion AIAgent to help you navigate blockchains seamlessly with Twitter handling capabilities.
The problem AnkitAI solves
Navigating into various aspects of blockchain can be troublesome for non-tech people and having a chat companion can be extremely helpful and could also drive mass adoption
Challenges I ran into
The biggest challenge was to use Python as I had never done before. Unfortunately all docs and starter templates(Coinbase Agent Kit) had only python implementation. Had to literally do a short crash course in python to get started. Faced couple of hurdles dubugging the code for the same but the CDP team was extremely helpful and supportive. Another error I was getting was while tyring to fetch the agent wallet address (was using the method incorrectly in the functions) and again the CDP team came to rescue and guided me in the write direction. Rest was not able to add few features like trading as it was only supported for base mainnet by CDP and also cudnt integrate few advanced features like finding trending tokens and creating like a trnding AI trading bot as it require a pro subscription from Moralis APIs and also id supported only for mainnet. Though I must mention I have coded these advanced features in the project but cudnt test it and hope to do it future when I have enough funds to do so.
#def get_trending_tokens(security_score=80, min_market_cap=100000) -> str:
"""
#Fetch trending tokens with a minimum security score and market cap.
#
#Args:
#security_score (int): Minimum security score for tokens
#min_market_cap (int): Minimum market cap for tokens
#
#Returns:
#str: Trending token information or an error message
#"""
#url = "https://deep-index.moralis.io/api/v2.2/discovery/tokens/trending"
#headers = {"accept": "application/json", "X-API-Key": MORALIS_API_KEY}
#params = {
#"chain": "base",
#"security_score": security_score,
#"min_market_cap": min_market_cap
#}
#
#try:
#response = requests.get(url, headers=headers, params=params)
#response.raise_for_status()
#tokens = response.json()
#
# Format the output
#token_info = "\n".join([
#f"Token Name: {token['token_name']} ({token['token_symbol']})\n"
#f"Price (USD):
Additional Features
NO it was coded in the hackathon itself
Tracks Applied (6)
Most Innovative Use of CDP SDK
Coinbase Developer Platform
Crypto x AI Prize
Coinbase Developer Platform
Consumer Crypto Prize
Coinbase Developer Platform
Best Developer Feedback
Coinbase Developer Platform
CDP SDK
Coinbase Developer Platform
Build Innovative Consumer Apps on Base
Base
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.
