hyper-exchange
Hyperliquid L1 exchange client for Rust -- EIP-712 action signing, REST API, and type-safe order construction.
Install
[]
= "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
Signertrait for custom key management
Quick Start
use ExchangeClient;
let client = new; // mainnet
let meta = client.post_info.await?;
Key Types
ExchangeClient-- REST client for info and exchange endpointsSigner-- trait for signing action hashessign_l1_action-- sign an L1 action with EIP-712OrderWire/OrderTypeWire-- typed order construction
License
MIT