Practical overview
When it fits
Use it as a contract and workflow base when you can build and operate the supporting infrastructure needed to monitor block activity and submit transactions promptly.
Who it is for
- Developers building custom DEX arbitrage systems with Solidity and JavaScript.
- Operators prepared to provide chain-provider connectivity, monitoring and transaction-submission infrastructure.
Documented uses
- Check a potential arbitrage between source and target DEX routers.
- Start a flash-swap arbitrage transaction through the contract.
- Monitor new blocks and check opportunities using the documented watcher workflow.
- Extend callback support for a DEX integration.
Requirements & limits
The repository is public and identifies an MIT license.
- The repository explicitly says it is not a full project and requires surrounding infrastructure.
- The README documents a read-only check function and a separate transaction-start function.
- The watcher workflow uses a WebSocket connection to listen for new blocks.
- Callbacks are supplied for common DEXs, with extensions left to the developer.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Configure and start the JavaScript watcher
Prepare the documented watcher workflow by filling its environment file and starting watcher.js.
Before you start
- The repository and its environment template
- A deployed arbitrage contract
- Configured chain-provider details, including a WebSocket connection for new blocks
Steps
Copy env.template to .env.
Replace the values in .env with the required configuration.
Run node watcher.js.
Expected outcome
The watcher starts with the configured wallet and provider connection and can check arbitrage opportunities as shown in the README workflow.
Guide limitations
- The README says this is not a full project and requires surrounding infrastructure.
- The documented workflow does not establish that a particular provider, configuration or transaction will succeed.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 October 2026
- Original website title
- Haehnchen/uniswap-arbitrage-flash-swap · Official homepage title · retained in its source language

