Files
mev-beta/GEMINI.md
2025-09-14 10:10:39 -05:00

2.2 KiB

MEV Bot Project - Gemini Context

This file contains context information for Gemini about the MEV Bot project.

Note: For a comprehensive understanding of the project structure, development guidelines, and AI assistant configuration, please refer to CLAUDE.md, which contains the complete project documentation.

Project Overview

This is an MEV (Maximal Extractable Value) bot written in Go 1.24+ that monitors the Arbitrum sequencer for potential swap opportunities. When a potential swap is detected, the bot scans the market to determine if the swap is large enough to move the price using off-chain methods.

Project Structure

  • cmd/ - Main applications (specifically cmd/mev-bot/main.go)
  • internal/ - Private application and library code
    • internal/config - Configuration management
    • internal/logger - Logging functionality
    • internal/ratelimit - Rate limiting implementations
    • internal/utils - Utility functions
  • pkg/ - Library code that can be used by external projects
    • pkg/events - Event processing system
    • pkg/market - Market data handling
    • pkg/monitor - Arbitrum sequencer monitoring
    • pkg/scanner - Market scanning functionality
    • pkg/test - Test utilities and helpers
    • pkg/uniswap - Uniswap V3 specific implementations
  • config/ - Configuration files
  • @prompts/ - AI prompts for development assistance
  • docs/ - Documentation
  • scripts/ - Scripts for building, testing, and deployment

Gemini's Primary Focus Areas

As Gemini, you're particularly skilled at:

  1. Algorithmic Implementations and Mathematical Computations

    • Implementing precise Uniswap V3 pricing functions
    • Optimizing mathematical calculations for performance
    • Ensuring numerical stability and precision
  2. Performance Optimization

    • Profiling and identifying bottlenecks in critical paths
    • Reducing memory allocations in hot code paths
    • Optimizing concurrency patterns for maximum throughput

When working on this project, please focus on these areas where your strengths will be most beneficial.

For complete development guidelines, system architecture details, and comprehensive configuration information, please refer to CLAUDE.md.