Multi-agent AI tracking whale wallets. Powered by Gemini, WhaleWhisper generates custom alpha strategies and executes automated portfolio rebalancing on X Layer Testnet via OKX x402 protocol.



Retail investors constantly struggle to match the speed and precision of institutional "whale" wallets. Simply tracking large transactions is no longer enough; translating raw blockchain data into a practical, risk-managed investment strategy requires deep computational analysis and immediate execution before the market alpha decays.
WhaleWhisper was born to solve this by creating an autonomous bridge between smart AI analytics and real-time on-chain portfolio realignment.
WhaleWhisper is a next-generation asset management and rebalancing panel that automates complex DeFi operations through conversational AI.
Whale Analytics: Monitors high-volume on-chain movements to detect accumulation trends.
Multi-Agent Strategy Coordination: Utilizes an advanced anti-gravity AI architecture powered by Gemini to analyze macro data and recommend exact target allocation percentages[cite: 1, 2].
Strict Whitelist Governance: Ajan logic is strictly bound to a pre-defined asset registry containing OKB, BTC, ETH, SOL, POPCAT, USDC, and USDT to guarantee protocol safety.
On-Chain Rebalancing Router: Upon user approval, the system triggers a sequential transaction queue via Viem, utilizing the OKX x402 protocol entirely on X Layer Testnet to realign the user's wallet balances to match the strategy targets perfectly[cite: 2].
Framework: Next.js 15, TypeScript, Bun, and Tailwind CSS for a blazing-fast, scannable developer interface[cite: 1, 2].
AI Core: Google Gemini API running custom agent loops StrategistAgent) to compute risk/reward matrices[cite: 1, 2].
Web3 Integration: Viem for high-fidelity RPC interactions, checking native OKB balances, reading ERC-20 contracts, and signing sequential execution hashes[cite: 1, 2].
Payment Layer: Integrated OKX x402 resource validation and facilitator frameworks to securely execute on-chain transaction prompts[cite: 2].
Successfully bound complex LLM responses to deterministic smart contract inputs with zero hallucinations.
Built a reliable asynchronous multi-transaction queue that runs natively on X Layer Testnet without losing state or blocking user wallet interactions[cite: 2].
Designed a real-time monospace terminal log component that streams live network transaction details and verified Explorer hashes directly to the UI.
We built WhaleWhisper completely from scratch during the hackathon timeline, taking it from a raw conceptual design to a fully deployed MVP. Here is our development breakdown:
Multi-Agent Setup: Engineered the prompt boundaries and system roleplay mechanics for the StrategistAgent using the Google Gemini API[cite: 1].
Algorithmic Constraints: Hardcoded strict mathematical boundaries to ensure AI recommendations always total exactly 100% and strictly filter only our whitelisted tokens (OKB, BTC, ETH, SOL, POPCAT, USDC, USDT)[cite: 1].
* On-Chain Balance Engine: Implemented Viem's asynchronous architecture to seamlessly fetch native OKB balances via RPC alongside ERC-20 token contract states on X Layer Testnet.
* Delta Router: Wrote the core math logic that compares live wallet allocations with the AI's target layout to compute the exact token swaps needed.
* OKX X402 Connection: Configured and wired up the OKX X402 facilitator server integration to manage automated transaction prompts securely.
Live Monospace Terminal: Built a custom UI logging stream that visually outputs sequential router states [Router] Swapping..., Success!) and renders real clickable transaction hashes pointing directly to the X Layer Explorer.
Vercel Pipeline: Cleaned up package dependencies using Bun and pushed the production builds natively to Vercel, mapping out all essential environment keys securely for runtime reliability[cite: 1].
WhaleWhisper is an independent, bootstrapped MVP built entirely from scratch during this hackathon. We have not raised any external capital or institutional funding to date. Post-hackathon, we are highly open to ecosystem grants, incubation programs, and pre-seed opportunities to scale our multi-agent asset management infrastructure on X Layer.