Practical overview
When it fits
Use it to study or demonstrate the mechanics of cross-exchange arbitrage and compare its two swap approaches, rather than as maintained turnkey trading software.
Who it is for
- Developers studying JavaScript arbitrage-bot structure across Uniswap V2 and SushiSwap.
- Readers who want to run the documented local fork demonstration.
- Ethereum developers evaluating flash-swap and ordinary-swap approaches.
Documented uses
- Observe price changes on selected liquidity pools across the two exchanges.
- Explore a flash-swap strategy that borrows tokens for an arbitrage trade.
- Explore an ordinary-swap strategy that uses tokens held by the operator.
- Run a local demonstration with configured tokens and pools.
Requirements & limits
The repository is public and identifies its license as MIT. Its maintainer says the project is no longer maintained.
- The ordinary-swap bot requires the operator to hold the tokens needed for the trade; the flash-swap bot uses a borrowing-and-repayment approach.
- The README says ordinary swaps cost less gas to execute, while both approaches incur exchange swap fees.
- The demo setup calls for Node.js 12.22.1 and an Ethereum provider endpoint with archive-node access.
- The README separates the local demo from running on an Ethereum network and includes production considerations.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Run the local arbitrage demonstration
Set up the documented local fork demo and launch one of its two bots.
Before you start
- Debian-based Linux distribution
- Git, curl, nvm, Node.js 12.22.1, npm and Ganache CLI
- An Ethereum provider endpoint with archive-node access
- A root-level .env file populated with the demo parameters
Steps
Install Git and curl, install nvm, and install Node.js 12.22.1.
Clone the repository, install its npm dependencies and Ganache CLI, and clone the SushiSwap repository as described in the README.
Create the demo .env file with the documented parameters.
Start Ganache CLI using the provider endpoint as a fork of Ethereum mainnet.
Run the demo environment script with -a or -b, then run either bot_flashswap.js or bot_normalswap.js.
Expected outcome
The demo script creates tokens and liquidity pools with a possible arbitrage opportunity, after which the selected bot can be run against the local fork.
Guide limitations
- The README says the project is no longer maintained.
- The demo needs an archive-node provider endpoint and configured environment parameters.
- A demo opportunity does not establish that live trading will be profitable.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 15 October 2026
- Original website title
- 6eer/uniswap-sushiswap-arbitrage-bot · Official homepage title · retained in its source language

