Introduction
Order-Router Protocol
Haystack Order Router is a protocol for on-chain market swaps of Algorand assets. The protocol provides best route discovery between any token pair that has liquidity in the Algorand ecosystem.
Key Features
Smart Order Routing: Haystack Order Router connects the AMM pools of every DEX it aggregates, together with liquid-staking and lending markets, and searches direct and atomic multi-hop routes between any two tokens in the Algorand ecosystem.
Automatic Liquidity Discovery: The number of tokens and liquidity pools increases daily. The Haystack Order Router picks up new pools on the DEXes it aggregates automatically, as soon as they have meaningful liquidity.
Speed: Quotes typically return in well under a second.
Composability: The Router is fully composable. Composability means developers can combine their own protocols with Haystacks protocol to build powerful and flexible systems.
Fixed-Output Support: Haystack Order Router protocol is able to support fixed-output swaps (where excess from the swap is accumulated/redeemed in the input asset) for all composable DEX protocols, even if they do not support fixed-output themselves (eg. Pact).
Aggregated Slippage Check: Haystack Order Router protocol performs a single slippage check on the final output asset, regardless of how many swaps are performed. This prevents a single swap from failing the entire transaction group even if it does not impact the final slippage check (resulting in higher swap success rate).
Atomic: A swap executes in a single transaction group. If the output is below your minimum, the whole group fails and nothing moves.
Transparent: The Haystack Order Router quote includes all protocol fees (including Haystack Order Router App fees). What you see is what you get!
Last updated