ekmanss / univ2-tri-arb

Uniswap v2 triangular arbitrage in rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Univ2-Tri-Arb

Warning Absolute Garbage Code Ahead

This code actually still works! Just git clone the repository and use cargo run -r. If you want to check taxes or ensure the pairs are valid, just run cargo run -r load, This will make a fresh db.json file with all the taxes collected and valid pairs.

Use case

For learning and reusing components such as a uni v2 token tax checker, a generalized framework for arbitrage, etc...

This code is an absolute mess and is highly discoraged to run in prod.

Came across this while cleaning up my computer. Instead of trashing it, thought it could help newbies starting out. glglgl!

example

About

Uniswap v2 triangular arbitrage in rust

License:MIT License


Languages

Language:Rust 97.5%Language:Solidity 2.5%