Skip to main content
The 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

Example

Market Making Bot

A market making bot for Kuru DEX implementing a skew-based quoting strategy with event-driven order tracking.