Documentation Index
Fetch the complete documentation index at: https://cowswap-mintlify-seo-audit-1777280932.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Introduction
The CoW Protocol BFF is a comprehensive collection of TypeScript-based backend services designed to power the CoW Swap frontend and other CoW Protocol applications.Core Capabilities
The platform offers six main feature categories:- Multi-Chain Support - Token pricing and balance data across twelve networks (Ethereum, Gnosis Chain, Arbitrum One, Base, Polygon, Avalanche, BNB Chain, Linea, Plasma, Ink, and Sepolia testnet)
- Real-Time Updates - Server-Sent Events delivering live wallet balance information for multiple tokens simultaneously
- Notifications - Telegram integration with RabbitMQ messaging for order status alerts
- Market Analysis - Dynamic slippage calculations based on volatility patterns
- Transaction Preview - Tenderly-powered simulation tools for trade outcome forecasting
- Yield Tracking - Multi-protocol DeFi opportunity aggregation and comparison
Technical Foundation
The architecture utilizes:- Fastify - HTTP framework
- NX - Monorepo management
- PostgreSQL with TypeORM - Data persistence
- Redis - Caching
- RabbitMQ - Asynchronous messaging
- Ethers.js/Viem - Blockchain interactions
Service Components
Four primary applications form the system:- API Service - REST endpoints
- Notification Producer - Event monitoring
- Telegram Service - Message delivery
- TWAP Service - Price calculations