Skip to content

sergeychernyakov/sol_sandwich_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solana Sandwich Bot

Requirements

  • Python 3.5+

Setup

To set up the app locally, follow these steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/your-username/sol_sandwich_bot.git
  2. Create a virtual environment:

    python3 -m venv venv
  3. Activate the virtual environment:

    source venv/bin/activate
  4. Install the required dependencies:

    pip install -r requirements.txt

File structure

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

Configuration

  1. Create a .env file by copying the example file:

    cp .env.example .env
  2. Update the .env file with your desired configuration:

      SOLANA_RPC_URL='https://api.mainnet-beta.solana.com'

Running the App

To run the application, execute:

python3 bot_manager.py

Running Tests

To run the unit tests, execute:

python -m unittest discover -s tests

Author

Sergey Chernyakov


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages