
OraClient
Make DeFi operations become conversations
Demo
About
The problem it solves ### What People Can Use It For Oraclient addresses the core issues of DeFi complexity and user accessibility: **1. Lowering DeFi Entry Barriers** - Replaces complex technical interfaces with natural language interactions - Users can ask in English or Chinese: "What's the BTC price?" or "How do I swap tokens on Trader Joe?" - Eliminates the need to learn complex DeFi protocol terminology and operational procedures **2. Real-time Data Aggregation & Intelligent Analysis** - Integrates multiple data sources (Chainlink, CoinMarketCap) to provide accurate pricing information - Automatically retrieves key DeFi protocol metrics like TVL and trading volumes - Intelligent risk assessment and security warnings **3. Secure Transaction Execution** - Built-in transaction simulation functionality to reduce operational error risks - Smart contract verification and slippage protection - Multiple security checks and user confirmation mechanisms **4. How It Makes Existing Tasks Easier/Safer** - **Easier**: Natural language replaces complex Web3 interface operations - **Safer**: AI intelligently detects potential risks and provides warnings - **More Efficient**: One interface to complete operations across multiple DeFi protocols - **Smarter**: Personalized recommendations based on historical data and market trends
How it's made
Challenges we ran into ## 🚧 Challenges I Ran Into ### 1. Multi-chain Data Synchronization & Consistency Issues **Challenge Description**: When integrating multiple data sources (Chainlink Functions, DEX APIs), different data sources may have latency and discrepancies in pricing information. **Solution**: - Implemented data validation mechanisms using Chainlink Functions as the primary verification source - Established data caching and update strategies to ensure real-time accuracy - System automatically flags and alerts users when discrepancies between data sources are too large ### 2. Trader Joe V2 Protocol Integration Complexity **Challenge Description**: Trader Joe V2 uses a revolutionary Liquidity Book model, which differs significantly from traditional AMMs. **Solution**: - Conducted in-depth research on Trader Joe V2.2 technical documentation - Implemented flexible binStep parameter configuration supporting different fee tiers - Created user-friendly abstraction layers that hide complex technical details ### 3. ElizaOS Plugin Architecture Adaptation **Challenge Description**: Integrating DeFi functionality into ElizaOS's plugin ecosystem required adherence to specific architectural patterns. **Solution**: - Studied ElizaOS core architecture and plugin development standards - Designed modular Action systems (price queries, data retrieval, token search, etc.) - Implemented unified error handling and logging mechanisms ### 4. Multi-language Support & User Experience Optimization **Challenge Description**: Supporting bilingual Chinese-English interactions while maintaining AI response accuracy and contextual understanding. **Solution**: - Optimized AI prompt engineering to ensure response quality across different language environments - Implemented response template systems to guarantee consistent output formatting - Added rich example dialogues to enhance user interaction experience