flashswap-arbitrage-avalanche
Crypto arbitrage bot that searches multiple token exchanges on the Avalanche blockchain for a significant difference in price between two tokens. Once a arbitrage opportunity is found the bot will execute the simultaneous buying and selling of the tokens through a flash swap provided by token exchanges (selected exchanges are forks of the Uniswap V2 Smart Contract).
File Explorer
Download Latest Version (.zip)- ExampleERC20.sol
- FlashSwapJoePango.sol
- FlashSwapPangoJoe.sol
- FlashSwapPangoSushi.sol
- FlashSwapSushiPango.sol
- MockContract.sol
- NFT.sol
- PangolinComputeLiquidityValue.sol
- Storage.sol
- SushiswapV2ComputeLiquidityValue.sol
- TraderJoeComputeLiquidityValue.sol
- 00_deploy_flash_swap_pango_sushi.ts
- 01_deploy_flash_swap_sushi_pango.ts
- 02_deploy_pangolin_liquidity_compute.ts
- 03_deploy_uniswap_liquidity_compute.ts
- 04_deploy_trader_joe_liquidity_compute.ts
- 05_deploy_flash_swap_pangot_trader_joe.ts
- 06_deploy_flash_swap_trader_joe_pango.ts
- 933d0950148b6b3ec1acb6614cee1c55.json
- ce95ebea8d580ef9be2fb0547e089a1d.json
- .chainId
- FlashSwapJoePango.json
- FlashSwapPangoJoe.json
- FlashSwapPangolinSushi.json
- FlashSwapSushiPango.json
- PangolinComputeLiquidityValue.json
- SushiswapV2ComputeLiquidityValue.json
- TraderJoeComputeLiquidityValue.json
- 02accd54e91392c1845db2edb18b1ced.json
- 039dc628e8b9b3e8ceb8e36660a57679.json
- 03b4e807379183f68c0dbb67968f922b.json
- 25f90d39f2b7748bb078184a47c5f0f7.json
- 3cb0c1fde9e0e7405661622b8d924526.json
- 540266160dd5afe67f7600c493c86a60.json
- 558e486566eeca4375e67473f3212116.json
- 58d89cb033689dda55aa04ab825d7ea7.json
- 5924e47849082ced5adce290e204845e.json
- 64ed385e5eff090742cc2f57fc4b2747.json
- 6702f91d66636dffacbd10939cce5907.json
- 933d0950148b6b3ec1acb6614cee1c55.json
- 93f8b596299a8cb015c11062159461c9.json
- 9c1b967fdbe6f8d3531d4f23a366e438.json
- 9cec69dbd5118c72f576ca37a9aceccb.json
- b3f96b1003d8fd8d4c704b662092e50a.json
- bc2ac7e2a6d00ad292d0851469b70d14.json
- c920ad3744308965695bbc857b9a223c.json
- ca64ff36be560db582d0c4079e445c41.json
- ce95ebea8d580ef9be2fb0547e089a1d.json
- d0e921baa4bab5a6b3a281146802c9fb.json
- d6db3c4fcbb55c23cea2d4b7f24ea68c.json
- da7503c5711f20d43febee6b6219618b.json
- e5f22a665dfab3e9b7de41113b2b4a6c.json
- e772f399cf802b1e739e112b0fb45bfa.json
- e88e7738e31e92fd17868cabbc31c4f5.json
- f829707846ec6eee3aee6e2554faa4b0.json
- .chainId
- ExampleERC20.json
- FlashSwapPangolinSushi.json
- FlashSwappyPango.json
- FlashSwappySushi.json
- FlashSwapSushiPango.json
- PangolinComputeLiquidityValue.json
- PangolinFactory.json
- PangolinLibrary.json
- PangolinRouter.json
- SushiswapV2ComputeLiquidityValue.json
- UniswapV2ComputeLiquidityValue.json
- UniswapV2Factory.json
- UniswapV2Library.json
- UniswapV2Router02.json
- USDT.json
- WAVAX.json
- 933d0950148b6b3ec1acb6614cee1c55.json
- ce95ebea8d580ef9be2fb0547e089a1d.json
- .chainId
- FlashSwapJoePango.json
- FlashSwapPangoJoe.json
- FlashSwapPangolinSushi.json
- FlashSwapSushiPango.json
- PangolinComputeLiquidityValue.json
- SushiswapV2ComputeLiquidityValue.json
- TraderJoeComputeLiquidityValue.json
- pangolin-sushi-swap-usdt-wavax.ts
- pangolin-sushi-swap-wavax-usdt.ts
- pangolin-trader-joe-swap-joe-wavax.ts
- pangolin-trader-joe-swap-usdt-wavax.ts
- pangolin-trader-joe-swap-wavax-joe.ts
- pangolin-trader-joe-swap-wavax-usdt.ts
- setup-pangolin-sushi.ts
- setup-pangolin-trader-joe.ts
- swap-main-to-partner.ts
- swap-partner-to-main.ts
- sushi-pangolin-swap-usdt-wavax.ts
- sushi-pangolin-swap-wavax-usdt.ts
- trader-joe-pangolin-swap-joe-wavax.ts
- trader-joe-pangolin-swap-usdt-wavax.ts
- trader-joe-pangolin-swap-wavax-joe.ts
- trader-joe-pangolin-swap-wavax-usdt.ts
- deploy.ts
- erc20.ts
- example.js
- fund-cchain-addresses.js
- nft.ts
- sendAvaxJSONProvider.ts
- sendAvaxWalletSigner.ts
- storage.ts
- constants.ts
- types.ts
- utilities.ts
- .chainId
- UniswapV2Factory.json
- UniswapV2Router02.json
- Coin.spec.ts
- flash-swap-price-prediction.spec.ts
- FlashSwapPango.spec.ts
- FlashSwapSushi.spec.ts
- PangolinComputeLiquidityValue.spec.ts
- SushiswapV2ComputeLiquidityValue.spec.ts
- test-fixture.ts
- .gitignore
- env.placeholder
- hardhat.config.ts
- LICENSE
- package.json
- README.md
- setup.js
- tsconfig.json
- yarn.lock
# Installation Guide
git clone https://github.com/cjthoma1/flashswap-arbitrage-avalanche
Downloads the entire project code from GitHub to your computer.
cd flashswap-arbitrage-avalanche
Moves into the project folder you just downloaded.
2. Official Install Script
Easy Recommended- Node.js Node.js must be installed to use npm.
npm install -g yarn
Installs the package published on the npm registry globally β no need to clone the source.
Pulled directly from this repo's README.
3. Node.js
Easynpm install -g yarn
Installs the package published on the npm registry globally β no need to clone the source.
yarn
Downloads and installs the libraries listed in package.json.
yarn run arb:pangolin:joe:wavax:usdt --network mainnet
Type this command into your terminal and run it.
$ yarn
Type this command into your terminal and run it.
Pulled directly from this repo's README.
