# hyper-exchange
Hyperliquid L1 exchange client for Rust -- EIP-712 action signing, REST API, and type-safe order construction.
## Install
```toml
[dependencies]
hyper-exchange = "0.1.0"
```
## Features
- EIP-712 L1 action signing (orders, cancels, agent approval)
- REST client for Hyperliquid info and exchange endpoints
- Testnet and mainnet support
- Pluggable `Signer` trait for custom key management
## Quick Start
```rust
use hyper_exchange::ExchangeClient;
let client = ExchangeClient::new(true); // mainnet
let meta = client.post_info(serde_json::json!({"type": "meta"})).await?;
```
## Key Types
- `ExchangeClient` -- REST client for info and exchange endpoints
- `Signer` -- trait for signing action hashes
- `sign_l1_action` -- sign an L1 action with EIP-712
- `OrderWire` / `OrderTypeWire` -- typed order construction
## License
MIT