Skip to content

Docs How it works

Signing in and signing trades ​

You sign; the operator sends. No trade pays gas from your wallet, and no trade happens without your signature.

Live on the testnet

Signing in ​

Signing in is a message signed by your wallet. It proves the wallet is yours to the server, sends no transaction and costs nothing.

Signing a trade ​

Each action that moves your money carries your signature over exactly what it does:

ActionWhat you sign
Open a fuseThe quote: market, side, premium, leverage, duration, the parameter version, an expiry time and a single-use number
Close a fuse earlyThe position and a deadline
Open or close a perpThe order, or the position and a deadline
WithdrawThe amount, a single-use number and a deadline
Cancel a queued withdrawalA single-use number and a deadline

The operator puts the signed message in a transaction and pays the gas. The contract checks the signature before it does anything.

What the signature protects ​

  • The operator cannot invent a trade. A position opens only with a signature over that exact quote.
  • It cannot change one. A different premium, leverage or duration is a different message, and the signature no longer matches.
  • It cannot replay one. Each message has a single-use number and an expiry.
  • It is tied to one chain and one contract. A signature made for the testnet is not valid anywhere else.

What you still trust ​

The price a trade uses and the length of a fuse come from the server, because the chain cannot see Hyperliquid. The contract checks the price against the oracle and refuses an old one, but it cannot check it against the market itself. Risk lists everything that is trusted.