df-hyperliquid-core 0.0.9-beta

Hyperliquid SDK for Rust: markets, account, trading, transfers, earn and deploy, with exact decimals and signing. Native and wasm.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Exact 256-bit integers, the EVM's word: balances and fees in wei, gas
//! prices, ABI integers, and the native coin's 18 decimals. JSON-RPC writes
//! them as quantities, `0x` and hex digits without leading zeros. Nothing here
//! passes through a float.

pub mod amount;
pub mod b256;
pub mod text;
pub mod uint;

pub use amount::{BadAmount, NATIVE_DECIMALS};
pub use b256::B256;
pub use text::BadQuantity;
pub use uint::U256;