Smart DeFi portfolio management with pre-built strategies, real-time analytics, and seamless swaps
1nchPilot is DeFi portfolio management platform that helps users make smarter investment decisions through real-time analytics, AI-powered insights, and seamless multi-token swaps.
At its core, the platform combines a powerful analytics engine with curated investment strategies like “DeFi Blue Chips”, “L2 Scalers”, and other pre-built portfolios that simplify asset allocation across Ethereum and Arbitrum. Users can select a strategy, review optimized token distributions, and execute swaps directly — all without manually hunting for tokens or calculating ratios.
Once connected via wallet, users gain full visibility into their DeFi holdings. The system generates real-time performance data including:
-Total value and net P&L -Historical ROI tracking -Interactive allocation and performance charts -Risk scoring and diversification analysis -24-hour performance trends for top holdings
The “Generate Analytics” feature lets users input any token address (or use their entire wallet) to instantly receive a full report: price history, volatility profile, risk factor analysis, and visual performance charts. This includes a downloadable PDF report with AI-driven insights, personalized recommendations, and benchmark comparisons — all formatted professionally for easy review or sharing.
A built-in AI assistant answers natural language questions.
Users can then execute token swaps directly through the platform, using 1inch’s powerful aggregation APIs to ensure optimal pricing and minimal slippage.
1nchPilot is built using Next.js 14, TypeScript, and Tailwind CSS for a clean and fast user experience. Animations and transitions are handled by Framer Motion to make analytics visual and interactive.
Wallet connectivity is implemented using Wagmi v2 and Viem, supporting both Ethereum Mainnet and Arbitrum One with custom RPC configurations.
We deeply integrated the 1inch API suite to drive the platform’s analytics and swapping features:
-Portfolio API v4 – powers wallet token breakdowns, historical performance, and P&L tracking -Swap API v6.1 – used for real-time quotes, slippage estimates, and transaction generation -Quote API – validates token pairs and liquidity before swap execution -Token API v1.2 – fetches token metadata, logos, and supported token lists -Balance API – ensures token availability before any transaction -Price API – delivers up-to-date token pricing for visualizations and risk scoring
To stay within 1inch’s rate limits (10 RPS), we built a custom throttling system that batches requests in groups of 5 with delay buffers, using Promise.allSettled for resilience.
The strategy engine allows users to choose from curated portfolios (like "DeFi Blue Chips") that allocate capital across multiple tokens. Allocation logic checks token liquidity via 1inch’s Quote API before presenting a rebalance plan and executing all swaps in one go.
Our analytics engine computes portfolio scores including:
-Diversification score -Volatility risk -Performance grade vs. DeFi index -Asset concentration risk -Overall risk level (1–10 scale)
We use a custom fallback system to ensure token logos always render, rotating through CDNs (1inch → CoinGecko → Trust Wallet) before defaulting to stylized initials.
A highlight feature is the AI-powered PDF report generator, which compiles portfolio charts, risk assessments, P&L summaries, token-level analytics, and strategic suggestions based on wallet history — enabling users to review their portfolio like a professional investor.