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

Network
Chain ID
RPC URL
Switchboard Contract

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 install

2. Setup Environment

# Mainnet
export RPC_URL=https://rpc.hyperliquid.xyz/evm
export PRIVATE_KEY=0xyour_private_key_here
export NETWORK=hyperliquid-mainnet

# Testnet
export RPC_URL=https://rpc.hyperliquid-testnet.xyz/evm
export PRIVATE_KEY=0xyour_private_key_here
export NETWORK=hyperliquid-testnet

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