The Go SDK for
Hyperliquid
Market data, trading, transfers and real-time streams
with typed, lossless and verified signing.
go get github.com/koative/hyperliquid-goComplete API
Every Info endpoint, every Exchange action and every WebSocket channel: trading, transfers, vaults, staking, multi-sig and HIP-1/3/4 deployer actions.
Verified signing
Signatures are tested byte for byte against the official Python SDK, and every action was accepted by the live exchange.
Lossless numbers
Prices and sizes are decimal strings, exactly as Hyperliquid sends them. No float64 ever touches money on the wire.
Resilient streaming
Typed subscriptions with keep-alive, automatic reconnect and re-subscribe, plus Info and Exchange requests over the socket.
Idiomatic Go
context.Context everywhere, concurrency-safe clients, typed errors and a pluggable Signer for KMS and HSM keys.
Small footprint
No go-ethereum. Three dependencies: decred secp256k1, x/crypto and coder/websocket.