Skip to content

Commit 1512747

Browse files
dwightjlkhadni
andauthored
Data Feeds on Soneium Minato Testnet (smartcontractkit#2072)
* Data Feeds on Soneium Minato Testnet * Nit --------- Co-authored-by: Karim <[email protected]>
1 parent a0ce256 commit 1512747

File tree

8 files changed

+86
-2
lines changed

8 files changed

+86
-2
lines changed

public/assets/chains/soneium.svg

Lines changed: 27 additions & 0 deletions
Loading

src/components/QuickLinks/data/productChainLinks.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ export const productChainLinks: ProductChainLinks = {
5757
polygon: "/data-feeds/price-feeds/addresses?network=polygon",
5858
scroll: "/data-feeds/price-feeds/addresses?network=scroll",
5959
solana: "/data-feeds/price-feeds/addresses?network=solana",
60+
soneium: "/data-feeds/price-feeds/addresses?network=soneium",
6061
starknet: "/data-feeds/price-feeds/addresses?network=starknet",
6162
zksync: "/data-feeds/price-feeds/addresses?network=zksync",
6263
},
@@ -130,6 +131,7 @@ export const productChainLinks: ProductChainLinks = {
130131
polygon: "/resources/link-token-contracts#polygon",
131132
scroll: "/resources/link-token-contracts#scroll",
132133
solana: "/resources/link-token-contracts#solana",
134+
soneium: "/resources/link-token-contracts#soneium",
133135
wemix: "/resources/link-token-contracts#wemix",
134136
zksync: "/resources/link-token-contracts#zksync",
135137
},
@@ -154,6 +156,7 @@ export const chainNames: Record<string, string> = {
154156
polygon: "Polygon",
155157
scroll: "Scroll",
156158
solana: "Solana",
159+
soneium: "Soneium",
157160
starknet: "Starknet",
158161
wemix: "Wemix",
159162
zksync: "zkSync",

src/config/data/chain-to-technology.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@
3737
"MODE_MAINNET": "MODE",
3838
"MODE_SEPOLIA": "MODE",
3939
"BLAST_MAINNET": "BLAST",
40-
"BLAST_SEPOLIA": "BLAST"
40+
"BLAST_SEPOLIA": "BLAST",
41+
"SONEIUM_SEPOLIA": "SONEIUM"
4142
}

src/config/data/chains.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,5 +524,21 @@
524524
}
525525
}
526526
}
527+
},
528+
"SONEIUM": {
529+
"title": "Soneium",
530+
"icon": "/assets/chains/soneium.svg",
531+
"chains": {
532+
"SONEIUM_SEPOLIA": {
533+
"chainId": 1946,
534+
"title": "Soneium Minato testnet",
535+
"explorer": "https://explorer-testnet.soneium.org/",
536+
"nativeCurrency": {
537+
"name": "Ether",
538+
"symbol": "ETH",
539+
"decimals": 18
540+
}
541+
}
542+
}
527543
}
528544
}

src/content/resources/link-token-contracts.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -629,6 +629,20 @@ Testnet ETH and LINK are available at [faucets.chain.link/mode-sepolia](https://
629629
| Symbol | LINK |
630630
| Decimals | 18 |
631631

632+
## Soneium
633+
634+
### Soneium Minato testnet
635+
636+
Testnet ETH is used to pay for transactions on the Soneium Minato testnet.
637+
638+
| Parameter | Value |
639+
| :------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
640+
| `ETH_CHAIN_ID` | `1946` |
641+
| Address | <Address contractUrl="https://explorer-testnet.soneium.org/address/0x7ea13478Ea3961A0e8b538cb05a9DF0477c79Cd2" urlId="1946_0x7ea13478Ea3961A0e8b538cb05a9DF0477c79Cd2" urlClass="erc-token-address"/> |
642+
| Name | Chainlink Token on Soneium Minato |
643+
| Symbol | LINK |
644+
| Decimals | 18 |
645+
632646
## Solana
633647

634648
### Solana mainnet

src/features/data/chains.ts

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ export const CHAINS: Chain[] = [
407407
{
408408
page: "polygonzkevm",
409409
label: "Polygon zkEVM",
410-
title: "Polygon zkEVM",
410+
title: "Polygon zkEVM Data Feeds",
411411
img: "/assets/chains/polygonzkevm.svg",
412412
networkStatusUrl: "https://polygonscan.freshstatus.io/",
413413
tags: ["default"],
@@ -429,6 +429,24 @@ export const CHAINS: Chain[] = [
429429
},
430430
],
431431
},
432+
{
433+
page: "soneium",
434+
label: "Soneium",
435+
title: "Soneium Data Feeds",
436+
img: "/assets/chains/soneium.svg",
437+
networkStatusUrl: "https://explorer-testnet.soneium.org",
438+
tags: ["default"],
439+
supportedFeatures: ["feeds"],
440+
networks: [
441+
{
442+
name: "Soneium Minato Testnet",
443+
explorerUrl: "https://explorer-testnet.soneium.org/address/%s",
444+
networkType: "testnet",
445+
rddUrl: "https://reference-data-directory.vercel.app/feeds-ethereum-testnet-sepolia-soneium-1.json",
446+
queryString: "polygon-zkevm-testnet",
447+
},
448+
],
449+
},
432450
{
433451
page: "starknet",
434452
label: "Starknet",

src/features/landing/data/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ export const evmProducts = [
6464
{ id: "scroll", title: "Scroll" },
6565
{ id: "linea", title: "Linea" },
6666
{ id: "zksync", title: "zkSync" },
67+
{ id: "soneium", title: "Soneium" },
6768
{ id: "starknet", title: "StarkNet" },
6869
{ id: "solana", title: "Solana" },
6970
],

src/scripts/reference/linkNameSymbol.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,5 +159,9 @@
159159
"81457": {
160160
"name": "ChainLink Token",
161161
"symbol": "LINK"
162+
},
163+
"1946": {
164+
"name": "ChainLink Token",
165+
"symbol": "LINK"
162166
}
163167
}

0 commit comments

Comments
 (0)