An AMM arbitrage bot exploits price differences between automated market makers (AMMs) by buying low on one AMM and selling high on another, earning a profit from the price discrepancies.
This is the total amount allocated to Spectrum and Teddy Swap Java Batcher.
Leveraging Cardano Java libraries for fast mempool scanning, in-memory utxo caching and reactive programming, to implement and document an offchain bot that can execute swaps on open DEXes.
No dependencies
Project will be open source from the get go under MIT licence.
There are mostly two reasons at the base of this proposal:
By working on this opensource project I aim at
From an educational point of view Java is a very popular well-known and easy to read language, this means that developers fluent in other languages can rewrite this bot in their favourite language.
After several month spent on writing a prototype, I can demonstrate already that my bot works and can try to compete with the top dogs.
The intent of this proposal is dual:
By developing this open source project, I will teach what are techniques and best practices when developing offchain code using the very powerful java libraries.
Java is one of the most widely used programming language with several million of developers world-wide.
The success of this project will be measured by observing community engagement in many ways:
Additionally, for people that will decide to run this project, it could represent a way of earning a few ada by operating the BOT. This could be ideal for smaller SPOs looking at maximise they hardware use by operating the bot and earning extra ada.
I'm a Senior Software Engineer with 20 years of commercial experience with extensive exposure to DevOps best practices.
I've been developing on cardano since 2020 in multiple languages, but mostly Java.
I've already developed a prototype and here a list of swaps already performed:
https://cexplorer.io/address/addr1q8kmf8s9fdrgqz082lnrq22m2zdxf4r4cszm95yr309zqfedcsszmdpqck3x045p9d3d89fht8cux79t0cer0fzzlznqkhyclu/tx#data
Mempool Scanning and Hybrid UTXO Resolution
Spectrum and Teddy Swap UTXO Indexing
Swap Transaction Offchain Validation
Swap Transaction Offchain building and submission
Operations and Documentation
Deployment and Demo
Giovanni Gargiulo: Senior Software Developer with 20 years of commercial experience. Open Source Contributor, DevOps Engineer.
All the required budget will be spent by developing or documenting the source code of the project.
The required budget will be calculated based on the estimated amount of hours already spent on the project to create the initial prototype and the effort still required to accomplish each milestone in order to make this a production grade project.
I've been working on a prototype for this project already 6 months between October 2023 and March 2024.
Assuming an average of 40 hours a month for 6 months, it is about 240 hours.
From the prototype, additional work is required to make of this a production grade project. Such work has been grouped into the different milestone. Estimated work in hours for each milestone is
240 + 105 = 345h @ 100euro/h => 34500 euro @ 0.41euro/ada => 84146
Considering a 25% buffer 105182.5
Based on a brief research the average per hour cost for a blockchain engineer varies widely based on factors such as experience, location, and specific project requirements. Generally, rates range from $50 to $150 per hour, with experienced engineers in high-demand regions potentially charging more.
Both Cardano onchain and offchain development skills are not common and in high demand and this project aims to both provide the community with a useful tool and educational material to spread this type of knowledge.