From 33f39960cede944d04e8ff96b3e76ecb8f620cac Mon Sep 17 00:00:00 2001 From: "Amine E." Date: Tue, 22 Oct 2024 19:31:54 +0200 Subject: [PATCH] soneium minato (#2133) * Merge doc main (#237) * Fix shadow on navigation (#2100) * Fix shadow on navigation * Align inner page with new navigation width --------- Co-authored-by: Crystal Gomes Co-authored-by: Karim H. <98668332+khadni@users.noreply.github.com> * Adjust VRF Sepolia lane and CLA deprecation notice (#2103) * CCIP 1.5 (#2104) * rel2 update * rel2 update * rel2 update * fix * OoO * fix * nit * nit * update page * update page * update page * update page * update * update * update * update * update * update * update * Fund amounts & nit changes --------- Co-authored-by: Karim <98668332+khadni@users.noreply.github.com> * Add gas spikes note (#2105) * Add gas spikes note * Remove printscreen * Add shorter inline explanation and adjust gas spike insert --------- Co-authored-by: Crystal Gomes * update (#2110) * update (#2108) * new integration (#2111) * linea testnet * linea testnet * linea * linea * linea * linea * linea * scroll (#2114) * update * update * update * remove kroma testnet * put kroma * update * update * empty * add Scroll ccip to QL (#2115) * nit (#2116) * nit (#2117) * rmn status (#2118) * rmn status * rmn status * rmn status * update * update * add issuer por field (#2119) --------- Co-authored-by: Simone Cuomo Co-authored-by: Crystal Gomes Co-authored-by: Amine E. * Revert "Merge doc main (#237)" This reverts commit 8a9db7a7ee1dec4be9ecb61a8053aea446daa033. * update (#2129) (#244) * Soneium Minato - Streams * Changelog - Streams * Add VRF 2.5 * update release date * add base, soneium VRF to quicklinks * CCIP Soneium Minato * add rpc provider * Add Functions; release notes for VRF and Functions * functions quicklink * Typo fix * Adjustment on VRF table --------- Co-authored-by: Karim H. <98668332+khadni@users.noreply.github.com> Co-authored-by: Simone Cuomo Co-authored-by: Crystal Gomes --- public/changelog.json | 45 +++++++++++ .../QuickLinks/data/productChainLinks.ts | 4 + .../data/ccip/v1_2_0/testnet/chains.json | 20 +++++ .../data/ccip/v1_2_0/testnet/lanes.json | 26 +++++++ .../data/ccip/v1_2_0/testnet/tokens.json | 16 ++++ src/config/data/chain-to-technology.json | 2 +- src/config/data/chains.json | 4 +- src/config/types.ts | 2 + src/config/web3Providers.ts | 1 + .../supported-networks.mdx | 23 ++++++ src/content/vrf/v2-5/supported-networks.mdx | 39 ++++++++++ src/features/feeds/components/Tables.tsx | 74 +++++++++++-------- src/features/utils/index.ts | 4 + 13 files changed, 227 insertions(+), 33 deletions(-) diff --git a/public/changelog.json b/public/changelog.json index 18992787fb5..7385fa4098e 100644 --- a/public/changelog.json +++ b/public/changelog.json @@ -1,4 +1,49 @@ [ + { + "category": "integration", + "changes": [], + "date": "2024-10-22", + "description": "Chainlink Functions is available on Soneium Minato testnet. Visit the [Supported Networks](https://docs.chain.link/chainlink-functions/supported-networks#soneium-minato-testnet) page for more information.", + "relatedNetworks": ["soneium"], + "relatedTokens": [], + "title": "Functions on Soneium Minato", + "topic": "functions", + "urls": [] + }, + { + "category": "integration", + "changes": [], + "date": "2024-10-22", + "description": "Chainlink VRF 2.5 is available on Soneium Minato testnet. Visit the [Supported Networks](https://docs.chain.link/vrf/v2-5/supported-networks#soneium-minato-testnet) page for more information.", + "relatedNetworks": ["soneium"], + "relatedTokens": [], + "title": "VRF 2.5 on Soneium Minato", + "topic": "vrf", + "urls": [] + }, + { + "category": "integration", + "changes": [], + "date": "2024-10-22", + "description": "Chainlink CCIP is available on Soneium Minato testnet. Visit the [Supported Networks](https://docs.chain.link/ccip/supported-networks/v1_2_0/testnet) page for more information.", + "relatedNetworks": ["soneium"], + "relatedTokens": [], + "title": "CCIP on Soneium Minato", + "topic": "ccip", + "urls": [] + }, + { + "category": "integration", + "changes": [], + "date": "2024-10-22", + "description": "Chainlink Data Streams is available in Early Access on Soneium Minato. The verifier proxy address and feed IDs are available on the [Data Streams Feed IDs](https://docs.chain.link/data-streams/stream-ids) page.", + "relatedNetworks": ["soneium"], + "relatedTokens": [], + "title": "Data Streams on Soneium Minato", + "topic": "data", + "subTopic": "data-streams", + "urls": [] + }, { "category": "release", "changes": [], diff --git a/src/components/QuickLinks/data/productChainLinks.ts b/src/components/QuickLinks/data/productChainLinks.ts index 28b02399234..8d7b61aaaa8 100644 --- a/src/components/QuickLinks/data/productChainLinks.ts +++ b/src/components/QuickLinks/data/productChainLinks.ts @@ -37,6 +37,7 @@ export const productChainLinks: ProductChainLinks = { zksync: "/ccip/supported-networks/v1_2_0/mainnet#zksync-mainnet", linea: "/ccip/supported-networks/v1_2_0/mainnet#linea-mainnet", scroll: "/ccip/supported-networks/v1_2_0/mainnet#scroll-mainnet", + soneium: "/ccip/supported-networks/v1_2_0/testnet#soneium-minato-ethereum-sepolia", }, }, "Data Feeds": { @@ -84,6 +85,7 @@ export const productChainLinks: ProductChainLinks = { ethereum: "/chainlink-functions/supported-networks#ethereum", optimism: "/chainlink-functions/supported-networks#optimism", polygon: "/chainlink-functions/supported-networks#polygon", + soneium: "/chainlink-functions/supported-networks#soneium", }, }, Automation: { @@ -111,6 +113,8 @@ export const productChainLinks: ProductChainLinks = { ethereum: "/vrf/v2-5/supported-networks#ethereum-mainnet", fantom: "/vrf/v2/subscription/supported-networks#fantom-mainnet", polygon: "/vrf/v2-5/supported-networks#polygon-mainnet", + base: "/vrf/v2-5/supported-networks#base-mainnet", + soneium: "/vrf/v2-5/supported-networks#soneium-minato-testnet", }, }, linkTokenContracts: { diff --git a/src/config/data/ccip/v1_2_0/testnet/chains.json b/src/config/data/ccip/v1_2_0/testnet/chains.json index cdedfd98af9..34e465c49b7 100644 --- a/src/config/data/ccip/v1_2_0/testnet/chains.json +++ b/src/config/data/ccip/v1_2_0/testnet/chains.json @@ -259,6 +259,26 @@ "version": "1.5.0" } }, + "ethereum-testnet-sepolia-soneium-1": { + "armProxy": { + "address": "0x6172F4f60eEE3876cF83318DEe4477BfAf15Ffd3", + "version": "1.5.0" + }, + "chainSelector": "686603546605904534", + "feeTokens": ["LINK", "WETH"], + "registryModule": { + "address": "0xe06fE3AEfef3a27b8BF0edd5ae834B006EdE3aa1", + "version": "1.5.0" + }, + "router": { + "address": "0x443a1bce545d56E2c3f20ED32eA588395FFce0f4", + "version": "1.2.0" + }, + "tokenAdminRegistry": { + "address": "0xD2334a6f4f79CE462193EAcB89eB2c29Ae552750", + "version": "1.5.0" + } + }, "ethereum-testnet-sepolia-zksync-1": { "armProxy": { "address": "0x3DA20FD3D8a8f8c1f1A5fD03648147143608C467", diff --git a/src/config/data/ccip/v1_2_0/testnet/lanes.json b/src/config/data/ccip/v1_2_0/testnet/lanes.json index 562b743dea9..8fce522f8a3 100644 --- a/src/config/data/ccip/v1_2_0/testnet/lanes.json +++ b/src/config/data/ccip/v1_2_0/testnet/lanes.json @@ -1236,6 +1236,18 @@ } } }, + "ethereum-testnet-sepolia-soneium-1": { + "offRamp": { + "address": "0x2F55dE157D54bD22b1BcDC10Ce4EFC16d83DB57e", + "version": "1.5.0" + }, + "onRamp": { + "address": "0xb60d22A482a01482A8E3AFE35c99E99286B2F830", + "enforceOutOfOrder": false, + "version": "1.5.0" + }, + "rmnPermeable": false + }, "ethereum-testnet-sepolia-zksync-1": { "offRamp": { "address": "0x9f5dC467A5c97068A1c2987486B8b768275627eD", @@ -2789,6 +2801,20 @@ } } }, + "ethereum-testnet-sepolia-soneium-1": { + "ethereum-testnet-sepolia": { + "offRamp": { + "address": "0xBa01c99248b785307FDD23DB18FA4D25dA249DE2", + "version": "1.5.0" + }, + "onRamp": { + "address": "0xAD4d2015c1AD8bFe8B81Ca9Ff1Ba701141E3e2CC", + "enforceOutOfOrder": false, + "version": "1.5.0" + }, + "rmnPermeable": false + } + }, "ethereum-testnet-sepolia-zksync-1": { "ethereum-testnet-sepolia": { "offRamp": { diff --git a/src/config/data/ccip/v1_2_0/testnet/tokens.json b/src/config/data/ccip/v1_2_0/testnet/tokens.json index 02bb4dae09c..bc5c25e3910 100644 --- a/src/config/data/ccip/v1_2_0/testnet/tokens.json +++ b/src/config/data/ccip/v1_2_0/testnet/tokens.json @@ -435,6 +435,14 @@ "symbol": "LINK", "tokenAddress": "0x231d45b53C905c3d6201318156BDC725c9c3B9B1" }, + "ethereum-testnet-sepolia-soneium-1": { + "allowListEnabled": false, + "decimals": 18, + "name": "ChainLink Token", + "poolType": "feeTokenOnly", + "symbol": "LINK", + "tokenAddress": "0x7ea13478Ea3961A0e8b538cb05a9DF0477c79Cd2" + }, "ethereum-testnet-sepolia-zksync-1": { "allowListEnabled": false, "decimals": 18, @@ -637,6 +645,14 @@ "symbol": "WETH", "tokenAddress": "0x5300000000000000000000000000000000000004" }, + "ethereum-testnet-sepolia-soneium-1": { + "allowListEnabled": false, + "decimals": 18, + "name": "Wrapped Ether", + "poolType": "feeTokenOnly", + "symbol": "WETH", + "tokenAddress": "0x4200000000000000000000000000000000000006" + }, "ethereum-testnet-sepolia-zksync-1": { "allowListEnabled": false, "decimals": 18, diff --git a/src/config/data/chain-to-technology.json b/src/config/data/chain-to-technology.json index deb3999455f..998992e0788 100644 --- a/src/config/data/chain-to-technology.json +++ b/src/config/data/chain-to-technology.json @@ -39,5 +39,5 @@ "MODE_SEPOLIA": "MODE", "BLAST_MAINNET": "BLAST", "BLAST_SEPOLIA": "BLAST", - "SONEIUM_SEPOLIA": "SONEIUM" + "SONEIUM_MINATO": "SONEIUM" } diff --git a/src/config/data/chains.json b/src/config/data/chains.json index 30deda8c655..1806ed49a84 100644 --- a/src/config/data/chains.json +++ b/src/config/data/chains.json @@ -531,10 +531,10 @@ "title": "Soneium", "icon": "/assets/chains/soneium.svg", "chains": { - "SONEIUM_SEPOLIA": { + "SONEIUM_MINATO": { "chainId": 1946, "title": "Soneium Minato testnet", - "explorer": "https://explorer-testnet.soneium.org/", + "explorer": "https://explorer-testnet.soneium.org", "nativeCurrency": { "name": "Ether", "symbol": "ETH", diff --git a/src/config/types.ts b/src/config/types.ts index d10f3569f19..e96f291360e 100644 --- a/src/config/types.ts +++ b/src/config/types.ts @@ -20,6 +20,7 @@ export type SupportedTechnology = | "KROMA" | "MODE" | "ZKSYNC" + | "SONEIUM" export type SupportedChain = | "ETHEREUM_MAINNET" @@ -62,6 +63,7 @@ export type SupportedChain = | "KROMA_SEPOLIA" | "MODE_MAINNET" | "MODE_SEPOLIA" + | "SONEIUM_MINATO" export type Chains = Record< SupportedTechnology, diff --git a/src/config/web3Providers.ts b/src/config/web3Providers.ts index c7609f6c78b..f83ee6a0ad3 100644 --- a/src/config/web3Providers.ts +++ b/src/config/web3Providers.ts @@ -44,4 +44,5 @@ export const chainToProvider: Record providers.Provider> = MODE_SEPOLIA: () => new providers.JsonRpcProvider("https://sepolia.mode.network"), BLAST_MAINNET: () => new providers.JsonRpcProvider("https://rpc.blast.io"), BLAST_SEPOLIA: () => new providers.JsonRpcProvider("https://sepolia.blast.io"), + SONEIUM_MINATO: () => new providers.JsonRpcProvider(" https://rpc.minato.soneium.org/"), } diff --git a/src/content/chainlink-functions/supported-networks.mdx b/src/content/chainlink-functions/supported-networks.mdx index e1881cfec7c..eca3df72b8b 100644 --- a/src/content/chainlink-functions/supported-networks.mdx +++ b/src/content/chainlink-functions/supported-networks.mdx @@ -224,3 +224,26 @@ Read the [LINK Token Contracts](/resources/link-token-contracts) page to learn w | Request threshold (withdrawing funds) | 10 requests | | Cancellation fees (withdrawing funds) | 2 LINK | | Minimum balance for uploading encrypted secrets | 2 LINK | + +## Soneium + + + +### Soneium Minato testnet + +| Item | Value | +| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| Functions router |
| +| | / | +| Encrypted secrets upload endpoints |
| + +| Billing Item | Value | +| ------------------------------------------------ | ------------- | +| Premium fees (converted to LINK at request time) | 320 cents USD | +| Request threshold (withdrawing funds) | 10 requests | +| Cancellation fees (withdrawing funds) | 2 LINK | +| Minimum balance for uploading encrypted secrets | 2 LINK | diff --git a/src/content/vrf/v2-5/supported-networks.mdx b/src/content/vrf/v2-5/supported-networks.mdx index be0fb61a1d2..8208628488c 100644 --- a/src/content/vrf/v2-5/supported-networks.mdx +++ b/src/content/vrf/v2-5/supported-networks.mdx @@ -545,3 +545,42 @@ VRF v2.5 coordinators for subscription funding are available on several networks | Coordinator Gas Overhead per Word | 435 | + +### Soneium Minato testnet + +{/* prettier-ignore */} + +Subscription +Direct funding + +| Item | Value | +| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| LINK Token |
| +| | +| VRF Coordinator |
| +| 30 gwei Key Hash | | +| Premium percentage
(paying with testnet ETH) | 60 | +| Premium percentage
(paying with LINK) | 50 | +| Max Gas Limit | 2,500,000 | +| Minimum Confirmations | 0 | +| Maximum Confirmations | 200 | +| Maximum Random Values | 500 | + + +| Item | Value | +| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| LINK Token |
| +| VRF Wrapper |
| +| VRF Coordinator |
| +| 30 gwei Key Hash | | +| Premium percentage
(paying with testnet ETH) | 60 | +| Premium percentage
(paying with LINK) | 50 | +| Minimum Confirmations | 0 | +| Maximum Confirmations | 200 | +| Maximum Random Values | 10 | +| Wrapper Gas overhead | 13400 | +| Coordinator Gas Overhead (Native) | 128500 | +| Coordinator Gas Overhead (LINK) | 150400 | +| Coordinator Gas Overhead per Word | 435 | + + diff --git a/src/features/feeds/components/Tables.tsx b/src/features/feeds/components/Tables.tsx index 2bd7b81d7e3..4223896a2f3 100644 --- a/src/features/feeds/components/Tables.tsx +++ b/src/features/feeds/components/Tables.tsx @@ -372,6 +372,15 @@ const StreamsNetworksData = [ explorerUrl: "https://sepolia.basescan.org/address/%s", }, }, + { + network: "Soneium", + logoUrl: "/assets/chains/soneium.svg", + testnet: { + label: "Soneium Minato Testnet", + verifierProxy: "0x26603bAC5CE09DAE5604700B384658AcA13AD6ae", + explorerUrl: "https://explorer-testnet.soneium.org/address/%s", + }, + }, ] export const StreamsVerifierProxyTable = () => { @@ -391,31 +400,34 @@ export const StreamsVerifierProxyTable = () => {
{network.network}
-
- {network.mainnet.label}: - - {network.mainnet.verifierProxy} - - -
+ {network.mainnet && ( +
+ {network.mainnet.label}: + + {network.mainnet.verifierProxy} + + +
+ )} +
{network.testnet.label}: { Copy to clipboard
- + {network.networkStatus && ( +
+ + Track the status of this network at {network.networkStatus} + +
+ )} ))} diff --git a/src/features/utils/index.ts b/src/features/utils/index.ts index bcba0fe5421..aa2b5eff37e 100644 --- a/src/features/utils/index.ts +++ b/src/features/utils/index.ts @@ -178,6 +178,8 @@ export const directoryToSupportedChain = (chainInRdd: string): SupportedChain => return "SCROLL_MAINNET" case "ethereum-testnet-sepolia-scroll-1": return "SCROLL_SEPOLIA" + case "ethereum-testnet-sepolia-soneium-1": + return "SONEIUM_MINATO" default: throw Error(`Chain not found ${chainInRdd}`) } @@ -253,6 +255,8 @@ export const supportedChainToChainInRdd = (supportedChain: SupportedChain): stri return "ethereum-mainnet-scroll-1" case "SCROLL_SEPOLIA": return "ethereum-testnet-sepolia-scroll-1" + case "SONEIUM_MINATO": + return "ethereum-testnet-sepolia-soneium-1" default: throw Error(`Chain not found ${supportedChain}`) }