WAGMI, Keep Buidling!
A Defi Exchange based on Uniswap V1, providing functionality for swapping an ERC-20 token with ETH and providing liquidity to the pool.
React Next.js
Solidity (Hardhat)
Vercel
- 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 ๐
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
Complete track for learning Web3 and make these amazing projects
For more examples and usage, please refer to the Wiki.
Follow the above link for complete setup!