Skip to content

Commit c3a8c01

Browse files
authored
Disclaimer (#2)
* Disclaimer * consistent casing
1 parent 63220d1 commit c3a8c01

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Hyperliquid API — Examples
22

33
Clone-and-run examples for the [Hyperliquid API](https://hyperliquidapi.com) builder API.
4-
Trade perps, spot, and HIP-3 markets on HyperLiquid through a single JSON-RPC endpoint.
5-
Your private key never leaves your machine — you sign locally, the service forwards to HyperLiquid.
4+
Trade perps, spot, and HIP-3 markets on Hyperliquid through a single JSON-RPC endpoint.
5+
Your private key never leaves your machine — you sign locally, the service forwards to Hyperliquid.
66

77
## Prerequisites
88

@@ -92,7 +92,7 @@ Every example follows the same pattern:
9292

9393
1. **Build** — call `hl_build*` to get a hash (the service computes the EIP-712 hash, injects builder fee)
9494
2. **Sign** — sign the 32-byte hash locally with your private key
95-
3. **Send** — call `hl_send*` with the signature (the service forwards to HyperLiquid)
95+
3. **Send** — call `hl_send*` with the signature (the service forwards to Hyperliquid)
9696

9797
All coin references use names (`"BTC"`, `"ETH"`, `"xyz:SILVER"`) — the service resolves them to numeric indices.
9898

@@ -101,3 +101,7 @@ All coin references use names (`"BTC"`, `"ETH"`, `"xyz:SILVER"`) — the service
101101
Full API reference, error codes, and fees: **https://hyperliquidapi.com**
102102

103103
Wallet-based approval (no code needed): **https://hyperliquidapi.com/approve**
104+
105+
## Disclaimer
106+
107+
Hyperliquid API & hyperliquidapi.com are not affiliated with Hyperliquid Corp or Hyper Foundation.

python/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ def sign_hash(hash_hex):
4949

5050

5151
def get_mid(coin):
52-
"""Get the current mid price for a coin from HyperLiquid."""
52+
"""Get the current mid price for a coin from Hyperliquid."""
5353
r = requests.post("https://api.hyperliquid.xyz/info", json={"type": "allMids"})
5454
return float(r.json().get(coin, 0))

0 commit comments

Comments
 (0)