Skip to content

0xWick/Defi-Exchange

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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!

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors