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
15
//! EIP-712 for the flat structs Hyperliquid signs, and HyperEVM contracts that
//! take the same kind (one level, `uint256[]` the only array): hashing, and the
//! typed data a browser wallet's `eth_signTypedData_v4` is handed.

pub mod domain;
pub mod field;
pub mod typed_struct;
pub mod wallet;
pub mod word;

pub use domain::{DOMAIN_TYPE, Domain};
pub use field::Field;
pub use typed_struct::{TypedStruct, digest};
pub use wallet::{BadTypedData, digest_of_wallet_json};
pub use word::{decimal_word, uint256, word_decimal};