Haystack Router
Advanced protocol for better DeFi
The Haystack order-router is an exchange infrastructure for best-in-class DeFi trading. It leverages Algorand's renowned efficiency by optimizing and combining liquidity of multiple DEXs and LST protocols. Additionally it can leverage peer-to-peer liquidity and function as a building block for order book and RFQ systems.
The Haystack protocol is implemented as a fully composable, on-chain trading protocol based on a permissionless architecture. Everybody can use it to get better swaps. Platform integrators can use our SDK to get started quickly.
The core functionality consists of planning and executing slippage-optimized market orders. It guarantees equal or better trades than single DEX orders by finding the best routes and liquidity. Usage is simply a matter of (1) requesting a swap plan and (2) executing this plan atomically through its smart contracts.
This functionality is provided by the following components:
Order-Routing API: Find the best swap plan for any trading pair
Order-Router Protocol: Place optimized market-orders securely on-chain
The Haystack router was formally known as Deflex, originally developed by Defly and Alammex.
Last updated