Arbitrage bot for cross-chain arbitrage written in Javascript. Only supports Uniswap-like pools.
- DFK => Avalanche
- Avalanche => DFK
yarn start
Session will be restarted if error occurs.
Errors are logged in ./logs/err.log
and all stdout in ./logs/out.log
.
Note that for this command the forever
module needs to be installed globally with yarn add global forever
.
yarn start-forever
yarn test
yarn add-pool <pool-address> --dex <dex-id>
Adds all pools for the factories listed in ./src/static/dexes.json
.
yarn add-all-pools <dex-id>
Generates paths for listed pools based on the rules specified in ./src/tools/path-gen.js
.
yarn gen-paths