Simple token swapper
You need to have installed nodejs
See Hardhat setup enviroment tutorial
First you need to clone this repository
git clone https://github.com/raerocor97/cukieswap/
Make sure you are in the right folder
cd cukieswap/
Next, you must to install the dependencies
npm i
Next, you need to compile the contracts
npm run compile
Finally, you need to put your Alchemy API Key in a .env file in order to use the mainnet
ALCHEMY_MAIN_API_KEY=<YOUR_API_KEY>
Run the tests to verify the swapping logic and upgradeability
npm run test
Make sure you set ALCHEMY_MAIN_API_KEY in your .env file
- Rafael Romero - raerocor97
This project is under the MIT License - look up the file LICENSE.md for more details.