#defi #solver #mev #propellerheads #dex

bin+lib tycho-execution

Provides tools for encoding and executing swaps against Tycho router and protocol executors

17 releases (breaking)

1.0.0 Apr 1, 2025
0.81.0 Apr 18, 2025
0.80.0 Apr 14, 2025
0.70.0 Mar 31, 2025

#22 in Magic Beans

Download history 37/week @ 2025-03-21 742/week @ 2025-03-28 497/week @ 2025-04-04 327/week @ 2025-04-11

1,603 downloads per month

MIT license

1.5MB
30K SLoC

Solidity 24K SLoC // 0.2% comments Rust 5.5K SLoC // 0.1% comments Python 505 SLoC // 0.0% comments JavaScript 456 SLoC // 0.1% comments Shell 4 SLoC

Tycho Execution

img.png

Tycho Execution makes it easy to trade on different DEXs by handling the complex encoding for you. Instead of creating custom code for each DEX, you get a simple, ready-to-use tool that generates the necessary data to execute trades. It's designed to be safe, straightforward, and quick to set up, so anyone can start trading without extra effort.

For complete documentation, see Tycho docs here.

Examples

To get started on encoding, have a look at our Encoding example. For a complete example please refer to the Tycho Quickstart guide.

Dependencies

~8–40MB
~592K SLoC