#defi #solver #mev #propellerheads #dex

bin+lib tycho-execution

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

26 releases (breaking)

1.1.0 Apr 23, 2025
0.88.0 May 6, 2025
0.70.0 Mar 31, 2025

#364 in Magic Beans

Download history 37/week @ 2025-03-21 742/week @ 2025-03-28 497/week @ 2025-04-04 365/week @ 2025-04-11 702/week @ 2025-04-18 621/week @ 2025-04-25 490/week @ 2025-05-02

2,227 downloads per month

MIT license

1.5MB
33K SLoC

Solidity 25K SLoC // 0.2% comments Rust 7K SLoC // 0.1% comments Python 505 SLoC // 0.0% comments JavaScript 452 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.

Security

All audits of the Tycho Router and Executor contracts can be found here. The vulnerabilities discovered during the audits have been acknowledged and addressed or accepted.

Report a Vulnerability

Contact security@propellerheads.xyz

Dependencies

~8–40MB
~594K SLoC