#defi #solver #dex #mev #propellerheads

bin+lib tycho-execution

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

6 releases (1 stable)

new 1.0.0 Apr 1, 2025
0.71.0 Apr 1, 2025
0.70.0 Mar 31, 2025
0.69.0 Mar 31, 2025
0.68.2 Mar 28, 2025

#70 in Magic Beans

Download history 347/week @ 2025-03-25

351 downloads per month

MIT license

1.5MB
29K SLoC

Solidity 23K SLoC // 0.2% comments Rust 4.5K SLoC // 0.1% comments Python 505 SLoC // 0.0% comments JavaScript 395 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

~9–40MB
~597K SLoC