Tracy was inspired by MetaMask Swap, but we found the Metamask Swap feature lacking because it only supports a limited amount of DEXs. We want to get accurate, up to date price info for as many DEXs as possible to increase user choice. We want to leverage that data for arbitrage trading in lower liquidity/volume pairs.

What it does

Tracy tracks DEX swaps and logs them to a database. We then use that database to look for the best price when swapping tokens. We are also using this data to do arbitrage between the different DEX pairs. Our database allows us access to historical data to use for example to backtest trading algorithms.

How we built it

We subscribe to blockchain blocks and check every block if there was a swap transaction. We decode swap transactions and update our database with the newest price data. We then look into arbitrage opportunities between pairs and if possible arbitrage between different pairs to get them to the same price and make a profit.

Challenges we ran into

Coordinating our team with very different schedules, made it difficult to transfer knowledge inside the team. Missing typescript support made it difficult to work with tronWeb for us because we were new to the Tron ecosystem.

Accomplishments that we're proud of

We are proud of having a working project while starting late and having other work commitments full time on other projects.

What we learned

We learned a lot about Decoding and Encoding ABI Objects in the EVM, working with the Tron blockchain and its tooling. We also learned about working and organising a team with very different schedules.

What's next for Tracy

We aim to improve tracy performance and observe more DEX exchanges. We are looking into tracking DEX on multiple chains and improving our arbitrage trading algorithm.

+ 39 more
Share this project: