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
//! API wallets (agents): `approveAgent`, an account's named agents (`extraAgents`) and what the
//! venue knows an address as (`userRole`). An agent signs L1 actions for its master and never
//! moves funds; there is no revoke, so an address that was an agent is never approved again.

pub mod approve;
pub mod fresh;
pub mod listed;
pub mod name;
pub mod user_role;

pub use approve::{ApproveAgent, BadExpiry, MAX_AGENT_VALIDITY_MS};
pub use fresh::{Reused, fresh_agent};
pub use listed::{Agent, extra_agents, extra_agents_request};
pub use name::{AgentName, BadAgentName, LONGEST_AGENT_NAME, split_valid_until};
pub use user_role::{Role, role, role_request};