System Overview
Intent Layer - NLP model extracts entities (tokens, amounts, addresses) from natural language input. Routing Layer - Jupiter V6 integration calculates optimal swap paths across Solana DEXs. Execution Layer - Transaction builder, simulator, and broadcaster handle Solana interaction. Commerce Layer - USDC payment processor for Amazon and e-commerce purchases.Transaction Pipeline
1. Intent Parser Service
Converts natural language to structured transaction parameters. Input: “Swap 5 SOL for USDC” Output:2. Route Calculation
Jupiter V6 SDK queries liquidity pools and calculates optimal routing.| Pool Type | Supported |
|---|---|
| Orca Whirlpools | Yes |
| Raydium AMM | Yes |
| Meteora DLMM | Yes |
| Phoenix | Yes |
3. Transaction Simulation
Pre-flight simulation prevents failed transactions and unexpected slippage.4. User Approval
Transaction presented to wallet for manual confirmation. Pixie never accesses private keys.5. Broadcast & Monitoring
Transaction sent to Solana with WebSocket monitoring for confirmation. Processing Time: ~4ms broadcast + network confirmationSecurity Architecture
Non-Custodial
Read-only wallet connection. Private keys never leave user’s device
Simulation First
All transactions simulated before user approval
Transparent Routing
Full visibility into swap paths and price impact
Slippage Protection
Configurable slippage limits prevent sandwich attacks
Performance Metrics
| Stage | Latency (p50) | Latency (p99) |
|---|---|---|
| Intent Parsing | 35ms | 68ms |
| Route Calculation | 95ms | 220ms |
| Transaction Build | 12ms | 24ms |
| Simulation | 14ms | 32ms |
| Broadcast | 4ms | 9ms |
| Total Pipeline | 160ms | 353ms |
Jupiter V6 Integration
Pixie uses Jupiter’s aggregator to access deep liquidity across Solana. Benefits:- Best price execution across all DEXs
- Automatic route splitting for large orders
- MEV protection through private transaction submission
- Real-time price impact calculation
Commerce Integration
USDC payment processor converts crypto to fiat for e-commerce purchases: Flow:- User requests purchase via natural language
- Pixie calculates USDC amount required
- User approves USDC transfer
- Payment processor converts to fiat
- Order placed on merchant platform
State Management
Pixie maintains minimal state for optimal performance:- Active wallet connection (session-based)
- Recent transaction history (client-side cache)
- Portfolio balances (refreshed on-demand)
Pixie does not store private keys, transaction history, or personal data on servers. All sensitive operations occur client-side.