Skip to content

Commit fa77692

Browse files
authored
Data Feeds: MegaETH integration (#3370)
1 parent d3db71d commit fa77692

File tree

8 files changed

+603
-396
lines changed

8 files changed

+603
-396
lines changed

reports/llms-report.json

Lines changed: 127 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,127 @@
1+
{
2+
"startedAt": "2026-01-16T22:27:39.379Z",
3+
"siteBase": "https://docs.chain.link",
4+
"sections": [
5+
{
6+
"section": "cre-go",
7+
"pagesProcessed": 84,
8+
"outputPath": "src/content/cre/llms-full-go.txt",
9+
"bytes": 690565,
10+
"prevBytes": 690565,
11+
"deltaBytes": 0
12+
},
13+
{
14+
"section": "cre-ts",
15+
"pagesProcessed": 79,
16+
"outputPath": "src/content/cre/llms-full-ts.txt",
17+
"bytes": 651635,
18+
"prevBytes": 651635,
19+
"deltaBytes": 0
20+
},
21+
{
22+
"section": "vrf",
23+
"pagesProcessed": 35,
24+
"outputPath": "src/content/vrf/llms-full.txt",
25+
"bytes": 396719,
26+
"prevBytes": 396719,
27+
"deltaBytes": 0
28+
},
29+
{
30+
"section": "ccip",
31+
"pagesProcessed": 260,
32+
"outputPath": "src/content/ccip/llms-full.txt",
33+
"bytes": 3017262,
34+
"prevBytes": 3017262,
35+
"deltaBytes": 0
36+
},
37+
{
38+
"section": "data-feeds",
39+
"pagesProcessed": 37,
40+
"outputPath": "src/content/data-feeds/llms-full.txt",
41+
"bytes": 329359,
42+
"prevBytes": 329359,
43+
"deltaBytes": 0
44+
},
45+
{
46+
"section": "data-streams",
47+
"pagesProcessed": 56,
48+
"outputPath": "src/content/data-streams/llms-full.txt",
49+
"bytes": 516904,
50+
"prevBytes": 516904,
51+
"deltaBytes": 0
52+
},
53+
{
54+
"section": "dta-technical-standard",
55+
"pagesProcessed": 7,
56+
"outputPath": "src/content/dta-technical-standard/llms-full.txt",
57+
"bytes": 32397,
58+
"prevBytes": 32397,
59+
"deltaBytes": 0
60+
},
61+
{
62+
"section": "datalink",
63+
"pagesProcessed": 20,
64+
"outputPath": "src/content/datalink/llms-full.txt",
65+
"bytes": 152656,
66+
"prevBytes": 152656,
67+
"deltaBytes": 0
68+
},
69+
{
70+
"section": "chainlink-functions",
71+
"pagesProcessed": 27,
72+
"outputPath": "src/content/chainlink-functions/llms-full.txt",
73+
"bytes": 328258,
74+
"prevBytes": 328258,
75+
"deltaBytes": 0
76+
},
77+
{
78+
"section": "chainlink-automation",
79+
"pagesProcessed": 25,
80+
"outputPath": "src/content/chainlink-automation/llms-full.txt",
81+
"bytes": 214589,
82+
"prevBytes": 214589,
83+
"deltaBytes": 0
84+
},
85+
{
86+
"section": "resources",
87+
"pagesProcessed": 12,
88+
"outputPath": "src/content/resources/llms-full.txt",
89+
"bytes": 342270,
90+
"prevBytes": 342270,
91+
"deltaBytes": 0
92+
},
93+
{
94+
"section": "architecture-overview",
95+
"pagesProcessed": 4,
96+
"outputPath": "src/content/architecture-overview/llms-full.txt",
97+
"bytes": 13086,
98+
"prevBytes": 13086,
99+
"deltaBytes": 0
100+
},
101+
{
102+
"section": "getting-started",
103+
"pagesProcessed": 1,
104+
"outputPath": "src/content/getting-started/llms-full.txt",
105+
"bytes": 11261,
106+
"prevBytes": 11261,
107+
"deltaBytes": 0
108+
},
109+
{
110+
"section": "chainlink-nodes",
111+
"pagesProcessed": 37,
112+
"outputPath": "src/content/chainlink-nodes/llms-full.txt",
113+
"bytes": 673481,
114+
"prevBytes": 673481,
115+
"deltaBytes": 0
116+
},
117+
{
118+
"section": "chainlink-local",
119+
"pagesProcessed": 55,
120+
"outputPath": "src/content/chainlink-local/llms-full.txt",
121+
"bytes": 304674,
122+
"prevBytes": 304686,
123+
"deltaBytes": -12
124+
}
125+
],
126+
"finishedAt": "2026-01-16T22:27:43.202Z"
127+
}

src/components/QuickLinks/data/productChainLinks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export const productChainLinks: ProductChainLinks = {
137137
hyperevm: "/data-feeds/price-feeds/addresses?page=1&network=hyperevm#networks",
138138
linea: "/data-feeds/price-feeds/addresses?page=1&network=linea#networks",
139139
mantle: "/data-feeds/price-feeds/addresses?page=1&network=mantle#networks",
140+
megaeth: "/data-feeds/price-feeds/addresses?page=1&network=megaeth#networks",
140141
metis: "/data-feeds/price-feeds/addresses?page=1&network=metis#networks",
141142
monad: "/data-feeds/price-feeds/addresses?page=1&network=monad#networks",
142143
moonbeam: "/data-feeds/price-feeds/addresses?page=1&network=moonbeam#networks",

src/content/ccip/llms-full.txt

Lines changed: 389 additions & 394 deletions
Large diffs are not rendered by default.

src/content/chainlink-local/llms-full.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8536,8 +8536,8 @@ does not persist the files that you open from an external source. To save files,
85368536
import {IRouterClient} from "@chainlink/contracts-ccip/contracts/interfaces/IRouterClient.sol";
85378537

85388538
import {Client} from "@chainlink/contracts-ccip/contracts/libraries/Client.sol";
8539-
import {OwnerIsCreator} from "@chainlink/contracts@1.4.0/src/v0.8/shared/access/OwnerIsCreator.sol";
8540-
import {LinkTokenInterface} from "@chainlink/contracts@1.4.0/src/v0.8/shared/interfaces/LinkTokenInterface.sol";
8539+
import {OwnerIsCreator} from "@chainlink/contracts/src/v0.8/shared/access/OwnerIsCreator.sol";
8540+
import {LinkTokenInterface} from "@chainlink/contracts/src/v0.8/shared/interfaces/LinkTokenInterface.sol";
85418541

85428542
/**
85438543
* THIS IS AN EXAMPLE CONTRACT THAT USES HARDCODED VALUES FOR CLARITY.

src/features/data/chains.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,24 @@ export const CHAINS: Chain[] = [
453453
},
454454
],
455455
},
456+
{
457+
page: "MegaETH",
458+
label: "MegaETH",
459+
title: "MegaETH Data Feeds",
460+
img: "/assets/chains/megaeth.svg",
461+
networkStatusUrl: "https://uptime.megaeth.com/",
462+
tags: ["default"],
463+
supportedFeatures: ["feeds"],
464+
networks: [
465+
{
466+
name: "MegaETH Mainnet (Private)",
467+
explorerUrl: "https://megaeth.blockscout.com/address/%s",
468+
networkType: "mainnet",
469+
rddUrl: "https://reference-data-directory.vercel.app/feeds-megaeth-mainnet.json",
470+
queryString: "megaeth-mainnet",
471+
},
472+
],
473+
},
456474
{
457475
page: "monad",
458476
title: "Monad Data Feeds",

src/features/feeds/components/FeedList.tsx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1425,6 +1425,24 @@ export const FeedList = ({
14251425
</ul>
14261426
</>
14271427
)}
1428+
{network.name === "MegaETH Mainnet (Private)" && (
1429+
<div className={tableStyles.infoCallout}>
1430+
<div className={tableStyles.infoCalloutIcon}>
1431+
<img src="/images/info-icon.svg" alt="Note" />
1432+
</div>
1433+
<div className={tableStyles.infoCalloutContent}>
1434+
<p className={tableStyles.infoCalloutTitle}>Private Mainnet</p>
1435+
<p>
1436+
MegaETH currently operates a private mainnet. Your address must be on the whitelist to
1437+
transact. For more information, visit{" "}
1438+
<a href="https://www.megaeth.com/" target="_blank" rel="noopener noreferrer">
1439+
megaeth.com
1440+
</a>
1441+
.
1442+
</p>
1443+
</div>
1444+
</div>
1445+
)}
14281446
<div className={feedList.tableFilters}>
14291447
{!isStreams && !isSmartData && (
14301448
<details class={feedList.filterDropdown_details}>

src/features/feeds/components/Tables.module.css

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,53 @@
284284
text-align: left;
285285
}
286286

287+
.infoCallout {
288+
padding: var(--space-4x);
289+
gap: var(--space-4x);
290+
background-color: var(--color-background-info);
291+
border: 1px solid #eee;
292+
border-radius: var(--border-radius-10);
293+
color: var(--color-text-info);
294+
outline: 1px solid transparent;
295+
display: flex;
296+
margin-top: 12px;
297+
margin-bottom: 12px;
298+
}
299+
300+
.infoCalloutIcon {
301+
flex-shrink: 0;
302+
width: 1.5em;
303+
}
304+
305+
.infoCalloutIcon img {
306+
width: 1.5em;
307+
height: 1.5em;
308+
}
309+
310+
.infoCalloutContent {
311+
flex: 1;
312+
}
313+
314+
.infoCalloutTitle {
315+
font-weight: bold;
316+
text-transform: uppercase;
317+
color: var(--theme-text);
318+
margin-bottom: var(--space-1x);
319+
font-size: 14px;
320+
}
321+
322+
.infoCalloutContent p {
323+
color: var(--theme-text-light);
324+
line-height: 1.5;
325+
font-size: 14px;
326+
margin: 0;
327+
}
328+
329+
.infoCalloutContent a {
330+
color: var(--color-text-link);
331+
text-decoration: underline;
332+
}
333+
287334
.feedVariantBadge {
288335
display: inline-block;
289336
font-size: 0.75rem;

src/scripts/data/detect-new-data.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const NETWORK_ENDPOINTS: Record<string, string> = {
4949
bob: "https://reference-data-directory.vercel.app/feeds-bitcoin-mainnet-bob-1.json",
5050
plasma: "https://reference-data-directory.vercel.app/feeds-plasma-mainnet.json",
5151
hyperevm: "https://reference-data-directory.vercel.app/feeds-hyperliquid-mainnet.json",
52+
megaeth: "https://reference-data-directory.vercel.app/feeds-megaeth-mainnet.json",
5253
}
5354

5455
// Path to the baseline JSON file that contains known feed IDs

0 commit comments

Comments
 (0)