- Python 3.5+
To set up the app locally, follow these steps:
-
Clone the repository to your local machine:
git clone https://github.com/your-username/sol_sandwich_bot.git
-
Create a virtual environment:
python3 -m venv venv
-
Activate the virtual environment:
source venv/bin/activate
-
Install the required dependencies:
pip install -r requirements.txt
README.md # Project description and instructions for setup and usage
config.py # Configuration file containing project settings
requirements.txt # List of dependencies required for the project
tests/ # Directory for unit and integration tests
-
Create a
.env
file by copying the example file:cp .env.example .env
-
Update the
.env
file with your desired configuration:SOLANA_RPC_URL='https://api.mainnet-beta.solana.com'
To run the application, execute:
python3 bot_manager.py
To run the unit tests, execute:
python -m unittest discover -s tests
Sergey Chernyakov