Prerequisites
Before you begin, make sure you have:- A Privy account with an app created
- Node.js 16+ installed
- Basic familiarity with TypeScript/JavaScript
Installation
Install the required dependencies:Quickstart
Here’s a minimal example to get you started:Placing Your First Order
Once you have your client set up, you can place a limit order:This example places a buy order for 0.001 BTC at $95,000. The order will remain active until it’s
filled or you cancel it. Learn more about different order types and trading patterns in the
Trading Patterns guide.
Funding
Deposit to HyperCore
To start trading on Hyperliquid, you need to deposit funds to HyperCore. A minimum of $5 USDC on Arbitrum is required to deposit. Funds will be credited to the address that makes the deposit.Learn more about the Hyperliquid bridge in the official
documentation.
Withdraw from HyperCore
To withdraw funds from Hyperliquid back to your wallet, use thewithdraw3 method. Funds will be credited to the destination address on Arbitrum as USDC.
Faucet (Testnet Only)
To use the testnet faucet, your master account must first be activated on mainnet. Send at least $5 USDC on Arbitrum to the bridge address from the master account to activate it. Once activated, you can claim testnet funds by making an API request:The faucet provides $1000 USDC for testnet trading. You can only claim from the faucet once
per address.
View Wallet Activity
You can track all deposits, withdrawals, and trading activity by viewing your wallet on the Hyperliquid explorer:Next Steps
Explore these guides to learn more about building with Hyperliquid and Privy:Agent wallets
Learn how to set up API wallets for secure, programmatic trading operations.
Executing trades
Discover common trading patterns and best practices for placing orders, managing positions, and
more.
Client-side SDKs
Build React apps with external wallets like MetaMask and agent wallets.
Policies
Implement secure trading policies and execute offline actions for advanced risk management.
HyperEVM
Develop smart contracts on Hyperliquid’s EVM-compatible blockchain.
Resources
Hyperliquid Docs
Official documentation explaining Hyperliquid’s architecture, trading features, and API
endpoints.
HyperEVM Docs
Overview of Hyperliquid’s EVM chain, including architecture and features.
EVM Transactions with Privy
Learn how to send EVM transactions using Privy wallets.
Why Use Privy with Hyperliquid?
- Security: Private keys never leave Privy’s secure infrastructure
- Simplicity: No need to manage key storage or rotation
- Compatibility: Full compatibility with Hyperliquid’s SDK and API
- Flexibility: Easily create and manage multiple wallets for different strategies
You’re ready to start building secure trading applications on Hyperliquid!

