Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

28 Commits

Folders and files

Repository files navigation

πŸ¦„ Uniswap V2 with AI Integration

Uniswap V2 Clone Banner

React TypeScript Tailwind CSS Vite License

πŸŽ₯ Watch the Demo!

Watch Demo

🌐 Live Demo

🌟 Features

  • πŸ’± Full Swap Functionality: Exact Input and Exact Output swaps with ETH and ERC20 tokens
  • πŸŠβ€β™‚οΈ Liquidity Pool Management: Add and remove liquidity with real-time pool statistics
  • πŸ€– AI-Powered Natural Language Interface: Execute trades and manage liquidity using plain English
  • πŸ“Š Advanced Analytics: Track pool performance, volume, and liquidity metrics
  • 🎨 Modern UI/UX: Sleek interface with glass morphism design and responsive layouts
  • πŸ”’ Web3 Integration: Seamless wallet connection and transaction management

πŸš€ Quick Start

Prerequisites

  • Node.js
  • Git
  • MetaMask or any Web3 wallet
  • Yarn or npm

Installation

  1. Clone the repository

    git clone https://github.com/revan1010/uniswap-V2--clone.git
    cd uniswap-v2-clone/uniswap-v2-frontend
  2. Install dependencies

    yarn install
    # or
    npm install
  3. Set up environment variables

    cp .env.example .env

    Edit .env with your configuration:

    VITE_OPENAI_API_KEY=your_openai_key
    
  4. Start the development server

    yarn dev
    # or
    npm run dev
  5. Open your browser Navigate to http://localhost:5173

πŸ—οΈ Project Structure

uniswap-v2-frontend/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ components/          # Reusable UI components
β”‚   β”œβ”€β”€ context/            # React context providers
β”‚   β”œβ”€β”€ hooks/              # Custom React hooks
β”‚   β”œβ”€β”€ pages/              # Page components
β”‚   β”œβ”€β”€ services/           # API and blockchain services
β”‚   β”œβ”€β”€ styles/             # Global styles and animations
β”‚   └── utils/              # Helper functions and constants
β”œβ”€β”€ public/                 # Static assets
β”œβ”€β”€ tests/                  # Test files
└── config/                 # Configuration files

πŸ™ Acknowledgments

πŸ”— Links


About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages