Skip to content

maikelordaz/Swapper

Repository files navigation

Swapper A contract to exchange betwen tokens, receiving multiple tokens given a percentage

Swapper

This is a solidity project about a usefull swap tool with the next characteristics:

  • It´s an upgradeable smart contract.
  • It swap betwen multiple tokens.
  • The user can give any percentage from the tokens to receive.
  • The second version uses paraswap to find the best price.

🚀 INSTALLATION

  1. Clone this repo
  2. Install the dependencies with

    npm install

  3. Run test with any of

    npx hardhat test npm run test

💾 TECNOLOGIES

  • For swapping
    • Uniswap
    • Paraswap

⌨️ CODE

You can follow the code with the coments, they explain every function on the contract.

🧮 TEST

The tests are divided to check every contract functionality one by one.

📑 CONTRIBUTE

If you want to contribute just fork the repo and describe the changes you made.

⚖️ LICENSE

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published