Skip to main content

Module signing

Module signing 

Source
Expand description

Hyperliquid EIP-712 signing delegated to motosan-wallet-core.

Public API signatures are preserved for backward compatibility. Internally, a SingleAddressSigner bridges the hyper-exchange Signer trait to motosan-wallet-core’s [HlSigner] so the actual EIP-712 logic lives in one place.

Structs§

EIP712Field
Describes a single field in an EIP-712 struct type.

Functions§

compute_action_hash
Compute action hash for L1 signing.
compute_action_hash_with_expiry
Compute action hash with optional expiresAfter.
sign_l1_action
Sign an L1 action using EIP-712 typed data.
sign_user_signed_action
Sign a user-signed action (e.g., approveAgent).