haystack-router

Installation
SKILL.md

Haystack Router

Haystack Router is a DEX aggregator and smart order routing protocol on Algorand. It finds optimal swap routes across multiple DEXes (Tinyman V2, Pact, Folks) and LST protocols (tALGO, xALGO), then executes them atomically through on-chain smart contracts.

Formerly known as Deflex (originally developed by Defly and Alammex), acquired by TxnLab and rebranded as Haystack Router.

Package

@txnlab/haystack-router — TypeScript SDK for DEX-aggregated swaps. Requires algosdk (v3+) as a peer dependency.

npm install @txnlab/haystack-router algosdk

API key required. A free tier key is available for immediate use — see configuration.md for details.

Core Flow

Installs
6
Repository
txnlab/skills
GitHub Stars
6
First Seen
Feb 13, 2026
haystack-router — txnlab/skills