kuru-sdk-py SDK provides everything you need to build and run market maker bots on Kuru. It handles execution, order lifecycle tracking, real-time market data, and margin management so you can focus on your quoting strategy.
Features
- Batch Cancel/Replace - Atomically cancel and place orders in a single transaction via the MM Entrypoint
- Order Lifecycle Tracking - Track orders from creation through fills and cancellations via on-chain events
- Real-time Orderbook Feed - WebSocket client for live best bid/ask with auto-reconnection
- Margin Account Integration - Deposit, withdraw, and query margin balances
- EIP-7702 Authorization - Automatic MM Entrypoint authorization for your EOA
- Gas Optimization - EIP-2930 access list support to reduce gas costs
Requirements
- Python >= 3.14
- Dependencies managed via uv (see
pyproject.toml)
Get Started
Quick Start
Installation, environment setup, and core SDK objects.
Market Making Guide
Build a market making bot step-by-step with the SDK.
Reference
Order types, configuration presets, and production guidance.
Example
Market Making Bot
A market making bot for Kuru DEX implementing a skew-based quoting strategy with event-driven order tracking.