Overview of Polymarket Rust Client capabilities
mainThe polymarket-client-sdk is an ergonomic Rust client for interacting with Polymarket services, specifically the Central Limit Order Book (CLOB).
Key features include:
- Typed CLOB requests: Strongly typed builders for orders, trades, markets, balances, etc.
- Dual authentication flows: Supports normal authenticated flows and Builder authentication.
- Type-level state machine: Uses compile-time enforcement to prevent using authenticated endpoints before the authentication process is complete.
- Signer support: Integrates with
alloy::signers::Signer, including support for remote signers like AWS KMS. - Performance: Zero-cost abstractions with no dynamic dispatch in hot paths.
- Async-first: Built on
reqwestfor asynchronous operations.