"If your grandma can do it, anyone can do it!" π―
An AI-powered DeFi platform that makes decentralized finance accessible to everyone through natural language interaction, gasless smart wallets, and cross-chain portfolio management powered by Orby.
Della transforms complex DeFi operations into simple conversations:
- π€ AI Assistant: Natural language commands for all DeFi operations
- β‘ Gasless Smart Wallets: ERC-4337 accounts powered by Pimlico
- π MetaMask Integration: Import existing wallets seamlessly
- π Real-time DeFi Data: Live yield opportunities and protocol information
- π Batch Transactions: Multiple operations in a single gasless transaction
- π Cross-Chain Holdings: Unified portfolio view across all chains via Orby
- πΌ Portfolio Management: Automated DeFi strategies and yield farming
- π Cross-Chain Bridging: Seamless asset transfers between networks
- Create new ERC-4337 smart wallets instantly
- Import existing MetaMask wallets with private key
- Gasless transactions on Sonic Network
- Social recovery ready
- Multi-wallet support with individual management
"Create a new wallet"
"Import my MetaMask wallet"
"Send 0.1 SONIC to 0x1234..."
"Check my balance"
"Show me yield opportunities"
"Batch send from wallet 1"
"Show my holdings across all chains"
"Create portfolio with $100"
"Bridge 0.5 ETH from Ethereum to Sonic"
- Orby Integration: Unified view of all your tokens across multiple chains
- Real-time Holdings: Live token balances and USD values
- Chain Distribution: See how your wealth is distributed across networks
- Gas Optimization: Identify the best tokens for gas payments
- Multi-chain Support: Ethereum, Sonic, Polygon, Arbitrum, Optimism, Base, BSC, and more
- Real-time yield data from DeFiLlama
- Protocol recommendations
- TVL tracking
- Top chains and protocols information
- Automated portfolio strategies
- Bridge assets between major networks
- Support for Ethereum, Sonic, Polygon, and more
- Optimized routing for best rates
- Gas cost estimation
- Frontend: React + TypeScript + Tailwind CSS
- Backend: ElizaOS AI Framework
- Blockchain: Sonic Network (Blaze Testnet) + Multi-chain support
- Smart Accounts: ERC-4337 with Pimlico
- DeFi Data: DeFiLlama API
- Cross-Chain: Orby Protocol integration
- AI: OpenAI/Anthropic integration
- Portfolio Management: Automated DeFi strategies
- Node.js 18+ or Bun
- MetaMask wallet (optional)
- Orby API access (for cross-chain features)
# Clone the repository
git clone <your-repo-url>
cd Della
# Install dependencies
npm install
# or
bun install
# Set up environment variables
cp .env.example .env
# Add your API keys to .env
# Start development server
npm run dev
# or
bun run devCreate a .env file in the root directory with the following variables:
# AI Provider (choose one)
OPENAI_API_KEY=your_openai_key
ANTHROPIC_API_KEY=your_anthropic_key
OPENROUTER_API_KEY=your_openrouter_key
OPENROUTER_SMALL_MODEL=mistralai/mistral-small-3.2-24b-instruct:free
OPENROUTER_LARGE_MODEL=mistralai/mistral-small-3.2-24b-instruct:free
OPENROUTER_IMAGE_MODEL=mistralai/mistral-small-3.2-24b-instruct:free
# Pimlico API (for gasless transactions)
PIMLICO_API_KEY=your_pimlico_api_key
# Orby Integration (for cross-chain features)
ORBY_PRIVATE_INSTANCE_URL=your_orby_private_instance_url
# Blockchain Configuration
PRIVATE_KEY=your_private_key_for_deployment
REPORT_GAS=true
# Optional: Discord/Telegram bots
DISCORD_API_TOKEN=your_discord_token
TELEGRAM_BOT_TOKEN=your_telegram_token
# Optional: Ignore bootstrap
IGNORE_BOOTSTRAP=false- AI Provider: Choose one of OpenAI, Anthropic, or OpenRouter
- Pimlico API: Get your API key from Pimlico
- Orby API: Required for cross-chain features from Orby
- Private Key: Your wallet private key for deployment (keep secure!)
- Setup: Follow the installation steps above
- Configuration: Set up your
.envfile with required API keys - Deploy: Deploy smart contracts to Sonic Blaze Testnet
- Test: Try the basic wallet creation and management features
- Create Wallet: Generate new ERC-4337 smart wallets
- Import Wallet: Import existing MetaMask wallets
- Gasless Transactions: Send tokens without gas fees
- Batch Operations: Multiple transactions in one gasless call
- Unified View: See all tokens across all chains
- Real-time Balances: Live updates of token values
- Chain Distribution: Understand your portfolio allocation
- Gas Optimization: Find best tokens for gas payments
- Automated Strategies: Set-and-forget DeFi strategies
- Yield Farming: Optimize for highest APY opportunities
- Risk Management: Diversified portfolio allocation
- Performance Tracking: Monitor your DeFi returns
- Asset Transfers: Bridge tokens between networks
- Optimized Routing: Best rates and lowest fees
- Status Tracking: Monitor bridge transaction progress
# Create a balanced portfolio
"Create portfolio with $100 SONIC"
# Check portfolio performance
"Show my portfolio performance"
# Rebalance portfolio
"Rebalance my portfolio now"
# Add new tokens
"Add wBTC to my portfolio"# View all holdings
"Show my holdings across all chains"
# Check specific chain
"Show my Ethereum holdings"
# Optimize gas payments
"Which tokens should I use for gas?"# Create new wallet
"Create a new smart wallet"
# Import existing wallet
"Import my MetaMask wallet"
# Send tokens
"Send 10 SONIC to 0x1234..."
# Batch transactions
"Send 5 SONIC to wallet 1 and 3 SONIC to wallet 2"User: "I need a new wallet"
AI: β
Your new smart wallet has been created!
π Smart Contract Address: 0x...
π EOA Address: 0x...
π Private Key: 0x...
π Network: Sonic Blaze Testnet
User: "Show my holdings across all chains"
AI: π PORTFOLIO OVERVIEW (Orby-Powered)
π Wallet: 0xB240...909a
π° Total Value: $1,230.05
π Coverage: 9 chains β’ 9 tokens
π CHAIN DISTRIBUTION
π₯ Ethereum Sepolia $1,021.85 (83.1%)
π₯ Optimism Sepolia $1,021.85 (83.1%)
π₯ Arbitrum Sepolia $1,021.85 (83.1%)
πͺ TOKEN BREAKDOWN
β ETH 0.0500 $993.30 β’ Holesky
β USDC <0.001 $28.55 β’ Ethereum Sepolia
β SONIC 0.1234 $123.86 β’ Sonic Blaze Testnet
User: "Create portfolio with $100"
AI: π― Creating your DeFi portfolio...
π° Initial Investment: $100
π Strategy: Balanced (Yield + Growth)
π Auto-rebalancing: Enabled
π Expected APY: 8-15%
# Run all tests
npm test
# Component tests only
npm run test:component
# E2E tests only
npm run test:e2e
# Cypress tests
npm run cy:testsrc/
βββ smart-account-plugin/ # ERC-4337 wallet management
β βββ action.ts # Wallet actions (create, import, send)
β βββ holdingsActions.ts # Cross-chain holdings analysis
β βββ eoaActions.ts # EOA wallet management
β βββ service.ts # Pimlico wallet service
β βββ provider.ts # Blockchain interactions
βββ portfolio-plugin/ # DeFi portfolio management
β βββ service.ts # Portfolio service
β βββ actions/ # Portfolio actions
β βββ keeper/ # Automated strategies
βββ bridge-plugin/ # Cross-chain bridging
β βββ action.ts # Bridge actions
β βββ service.ts # Bridge service
β βββ provider.ts # Bridge providers
βββ defillama-plugin/ # DeFi data integration
β βββ action.ts # DeFi data actions
β βββ service.ts # DeFiLlama service
β βββ provider.ts # API interactions
βββ frontend/ # React UI components
βββ index.ts # Main entry point
# Start development with hot-reloading
npm run dev
# Build for production
npm run build
# Type checking
npm run type-check
# Format code
npm run format- Network: Sonic Blaze Testnet
- Chain ID: 57054
- RPC URL: https://rpc.blaze.soniclabs.com
- Explorer: https://testnet.sonicscan.org
- Faucet: https://testnet.soniclabs.com/account
- Ethereum: Mainnet, Sepolia, Goerli
- Sonic: Mainnet, Blaze Testnet
- Polygon: Mainnet, Mumbai, Amoy
- Arbitrum: One, Goerli, Sepolia
- Optimism: Mainnet, Goerli, Sepolia
- Base: Mainnet, Goerli, Sepolia
- BSC: Mainnet, Testnet
- Holesky: Testnet
- Sonic: Blaze Testnet
- Unified View: See all your tokens across all chains in one place
- Real-time Updates: Live balance and value updates
- Gas Optimization: Identify the best tokens for gas payments on each chain
- Portfolio Analytics: Chain distribution and token breakdown
- Automated Strategies: Set-and-forget DeFi strategies
- Yield Farming: Optimize for highest APY opportunities
- Risk Management: Diversified portfolio allocation
- Performance Tracking: Monitor your DeFi returns
- Gasless Transactions: No more gas fees for basic operations
- Batch Transactions: Multiple operations in one transaction
- Social Recovery: Secure wallet recovery options
- Multi-signature: Enhanced security for large transactions
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Sonic Network for the blockchain infrastructure
- Pimlico for gasless smart account technology
- Orby Protocol for cross-chain portfolio unification
- DeFiLlama for DeFi data
- ElizaOS for the AI framework
Built with β€οΈ for the Sonic Ecosystem
Making DeFi accessible to everyone! π΅π
