Off-chain liquidity server, on-chain DEX encoder and signer, CEX agent, and rebalancer.
This TypeScript project implements an Express server that manages off-chain liquidity, interacts with on-chain DEXs, and handles CEX operations. It includes routing for Liquidity Hub (LH) and Order Book (OB), a CEX management class, and specific functionality for Binance.
-
Express server with two main routes:
- Liquidity Hub (LH)
- Order Book (OB)
-
Each route exposes two API endpoints:
/rfq/firm
: Request for Quote (Firm)/rfq/prices
: Request for Quote (Prices)
-
CEX class for managing different central exchanges
-
Binance handler for order book management and trading