df_hyperliquid_core/lib.rs
1//! Hyperliquid SDK for Rust.
2//!
3//! - [`client`]: the [`Client`], `/info` and `/exchange` over HTTP, rate limits, HyperEVM, and
4//! the native and browser wires and websockets.
5//! - [`markets`]: what is listed and what it trades at.
6//! - [`account`]: what an address holds and who may sign for it.
7//! - [`trade`]: orders on every market.
8//! - [`transfer`]: moving money.
9//! - [`earn`]: staking, vaults and lending.
10//! - [`deploy`]: spot tokens, HIP-3 dexes and HIP-4 outcome markets.
11//! - [`live`]: websocket subscriptions and kept live state.
12//! - [`utils`]: decimals, rounding, asset ids, units and signing primitives.
13//!
14//! Money is exact decimals, never floats. Features: `sign` and `native` (default), `web`.
15
16pub mod account;
17pub mod client;
18pub mod deploy;
19pub mod earn;
20pub mod live;
21pub mod markets;
22pub mod trade;
23pub mod transfer;
24pub mod utils;
25
26#[cfg(test)]
27pub(crate) mod test_support;
28
29pub use client::{Client, Network, SendError};
30pub use utils::{Address, Dec};