Community Examples by QuickNode — Not affiliated with Hyperliquid Foundation.
Runnable examples using the Hyperliquid SDK for trading on Hyperliquid.
| Language | Directory | Status |
|---|---|---|
| Python | cd python && python market_order.py |
Available |
| TypeScript | cd typescript && npx ts-node market_order.ts |
Coming soon |
| Rust | cd rust && cargo run --example market_order |
Coming soon |
# Install the SDK
pip install hyperliquid-sdk
# Set credentials
export PRIVATE_KEY="0x..."
export ENDPOINT="https://your-endpoint.hype-mainnet.quiknode.pro/YOUR_TOKEN"
# Run any example
cd python
python market_order.pynpm install hyperliquid-sdk
cd typescript
npx ts-node market_order.tscd rust
cargo run --example market_orderEach language directory contains examples for:
- Trading — Market orders, limit orders, order management
- Info API — Market data, user positions, order book
- HyperCore API — Block data, recent trades
- HyperEVM — Ethereum JSON-RPC calls
- Streaming — WebSocket and gRPC real-time data (L2/L4 order book)
See the README in each language directory for the full list.
- SDK Repository: https://github.com/quiknode-labs/hyperliquid-sdk
- SDK on PyPI: https://pypi.org/project/hyperliquid-sdk/
- Documentation: https://hyperliquidapi.com
- QuickNode Docs: https://www.quicknode.com/docs/hyperliquid
These are unofficial community examples developed and maintained by QuickNode. They are not affiliated with, endorsed by, or associated with Hyperliquid Foundation or Hyperliquid Labs.
Use at your own risk. Always review transactions before signing.
MIT License