Skip to content

Commit 587daed

Browse files
committed
nit
1 parent b2a4b80 commit 587daed

File tree

1 file changed

+39
-23
lines changed

1 file changed

+39
-23
lines changed

src/content/ccip/tools-resources/network-specific/hyperevm-testnet-rpc.mdx

Lines changed: 39 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
---
22
title: "HyperEVM Testnet RPC Guide"
3-
section: "ccip"
3+
section: ccip
4+
date: Last Modified
45
metadata:
56
description: "HyperEVM Testnet RPC for Chainlink CCIP—endpoint, supported JSON-RPC methods, limits, and quick curl/web3 examples."
67
excerpt: "ccip hyperliquid hyperevm hypercore bridge cross-chain token testnet rpc json"
7-
datePublished: "2024-08-08T07:51:46Z"
8+
datePublished: "2025-10-08T00:00:00Z"
9+
lastModified: "2025-10-08T00:00:00Z"
10+
difficulty: "beginner"
11+
estimatedTime: "15 minutes"
812
---
913

10-
import { CopyText } from "@components"
11-
import { Aside } from "@components"
14+
import { Aside, CopyText } from "@components"
1215

1316
<Aside type="note" title="Disclaimer">
1417
This RPC is provided “as is” without warranties of any kind. Use is at your own risk, Chainlink Labs and its
@@ -18,7 +21,7 @@ import { Aside } from "@components"
1821

1922
## Overview
2023

21-
To enhance the HyperEVM developer experience we are providing free public access to our professionally hosted Testnet RPC endpoint. Developers can use this to build Hyperliquid applications and as a testnet RPC endpoint in the browser wallet. For mainnet deployments, see available mainnet RPC urls on the [Hyperliquid docs](https://hyperliquid.gitbook.io/hyperliquid-docs/builder-tools/hyperevm-tools).
24+
To enhance the HyperEVM developer experience, we provide free public access to our professionally hosted Testnet RPC endpoint. Developers can use this endpoint to build Hyperliquid applications and configure it as a testnet RPC in browser wallets. For mainnet deployments, see available mainnet RPC URLs on the [Hyperliquid docs](https://hyperliquid.gitbook.io/hyperliquid-docs/builder-tools/hyperevm-tools).
2225

2326
## RPC Endpoint Details
2427

@@ -34,6 +37,8 @@ You can use this endpoint in your dApps, scripts, or backend services with any s
3437

3538
### Ethers.js (JavaScript/TypeScript)
3639

40+
[Ethers.js](https://docs.ethers.org/v6/) is a library for interacting with Ethereum and EVM-compatible chains.
41+
3742
```javascript
3843
import { ethers } from "ethers"
3944

@@ -48,16 +53,21 @@ async function getBlock() {
4853
getBlock()
4954
```
5055

51-
### Web3.js (JavaScript/TypeScript)
56+
### Viem (JavaScript/TypeScript)
57+
58+
[Viem](https://viem.sh/) is a TypeScript library for interacting with Ethereum and EVM-compatible chains. It provides modular, type-safe APIs as an alternative to ethers.js.
5259

5360
```javascript
54-
import Web3 from "web3"
61+
import { createPublicClient, http } from "viem"
5562

5663
const rpcUrl = "https://rpcs.chain.link/hyperevm/testnet"
57-
const web3 = new Web3(new Web3.providers.HttpProvider(rpcUrl))
64+
65+
const client = createPublicClient({
66+
transport: http(rpcUrl),
67+
})
5868

5969
async function getBlock() {
60-
const blockNumber = await web3.eth.getBlockNumber()
70+
const blockNumber = await client.getBlockNumber()
6171
console.log("Current Block Number:", blockNumber)
6272
}
6373

@@ -66,10 +76,12 @@ getBlock()
6676

6777
### Web3.py (Python)
6878

79+
[Web3.py](https://web3py.readthedocs.io/) is a Python library for interacting with EVM-compatible chains.
80+
6981
```python
7082
from web3 import Web3
7183

72-
rpc_url = "https://rpcs.chain.link/hyperevm/testnet"
84+
rpc_url = "https://rpcs.chain.link/hyperevm/testnet"
7385
w3 = Web3(Web3.HTTPProvider(rpc_url))
7486

7587
if w3.is_connected():
@@ -85,7 +97,7 @@ else:
8597
```shell
8698
curl -X POST -H "Content-Type: application/json" \
8799
--data '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' \
88-
https://rpcs.chain.link/hyperevm/testnet
100+
https://rpcs.chain.link/hyperevm/testnet
89101
```
90102

91103
**Expected Response**:
@@ -96,33 +108,37 @@ curl -X POST -H "Content-Type: application/json" \
96108

97109
## For Users: Adding to Your Wallet
98110

99-
You can easily add this network to browser extension wallets like MetaMask or Rabby.
111+
You can easily add this network to browser extension wallets like [MetaMask](https://metamask.io/) or [Rabby](https://rabby.io/).
100112

101113
### Using MetaMask
102114

115+
[MetaMask](https://metamask.io/) is a popular browser extension wallet for Ethereum and EVM-compatible chains.
116+
103117
1. Open your MetaMask wallet.
104-
2. Click the network selection dropdown at the top left.
105-
3. Click "Add network".
106-
4. At the bottom, select "Add a network manually".
107-
5. Fill in the form with the network details:
118+
1. Click the network selection dropdown at the top left.
119+
1. Click "Add network".
120+
1. At the bottom, select "Add a network manually".
121+
1. Fill in the form with the network details:
108122
- Network Name: HyperEVM Testnet
109123
- RPC URL: https://rpcs.chain.link/hyperevm/testnet
110124
- Chain ID: 998
111125
- Currency Symbol: HYPE
112126
- Block Explorer URL (Optional): https://testnet.purrsec.com/
113-
6. Click "Save".
127+
1. Click "Save".
114128

115129
### Using Rabby
116130

117-
1. Click on the “More” button, find “Add Custom Network” .
118-
2. Press "Add Custom Network", or the edit button if editing an existing connection
119-
3. Fill in the network details:
131+
[Rabby](https://rabby.io/) is a browser extension wallet designed for multi-chain DeFi users with enhanced security features.
132+
133+
1. Click on the "More" button, find "Add Custom Network".
134+
1. Press "Add Custom Network", or the edit button if editing an existing connection.
135+
1. Fill in the network details:
120136
- Network Name: HyperEVM Testnet
121137
- RPC URL: https://rpcs.chain.link/hyperevm/testnet
122138
- Chain ID: 998
123139
- Currency Symbol: HYPE
124140
- Block Explorer URL (Optional): https://testnet.purrsec.com/
125-
4. Click "Confirm."
141+
1. Click "Confirm."
126142

127143
## Supported JSON-RPC Methods
128144

@@ -153,7 +169,7 @@ You can easily add this network to browser extension wallets like MetaMask or Ra
153169
| eth_maxPriorityFeePerGas | Returns the current max priority fee per gas (tip). Always returns zero currently. |
154170
| eth_syncing | Reports node sync status. Always returns false. |
155171

156-
The following HyperEVM specific endpoints are available:
172+
The following HyperEVM-specific endpoints are available:
157173

158174
| Method | Description |
159175
| ----------------------------- | ---------------------------------------------------------------------------------------------------------- |
@@ -164,4 +180,4 @@ The following HyperEVM specific endpoints are available:
164180

165181
## Rate Limits
166182

167-
1,000 requests per IP 5 minute moving window.
183+
The RPC endpoint allows 1,000 requests per IP address within a 5-minute moving window.

0 commit comments

Comments
 (0)