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.
PRIVATE_KEY=0xyour_private_key_here
RPC_URL=https://rpc.hyperliquid.xyz/evm
NETWORK=hyperliquid-mainnet
# Optional: if omitted, the example deploys a new consumer contract for you
CONTRACT_ADDRESS=0xyour_contract_address
# Price Feeds (reads from .env)
bun run example
# Direct randomness example
cd ../randomness
bun install
PRIVATE_KEY=0x... NETWORK=hyperliquid-mainnet bun run example