Skip to content

dev6699/defi

Repository files navigation

DeFi Project Based on Uniswap V2

Overview

A decentralized finance (DeFi) application that leverages the architecture of Uniswap V2. This project enables users to trade and swap ERC-20 tokens and contribute to liquidity pools, following the principles of automated market-making (AMM) and liquidity provision.

Table of Contents

Tech Stack

  • Hardhat: Ethereum development environment for compiling, testing, and deploying smart contracts.
  • React: Frontend framework for building the user interface.
  • wagmi: React hooks library for Ethereum that simplifies interaction with wallets and contracts.

Installation

  1. Clone the repository:

    git clone https://github.com/dev6699/defi.git
    cd defi
  2. Install dependencis:

    backend

    npm install

    frontend

    cd frontend
    npm install

Usage

Start local node

make node

Deploy the contracts to a local blockchain

make deploy

Generate contracts for frontend

make generate

Run tests

make test

Run tests coverage

make coverage

Running the Frontend

Open http://localhost:3000 in your browser to view the app.

make dev

Disclaimer

This project is created for learning and educational purposes only. It is not intended for production use or to be deployed on the mainnet. Users should exercise caution and are encouraged to review and understand the code before using it in any capacity.

About

DeFi Project Based on Uniswap V2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published