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.
Celo(Alfajores) Testnet
- CaritoSwap Factory: https://alfajores-blockscout.celo-testnet.org/address/0xe7F7067C9ECAB27c5F7f13E02b13eD50931f6D0f/transactions
- CaritoSwap Router: https://alfajores-blockscout.celo-testnet.org/address/0x4cAb5791640C439D7Aece517d70BFEfcA4b0Fb6b/transactions
- WCELO (Wrappeed Celo): https://alfajores-blockscout.celo-testnet.org/address/0x524d97A67f50F4A062C28c74F60703Aec9028a94/transactions
- Multicall Contract: https://alfajores-blockscout.celo-testnet.org/address/0x387ce7960b5DA5381De08Ea4967b13a7c8cAB3f6/transactions
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
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
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 😉)
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