← back to workProblemAn AI-assisted trading interface needed to provide market analysis without giving the assistant authority to move user funds.
ContributionI built the integrations for 1inch Fusion+, CryptoCompare, Privy, The Graph, and the server-side proxy layer.
Result1inch partner prize at ETHGlobal Cannes 2025.
SystemA Next.js frontend, FastAPI analysis service, Privy and wagmi wallet integrations, The Graph portfolio data, CryptoCompare market data, and the 1inch Fusion+ order flow.
Main challengeCoordinating quote retrieval, EIP-712 signing, secret generation and reveal, relayer submission, and status polling without hiding execution steps from the user.
Overview
neurotrade.eth is a two-person ETHGlobal Cannes prototype that analyzes 15 major tokens, explains buy, sell, and hold signals, and lets the user proceed to a cross-chain swap through 1inch Fusion+.
I owned the Fusion+ integration, CryptoCompare data flow, Privy and The Graph integrations, and the server-side proxy layer.
Fusion+ and the proxy layer
The client fetches a quote, generates secret hashes, requests EIP-712 order data, signs, submits to the relayer, and polls status. It reveals the matching secret only after a resolver is ready to fill; the same service handles approvals and multi-secret orders.
Next.js API routes, with a Cloudflare Worker variant, proxy quote, build, submit, status, secret, and authenticated Graph calls. API credentials stay server-side, and the proxy normalizes errors for the UI.
Analysis, wallets, and portfolio
A FastAPI agent computes RSI, SMA crossovers, volatility, momentum, and volume signals from 30 days of CryptoCompare OHLCV. The frontend uses the same feed and cache windows.
Privy provides embedded wallets, wagmi supports external wallets, and The Graph aggregates balances and history across eight chains. Analysis remains read-only; the user chooses swap parameters and signs every order.
Key decisions & why
01Fusion+ over a classic swap API
Signed intent orders, resolver competition, and delayed secret revelation support cross-chain settlement while reducing the front-running surface. Implementing the full lifecycle was also the core technical contribution recognized by the prize.
02Proxy every external call
1inch and Graph credentials never ship to the browser. A shared proxy layer also centralizes endpoint shaping, error normalization, and rate-limit handling.
03Analysis cannot execute trades
The analysis service has no wallet access or order-submission credentials. Only the explicit swap flow can request a user signature and submit an order.