Skip to content

Swap your cryptos using Celo Blockchain while helping others in need without you even knowing

Notifications You must be signed in to change notification settings

Mystical94/caritoswap

Repository files navigation

CaritoSwap

Decentralized Exchange(DEX) on Celo(Alfajores) Blockchain

CaritoSwap core contracts

CaritoSwap core contracts are the fork of Uniswap V2 Few changes have been done to transfer half of the protocol fees (i.e 0.025%) to the charity by giving its address in the factory contract so that it automatically transfers the fees to the Charity without any human intervention and without any discrepancy

CaritoSwap/Uniswap-V2 contracts are non-upgradeable and hence immutable in nature

In-depth documentation on Uniswap V2 is available at uniswap.org.

The built contract artifacts can be browsed via unpkg.com.

Addresses and Verified Source Code:

Celo(Alfajores) Testnet

Changes from Uniswap V2

Few changes have been done to transfer half of the Protocol Fees (i.e 0.025% of the Liquidity Token) to the Charity by giving the Charity's address in the factory contract so that it automatically transfers the fees to the Charity without any human intervention and without any discrepancy

CaritoSwap periphery contracts

This repository has been forked from UniswapV2

Some changes have been made to support the automatic transfer of the half of the protocol fees to the Charity

CaritoSwap Interface

An open source interface for CaritoSwap -- a protocol for decentralized exchange on Celo.

Enabling users to:

  • Add and remove their liquidity positions on CaritoSwap protocol
  • Swap tokens on CaritoSwap protocol

Future Plans:

  • Add the functinality of Farming, Staking and Limit Orders
  • Making it live on the Celo Blockchain (coming very soon 😉)

Deploying the CaritoSwap on local machine

Clone the repository

move into the UserInterface Directory

cd UserInterface

install dependencies using yarn or npm

having some dependency version problems in yarn, so advised to use npm commands instead

yarn

or

npm install

If using Windows then run these two commmands after npm install

rm -r ./node_modules/@uniswap/sdk

And Then this command

cp -r ./forks/@uniswap/sdk ./node_modules/@uniswap/sdk

start the development server

yarn start

or

npm start

build with production mode

yarn build

or

npm run build

About

Swap your cryptos using Celo Blockchain while helping others in need without you even knowing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published