@hyper-d3x/hyperliquid-ts-sdk v2.20.0
Hyperliquid SDK for Typescript
Hyperliquid SDK is a Typescript library for building dApps on top of Hyperliquid ecosystem.
Installation
You can install the SDK using npm:
npm i -S @hyper-d3x/hyperliquid-ts-sdkor yarn:
yarn add @hyper-d3x/hyperliquid-ts-sdkUsage
import { Hyperliquid } from '@hyper-d3x/hyperliquid-ts-sdk';
const wallet = new ethers.Wallet(<YOUR_PRIVATE_KEY>); // or any other BaseWallet compatible
const sdk = new Hyperliquid(wallet);
await sdk.info.getAllMids();Examples
Run the CLI script for NodeJS applications, using the CLI playground (from root):
npm run playground-clior run the ReactJS application with the integrated SDK, using command (from root):
npm run playground-reactjsContributing
The main purpose of this repository is to continue evolving Hyperliquid ecosystem, making it faster and easier to use. Contribution guides to be released soon.
License
Hyperliquid SDK is MIT licensed.
6 months ago
7 months ago
7 months ago
8 months ago
8 months ago
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago