Skip to content
Decentralized Exchange like Uniswap

Decentralized Exchange like Uniswap

The project includes whitelist dApp, nft collection webApp, ICO launch, On-Chain DAO to invest in NFTs and final WebApp being DEX like Uniswap.

Created on 19th February 2023

•

Decentralized Exchange like Uniswap

Decentralized Exchange like Uniswap

The project includes whitelist dApp, nft collection webApp, ICO launch, On-Chain DAO to invest in NFTs and final WebApp being DEX like Uniswap.

The problem Decentralized Exchange like Uniswap solves

It is simple and a very basic version of a DEX like uniswap but with very powerful functionalities like:

1. Whitelist Dapp

  • Whitelist access should be given to the first 10 users for free who want to get in.
  • There exists a website where people can go and enter into the whitelist.

2. NFT Collection

  • There only exists 20 Crypto Dev NFT's and each one of them are unique.
  • User's are able to mint only 1 NFT with one transaction.
  • Whitelisted users, will have a 5 min presale period before the actual sale where they are guaranteed 1 NFT per transaction.
  • There exists a website for NFT Collection.

3. ICO Launch

  • There exists a max of 10,000 CD tokens.
  • Every Crypto Dev NFT holder gets 10 tokens for free but they would have to pay the gas fees.
  • The price of one CD at the time of ICO is 0.001 ether.
  • There exists a website that users can visit for the ICO.

4. DAO for NFT holders

  • Anyone with a CryptoDevs NFT can create a proposal to purchase a different NFT from an NFT marketplace.
  • Everyone with a CryptoDevs NFT can vote for or against the active proposals.
  • Each NFT counts as one vote for each proposal.
  • Voter cannot vote multiple times on the same proposal with the same NFT.
  • If majority of the voters vote for the proposal by the deadline, the NFT purchase is automatically executed.

5. Final WebApp being DEX like Uniswap

  • An exchange with only one asset pair (Eth / Crypto Dev).
  • Decentralized Exchange takes a fee of 1% on swaps.
  • When user adds liquidity, they are given Crypto Dev LP tokens (Liquidity Provider tokens).
  • CD LP tokens are given proportional to the Ether user is willing to add to the liquidity.

Challenges I ran into

  • Dependencies problems with Next.js
  • Had to install them every time code was cloned from after getting pushed to remote and deleted from local machine.
  • Solidity files compilation errors due to difference in Solidity pragma version.
  • At times module not found error showed up because of lack of some dependencies like
  • ether.js &
  • web3modal
  • pushing files greater than 100 MB showed up error and had to use LFS for that purpose

Tracks Applied (1)

Quicknode: Built on QuickNode RPC

Uses QuickNode API to deploy contracts through Hardhat.
QuickNode

QuickNode

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion

Builders also viewed

See more projects on Devfolio