@lifi/perps-sdk trades across multiple perpetual venues through a single, unified interface. Each venue is integrated as a provider with its own setup, signing scheme, and market data; you pick one per call via the provider argument and the SDK handles the venue-specific details transparently. Each provider tracks its setup and trading signer independently.
Currently supported venues:
- Hyperliquid — an order-book perpetuals exchange on its own L1. Trades use an SDK-managed agent wallet approved once by the user.
- Lighter —
lightermainnet andlighter-rhexpose the same normalized contract with deployment-specific endpoints, collateral, and credentials. Trades use a Lighter-native key registered on-chain. - Ondo — a session-backed venue whose trading requests are HMAC-signed client-side with the user’s registered venue key.