Lesson 7: Final notes & Project Repo
In this lesson I build a flashswap arbitrage bot, that uses many interfaces and inherits libraries from UniswapV3 and OpenZeppelin. All to explore modular programming.
Last updated
In this lesson I build a flashswap arbitrage bot, that uses many interfaces and inherits libraries from UniswapV3 and OpenZeppelin. All to explore modular programming.
Last updated
I am happy in some ways about this project. Firstly, I created what I set out to make: a working defi arbitrage bot. The journey has taken me deep into the UniswapV3 protocol. A marvel in smart contract engineering.
It would have been nice If the bot made any money but still to this day it has not had a succesful arbitrage trade. This stratergy is far to simple. All of the thousand dollar+ defi arbitrage trades have 3 or 4 hops or more. It would have been great to explore how to find these kinds of opportunities.
Utilized well-known tested smart contract interfaces and libraries.
Utilized a complex defi instrument in the form of flashswaps.
Created a node.js back-end to work together with the smart contract.
My first Foundry project.
Got deep into the UniswapV3 protocol.
Smart contract address (Arbitrum Mainnet)
Arbitrum Mainnet
FlashSwapV3 deployed to:
Github Repo -