Skip to content

Simple token swapper using UniswapV2 and Balancer

License

Notifications You must be signed in to change notification settings

rafael-ab/cukieswap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cukieswap

Simple token swapper

Getting Started 🚀

Pre-requisites 📋

You need to have installed nodejs

See Hardhat setup enviroment tutorial

Installation 🔧

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>

Running tests ⚙️

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

Deployment 📦

Built with 🛠️

Author ✒️

License 📄

This project is under the MIT License - look up the file LICENSE.md for more details.

About

Simple token swapper using UniswapV2 and Balancer

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published