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
//! Moving money: sends and moves between balances on the venue, USDC in and out through the
//! Arbitrum bridge, spot tokens between HyperCore and HyperEVM, and the ERC-20 calls they need.

pub mod bridge;
pub mod erc20;
pub mod evm;
pub mod send;

pub use crate::utils::sign::{L1Action, UserAction};
pub use evm::{HYPE_SYSTEM, Linked, is_system_address, system_address, system_token};
pub use send::{
    AgentSendAsset, Amount, BadAmount, Balance, Change, Ctx, Effect, EvmContract, HYPE_EVM_DECIMALS, MAX_DECIMALS,
    PERP_DEX, Plan, PreTransferCheck, Refused, SPOT_DEX, SendAsset, SpotOut, SpotSend, SpotToken, UsdClassTransfer,
    UsdSend, Withdraw3, clean_amount, key, pre_transfer_check, pre_transfer_check_request,
};