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.
Documentation map
Start with the Binance first-read tutorial. Then choose the document that matches your goal:
| Need | Read |
|---|---|
| Run a checked-in program by language or task | Example guide |
| Read prices, candles, order books, or streams | Market-data and streams guide |
| Read an account or prepare a financial request safely | Account-safety guide |
| Ship Dart Web or TypeScript Browser WebAssembly | Browser relay guide |
| Decide between portable and exchange-specific calls | Common and provider concept |
| Find an exact public method and language name | Generated binding contract |
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.3.3"
= { = "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 first public Binance read:
Use cargo run --example public_rest -- upbit BTC KRW to explore another
supported public exchange without changing code.
Language packages
| Language | Package guide | Runnable examples |
|---|---|---|
| Rust | This README and Getting started | Rust examples |
| Python | Python package guide | Python examples |
| Dart / Flutter | Dart package guide | Dart examples |
| TypeScript | TypeScript package guide | TypeScript examples |
The Dart package supports Android, iOS, Linux, macOS, Windows, and Web. The TypeScript package supports Node.js and browser WebAssembly.
Documentation
- Getting started
- Binance first-read tutorial
- Task-oriented examples
- Market data and streams
- Account safety
- Browser relay guide
- Common and provider concepts
- Common API
- Provider support
- Endpoint coverage reference
- Rust API:
cargo doc --open - Python
- Dart / Flutter
- TypeScript
- Browser relay
- Examples
- Changelog
- Contributing
License
MIT. See LICENSE.