@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.
Capability differences
The SDK normalizes the request and response shapes. The venue behaviour underneath still differs. ReadgetProviders() for the actions and signers each provider advertises, and check the rows below before you build a provider-agnostic screen.
See Placing Orders for the per-provider time-in-force details and Streaming for the full channel table.
See each venue’s Providers section for its signing model, setup, trading actions, and streaming protocol.