This project implements a dynamic fee model for Uniswap V3 using real-time data from the Ethereum blockchain. It uses machine learning to predict optimal fees based on market conditions.
-
Clone the repository:
git clone https://github.com/chandshantanu/dynamicfeeModel.git cd dynamicfeeModel -
Install dependencies:
pip install -r requirements.txt -
Set up your environment variables:
- Copy
.env.exampleto.env - Fill in the required values in
.env
- Copy
python -m src.main
-
Build the Docker image:
docker-compose build -
Run the container:
docker-compose up -d
python -m unittest discover tests
src/: Contains the main application codetests/: Contains unit testsabis/: Contains ABI files for smart contractsDockerfileanddocker-compose.yml: For containerizationrequirements.txt: Python dependencies
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests.
This project is licensed under the MIT License - see the LICENSE.md file for details.