For the complete documentation index, see llms.txt. This page is also available as Markdown.

Architecture Layers & Key Components

(A) Data Sources & Adapters

  • Multi-chain ingestion via a hybrid setup of self-hosted and managed nodes

  • Parses balances, event logs, and transaction receipts across Ethereum, BNB Chain, Polygon, Arbitrum, and Optimism

  • Protocol adapters at the ABI level for DeFi protocols (e.g. Uniswap, Aave), normalizing LP, lending, and staking positions into unified data models

  • NFT indexing for ERC-721 / ERC-1155 holdings, metadata, and valuation

  • Ingestion strategy supports both streaming and batch processing, with scheduled sync and user-triggered refresh (auto refresh every 5–10 minutes)

(B) Portfolio Engine (Data Processing & Aggregation)

  • Multi-dimensional classification: tokens, NFTs, stablecoins, staking, lending, liquidity pools

  • Flexible views by chain and protocol, with instant price and PnL previews

  • Low-latency caching (Redis) and time-series storage (ClickHouse)

  • Strong consistency storage (PostgreSQL) for accounts, positions, tasks, and badges

  • Risk labeling at contract and token levels, feeding real-time alert services

(C) AI Services (Market Intelligence & Personalization)

  • Short-term price modeling using LSTM on time-series data

  • Sentiment analysis via BERT on news and social media signals

  • Macro and cross-factor modeling with LightGBM for nonlinear regression and classification

  • Unified feature services support online inference

  • Personalized outputs include asset allocation insights, strategy suggestions, yield optimization, and risk assessments, derived from user profiles and behavior

(D) Education & Task Layer

  • Guided onboarding tasks (wallet connection, first swap, first stake)

  • Progress-based rewards using points or NFT badges

  • A closed learning loop combining:

    • FAQ and glossary

    • Step-by-step guides and short videos

    • AI learning assistant (text and voice)

  • Designed to enable a “learn-by-doing” experience

(E) News & Community Layer

  • Aggregated market news, protocol updates, and on-chain analytics

  • Personalized content recommendations based on holdings and behavior

  • Community discussion spaces and expert AMAs

  • Market sentiment monitoring combining news, social media, and on-chain signals

(F) Swap Aggregator Services

  • Routing engine integrating APIs such as 1inch or 0x, using graph algorithms (e.g. Dijkstra) to compute optimal paths

  • Supports order splitting, gas estimation, and slippage optimization

  • Atomic execution module with pre-trade security checks from the risk engine

  • Tight integration with:

    • Portfolio Engine (instant post-swap updates)

    • AI Services (prediction-based suggestions)

Last updated