Hyperliquid
Hyperliquid is a high-performance Layer 1 blockchain with native perpetual futures and spot trading. Switchboard On-Demand provides native oracle support for HyperEVM with the same security guarantees and ease of use as other EVM chains.
Network Information
Mainnet
999
https://rpc.hyperliquid.xyz/evm
0xcDb299Cb902D1E39F83F54c7725f54eDDa7F3347
Testnet
998
https://rpc.hyperliquid-testnet.xyz/evm
TBD
Quick Start
1. Clone the Examples Repository
git clone https://github.com/switchboard-xyz/sb-on-demand-examples.git
cd sb-on-demand-examples/evm
bun install2. Configure Your Wallet
Security: Never use
export PRIVATE_KEY=...or pass private keys as command-line arguments—they appear in shell history and process listings.
Import your private key into Foundry's encrypted keystore:
cast wallet import mykey --interactive
# Enter your private key when prompted (hidden from terminal)
# Set a password to encrypt the keystoreCreate a .env file for scripts (add to .gitignore):
3. Deploy Contract
4. Run Examples
Integration Example
Resources
Getting Started
Testnet:
Use the Hyperliquid testnet to test your integration
Request testnet tokens through the official faucet
Mainnet:
Bridge ETH to Hyperliquid using the official bridge
Start with small amounts to test your integration
Last updated