pit-os
v0.9.11
Published
Read-only PIT helpers. Cannot authorize, sign, place orders, or export session keys.
Readme
pit-os
Read-only JavaScript helpers for PIT.
This package cannot authorize a preview, sign a Hyperliquid order, export a session key, arm a Sleep Mission, or read a Direct auth file. Execution stays on PIT Desktop.
import {
canSign,
explorer,
publicHealth,
publicWatch,
refuseAuthorize,
} from "pit-os";
canSign; // false
explorer("mainnet");
await publicHealth();
await publicWatch("mainnet");
// refuseAuthorize(); // throws authorize_deniedPublic endpoints used:
GET https://pit-health.onrender.com/healthGET https://pit-health.onrender.com/watchGET https://pit-health.onrender.com/release
Optional loopback (same computer as PIT Desktop):
GET http://127.0.0.1:17373/healthGET http://127.0.0.1:17373/local/status
There is no authorize method.
Install:
npm install pit-os