Giter VIP home page Giter VIP logo

defi-exchange's Introduction

Defi Exchange (Uniswap v1)

WAGMI, Keep Buidling!

logo

About

A Defi Exchange based on Uniswap V1, providing functionality for swapping an ERC-20 token with ETH and providing liquidity to the pool.

Stack

React Next.js

Solidity (Hardhat)

Vercel

Requirements

  • Build an exhange with only one asset pair (Eth <> Crypto Dev)
  • Your Decentralized Exchange should take a fees of 1% on swaps
  • When user adds liquidity, they should be given Crypto Dev LP tokens (Liquidity Provider tokens)
  • CD LP tokens should be given propotional to the Ether user is willing to add to the liquidity

Let's start building ๐Ÿš€

Basic Installation

Hardhat:

mkdir hardhat-tutorial
cd hardhat-tutorial
npm init --yes
npm install --save-dev hardhat

npm install @openzeppelin/contracts

NEXT:

 npx create-next-app@latest

cd my-app
npm run dev

Usage example

Complete track for learning Web3 and make these amazing projects

For more examples and usage, please refer to the Wiki.

Development setup

Follow the above link for complete setup!

defi-exchange's People

Contributors

0xwick avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.