Skip to content

0xRLA/sandwich-bot

Repository files navigation


Sandwich BOT
Sandwich BOT

This is a proof of concept of a MEV sandwich BOT for educational purposes. Meaning this BOT will probably not be successful without improvements due to the high competition from other bots that are made for production.

Key FeaturesHow To RunHow To ConfigureLicense

Key Features

  • Connecting to an Ethereum node
  • Listen for UniswapV2 swaps in the mempool
  • Target ERC20/wETH token pairs
  • Simulate sandwich transaction
  • Creating bundle transaction
  • Executing sandwich transaction

How To Run

To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:

# Clone this repository
$ git clone https://github.com/0xRLA/sandwich-bot.git

# Go into the repository
$ cd sandwich-bot

# Install dependencies
$ npm install

# Run the bot
$ npm start

How To Configure

In order to make this bot run you will need to input some values.

# Copy and rename .env.template
$ cp .env.template .env

# Input values in
$ .env

License

Do whatever you want with it.

About

Proof of concept - Sandwich attack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published