maxt
maxt is a typed asynchronous API for market data, accounts, orders, and
streams across Binance, Upbit, Bithumb, and Hyperliquid. Rust is the core;
Python, Dart/Flutter, and TypeScript expose the same generated contract.
What is supported
| Exchange | General adapter boundary | Start here |
|---|---|---|
| Binance | Spot and USD-M perpetual futures | BinanceAdapter::spot(); this README's default example |
| Upbit | Spot in Korea, Singapore, Indonesia, and Thailand | UpbitAdapter::new() or with_region(...) |
| Bithumb | Spot; provider-specific KRW account and order APIs | BithumbAdapter::new() |
| Hyperliquid | Spot and perpetual futures on mainnet or testnet | HyperliquidAdapter::new() or testnet() |
Every built-in adapter supports a documented subset of the common Client
API. Public market data and market streams need no account configuration.
Account reads, orders, and transfers use provider-specific configuration and
may be limited by region, venue, or account permissions. Hyperliquid also has
address-scoped Info reads that need a public address but no local signature;
its signed actions need a signer. See provider support for
the exact constructors and boundaries; see the generated
endpoint reference for per-operation
coverage and validation state.
Binance testnet constructors, Hyperliquid HIP-3 DEXes, and outcome assets are not exposed. The endpoint reference distinguishes mapped operations from the other exchange products that remain planned or unmapped.
Why maxt
maxt is designed for applications that work with multiple exchanges. Switching
exchanges or languages should not mean learning another SDK.
- Use common operations with the same API shape, models, errors, and stream contract across exchanges and supported languages.
- Access common operations through
Clientand exchange-specific capabilities through typed adapters. - Generate language-native public APIs and contracts from one schema, then verify them against the compiled native API.
Quick start: Binance Spot
The default example is a credential-free Binance Spot BTC/USDT read. It
combines a common operation (ticker) and a Binance-only operation
(spot_average_price) without placing an order.
Install for Rust
Rust 1.85 or newer is required.
[]
= "0.2.1"
= { = "1", = ["macros", "rt-multi-thread"] }
use BinanceAdapter;
use ;
async
ticker() is common. spot_average_price() is Binance Spot-specific and is
available through Client::adapter().
Run the public REST example:
Pass another supported public exchange and pair to explore it without changing
code: cargo run --example public_rest -- upbit BTC KRW.
Language packages
| Language | Package guide | Runnable Binance example |
|---|---|---|
| Rust | This README and Getting started | examples/public_rest.rs |
| Python | Python package guide | bindings/python/examples/binance_public_ticker.py |
| Dart / Flutter | Dart package guide | bindings/dart/example/main.dart |
| TypeScript | TypeScript package guide | bindings/typescript/examples/binance-public-ticker.mjs |
The Dart package supports Android, iOS, Linux, macOS, Windows, and Web. The TypeScript package supports Node.js and browser WebAssembly.
Documentation
- Getting started
- Common API
- Provider support
- Architecture decision: provider-specific stream boundaries
- Endpoint coverage reference
- Rust API:
cargo doc --open - Python
- Dart / Flutter
- TypeScript
- Browser relay
- Examples
- Changelog
- Contributing
License
MIT. See LICENSE.