Repository navigation
v0.1.0
Initial alpha release of polymarket-rs, a modern, type-safe Rust client library for the Polymarket CLOB and Data API.
Features
- Full Authentication Support - L1 (EIP-712) and L2 (HMAC) authentication for trading operations
- WebSocket Streaming - Real-time market data and user events with automatic reconnection
- Multiple Client Types - Modular clients for different operations:
- ClobClient - Public market data queries
- AuthenticatedClient - API key management and account operations
- TradingClient - Order creation, cancellation, and trade queries
- DataClient - Position and portfolio data
- Builder Pattern - Fluent APIs for configuration and order creation
- Async/Await - Built on tokio for high-performance operations
- Decimal Precision - Accurate financial calculations with rust_decimal
Installation
[dependencies]
polymarket-rs = { git = "https://github.com/pawsengineer/polymarket-rs.git" }