Monitoring and analytics dashboard for EulerSwap pools across multiple networks.
- Real-time pool discovery and monitoring
- Comprehensive pool metrics (fees, TVL, balance ratios)
- Vault availability tracking
- Historical swap data analysis
- Price chart visualization
- Fee and volume analytics
- Ethereum Mainnet
- Base
- Avalanche
- BSC (Binance Smart Chain)
- Unichain
- Local development environment
- Pool performance metrics
- Daily and cumulative trading statistics
- APR estimates based on fee generation
- Swap history with detailed transaction data
- Network-wide protocol statistics
- Frontend: React 19 + TypeScript + Vite
- Blockchain: Viem library for Ethereum interactions
- Styling: CSS + inline styles (no CSS framework)
- Build Tool: Vite with TypeScript compilation
- Node.js 18+
- npm or yarn
-
Install dependencies:
npm install
-
Start development server:
npm run dev
-
Build for production:
npm run build
-
Preview production build:
npm run preview
-
Lint code:
npm run lint
- Select Network: Choose from supported blockchain networks in the sidebar
- Browse Pools: View all available pools for the selected network
- Analyze Pool: Click on any pool to view detailed analytics including:
- Pool parameters and reserves
- Fee structure and APR estimates
- Vault availability for both assets
- Historical trading data and charts
- Daily/cumulative metrics
- Main application component
- Network management and switching
- Pool data fetching and state management
- Analytics calculations
- Primary analytics dashboard
- Pool metrics visualization
- Historical data display
- Mathematical utilities for price calculations
- Pool health analysis functions
- Read curve verification
src/assets/networks.ts- Network configurationssrc/assets/tokenlist.ts- Token definitions per network
The application follows a clean architecture pattern:
src/
├── App.tsx # Main application component
├── lib/
│ └── LibEulerSwap.ts # Mathematical utilities
├── pages/
│ └── PoolAnalyzerMain.tsx # Analytics dashboard
├── assets/
│ ├── networks.ts # Network configurations
│ └── tokenlist.ts # Token definitions
└── main.tsx # Application entry point