For the complete documentation index, see llms.txt. This page is also available as Markdown.

Hyperliquid

Switchboard supports HyperEVM with the same encoded-update flow used on other EVM chains. The current examples repo does not ship a dedicated Hyperliquid runner script, but you should reuse the evm/price-feeds contract and deployment flow with Hyperliquid-specific chain settings.

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

Clone the examples repo and build the shared price-consumer project:

git clone https://github.com/switchboard-xyz/sb-on-demand-examples.git
cd sb-on-demand-examples/evm/price-feeds
bun install
forge build

Deploy the consumer contract to HyperEVM with the packaged Foundry script:

SWITCHBOARD_ADDRESS=0xcDb299Cb902D1E39F83F54c7725f54eDDa7F3347 \
forge script deploy/DeploySwitchboardPriceConsumer.s.sol:DeploySwitchboardPriceConsumer \
  --rpc-url https://rpc.hyperliquid.xyz/evm \
  --private-key $PRIVATE_KEY \
  --broadcast \
  -vvvv

Integration Example

Notes

  • The packaged evm/price-feeds/scripts/run.ts currently includes Monad presets, not Hyperliquid presets.

  • For Hyperliquid, reuse the same contract and encoded-update flow shown above with chain ID 999.

  • Hyperliquid network docs: Hyperliquid Docs and HyperEVM.

Last updated