Inspiration
The inspiration behind CoinGenie came from the growing need for simplified blockchain interactions. Many users found blockchain technology too complex, making it difficult to onboard newcomers into Web3. We envisioned an AI-driven solution that would make blockchain as easy as chatting with a bot, enabling anyone to create wallets, create tokens, transfer assets, swap and learn about blockchain effortlessly.
Key Features
- Token Creation: Create tokens on Solana and Flow with a single command.
- Bridging: Seamlessly bridge tokens between Solana and Flow.
- Swapping: Swap tokens on decentralized exchanges.
- Asset Management: Check balances, transfer tokens, and schedule transactions.
- Education: Learn about Web3, Solana, Flow, and blockchain concepts.
Workflow
User Interaction:
- Users interact with the bot via Telegram, sending commands like
/create_token,/send_sol, or asking questions like "What is Web3?"
- Users interact with the bot via Telegram, sending commands like
AI Processing:
- The bot uses Hugging Face models to understand user queries and extract relevant parameters (e.g., token name, receiver address).
Blockchain Actions:
- The bot executes blockchain actions using the Solana Python SDK and Flow Python SDK. For example, it can create accounts, send SOL, or bridge assets between chains.
User Feedback:
- The bot provides instant feedback, including transaction IDs and links to blockchain explorers like Solscan.
Challenges we ran into
Intent Detection:
- One of the biggest challenges was accurately detecting user intents. While Hugging Face models are powerful, they sometimes struggled with domain-specific queries. To address this, we combined rule-based matching with AI to improve accuracy.
Blockchain Integration:
- Integrating with multiple blockchains (Solana and Flow) required us to learn their respective SDKs and handle differences in their architectures. For example, Solana uses Proof of History, while Flow uses a multi-role architecture.
Error Handling:
- Handling errors gracefully was crucial, especially when dealing with blockchain transactions. We implemented robust error handling to ensure users receive clear and actionable feedback.
Security:
- Ensuring the security of user data (e.g., private keys) was a top priority. We avoided hardcoding sensitive information and used environment variables to store credentials securely.
User Onboarding:
- Making the bot intuitive for non-technical users was challenging. We addressed this by providing clear instructions, examples, and educational content within the bot.
What we learned
Throughout development, we gained valuable insights into:
Natural Language Processing (NLP) – Training AI models to understand and execute blockchain commands effectively. Optimizing Smart Contracts – Efficiently deploying and managing contracts on Solana & Flow. Cross-Chain Interoperability – Bridging assets between blockchains to enhance user experience. User Experience & Security – Creating a balance between ease of use and maintaining robust security measures.
Conclusion
Coingenie is more than just a bot—it’s a gateway to the world of Web3. By simplifying blockchain interactions and educating users, we hope to drive mass adoption and empower everyone to participate in the decentralized future. We’re excited to continue building and improving Coingenie, and we can’t wait to see how the community uses it to unlock the full potential of blockchain technology.
Built With
- flow-python-sdk
- huggingface
- natural-language-processing
- ngrok
- python
- solana-python-sdk
- telegram-mini-app
Log in or sign up for Devpost to join the conversation.