Skip to main content

Module signing

Module signing 

Source
Expand description

Signing utilities for Hyperliquid transactions.

Implements EIP-712 signing and MessagePack hashing for order authentication.

Structs§

Agent

Functions§

agent_signing_hash
Compute the EIP-712 signing hash for an Agent struct wrapping a connection ID.
recover_signer
Recover signer address from a signature.
rmp_hash
Compute the MessagePack hash of a value for signing.
sign_action
Sign an action for the Hyperliquid exchange.
sign_hash
Sign a hash with a private key.