Exchange Products
Choose your trading model or combine them for hybrid exchanges
AMM Infrastructure
Deploy and manage automated market makers across chains
- Constant product (x*y=k) pools
- Concentrated liquidity positions
- Multi-token weighted pools
- Custom bonding curves
- Flash loan support
- MEV-resistant design
DEX Aggregator
Route swaps across 100+ DEXs for best execution
- Multi-DEX price comparison
- Split route optimization
- Cross-chain swaps
- Limit order support
- Gas optimization
- MEV protection
Order Book Engine
High-performance matching engine for CEX-grade trading
- Sub-millisecond matching
- Millions of orders/second
- Market & limit orders
- Stop-loss & take-profit
- Margin trading support
- Real-time feeds
Liquidity Network
Access deep liquidity pools and market makers
- Institutional liquidity
- RFQ (Request for Quote)
- OTC desk integration
- Market maker APIs
- Liquidity mining
- LP analytics
Institutional-Grade Infrastructure
Sub-ms Latency
Colocated infrastructure for fastest execution
Multi-Chain
Trade across 100+ networks from one interface
MEV Protected
Private transactions and fair ordering
Real-time Data
WebSocket feeds with tick-level precision
Self-Custody
Non-custodial trading with your own keys
Historical Data
Full trade history and OHLCV archives
exchange.ts
import { HanzoExchange } from "@hanzo/blockchain";
const exchange = new HanzoExchange({
apiKey: process.env.HANZO_API_KEY,
});
// DEX Aggregator - Find best swap route
const quote = await exchange.dex.getQuote({
fromToken: "ETH",
toToken: "USDC",
amount: "1.0",
slippage: 0.5, // 0.5%
});
console.log("Best route:", quote.route);
console.log("Expected output:", quote.outputAmount);
console.log("Price impact:", quote.priceImpact);
// Execute swap with MEV protection
const tx = await exchange.dex.swap(quote, {
mevProtection: true,
privateTransaction: true,
});
// Or use Order Book for limit orders
await exchange.orderbook.placeLimitOrder({
pair: "ETH/USDC",
side: "buy",
price: 2000,
amount: 1.0,
});
Build Your Exchange
From DeFi protocols to institutional trading platforms—we have the infrastructure.
Get Exchange
DEX exchange surface