From dd8a459beedcf6221bbeb067c5e534ca2a73b68f Mon Sep 17 00:00:00 2001 From: Karim <98668332+khadni@users.noreply.github.com> Date: Tue, 26 Nov 2024 15:11:51 -0500 Subject: [PATCH 1/2] init --- public/changelog.json | 12 +++ .../QuickLinks/data/productChainLinks.ts | 2 + .../supported-networks.mdx | 15 ++++ src/content/vrf/v2-5/supported-networks.mdx | 80 +++++++++++++++++++ src/features/feeds/components/Tables.tsx | 15 ++++ 5 files changed, 124 insertions(+) diff --git a/public/changelog.json b/public/changelog.json index c0463293c42..049f01e606d 100644 --- a/public/changelog.json +++ b/public/changelog.json @@ -1,4 +1,16 @@ [ + { + "category": "integration", + "changes": [], + "date": "2024-11-26", + "description": "Chainlink Data Streams is available in Early Access on Optimism. The verifier proxy addresses and stream IDs are available on the [Stream Addresses](https://docs.chain.link/data-streams/crypto-streams) page.", + "relatedNetworks": ["optimism"], + "relatedTokens": [], + "title": "Data Streams on Optimism", + "topic": "data", + "subTopic": "data-streams", + "urls": [] + }, { "category": "integration", "changes": [], diff --git a/src/components/QuickLinks/data/productChainLinks.ts b/src/components/QuickLinks/data/productChainLinks.ts index 218096cc2dc..1492981efa0 100644 --- a/src/components/QuickLinks/data/productChainLinks.ts +++ b/src/components/QuickLinks/data/productChainLinks.ts @@ -79,6 +79,7 @@ export const productChainLinks: ProductChainLinks = { soneium: "/data-streams/crypto-streams", opbnb: "/data-streams/crypto-streams", solana: "/data-streams/crypto-streams", + optimism: "/data-streams/crypto-streams", }, }, Functions: { @@ -121,6 +122,7 @@ export const productChainLinks: ProductChainLinks = { 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", + optimism: "/vrf/v2-5/supported-networks#optimism-mainnet", }, }, linkTokenContracts: { diff --git a/src/content/chainlink-functions/supported-networks.mdx b/src/content/chainlink-functions/supported-networks.mdx index a65c0ce1efe..ce871b3ed39 100644 --- a/src/content/chainlink-functions/supported-networks.mdx +++ b/src/content/chainlink-functions/supported-networks.mdx @@ -210,6 +210,21 @@ Read the [LINK Token Contracts](/resources/link-token-contracts) page to learn w calculation](/chainlink-functions/resources/billing#cost-calculation-example) for more information. +### Optimism mainnet + +| Item | Value | +| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| Functions router |
| +| | / | +| Encrypted secrets upload endpoints |
| + +| Billing Item | Value | +| ------------------------------------------------ | ----------- | +| Premium fees (converted to LINK at request time) | 3 cents USD | +| Request threshold (withdrawing funds) | 1 request | +| Cancellation fees (withdrawing funds) | 0.1 LINK | +| Minimum balance for uploading encrypted secrets | 0.1 LINK | + ### Optimism Sepolia testnet | Item | Value | diff --git a/src/content/vrf/v2-5/supported-networks.mdx b/src/content/vrf/v2-5/supported-networks.mdx index 5f0493a29a4..eded4e712ff 100644 --- a/src/content/vrf/v2-5/supported-networks.mdx +++ b/src/content/vrf/v2-5/supported-networks.mdx @@ -584,3 +584,83 @@ VRF v2.5 coordinators for subscription funding are available on several networks | Coordinator Gas Overhead per Word | 435 | + +### Optimism mainnet + +{/* prettier-ignore */} + +Subscription +Direct funding + +| Item | Value | +| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| LINK Token |
| +| | +| VRF Coordinator |
| +| 2 gwei Key Hash | | +| 30 gwei Key Hash | | +| Premium percentage
(paying with Optimism) | 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 |
| +| 2 gwei Key Hash | | +| 30 gwei Key Hash | | | +| Premium percentage
(paying with Optimism) | 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 | + + + +### Optimism Sepolia testnet + +{/* prettier-ignore */} + +Subscription +Direct funding + +| Item | Value | +| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| LINK Token |
| +| | +| VRF Coordinator |
| +| 30 gwei Key Hash | | +| Premium percentage
(paying with Optimism Sepolia 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 Optimism Sepolia ETH) | 60 | +| Premium percentage
(paying with testnet 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 99d263c48b7..9205d207205 100644 --- a/src/features/feeds/components/Tables.tsx +++ b/src/features/feeds/components/Tables.tsx @@ -400,6 +400,21 @@ const StreamsNetworksData = [ explorerUrl: "https://opbnb-testnet.bscscan.com/address/%s", }, }, + { + network: "Optimism", + logoUrl: "/assets/chains/optimism.svg", + networkStatus: "https://status.optimism.io/", + mainnet: { + label: "Optimism Mainnet", + verifierProxy: "0xEBA4789A88C89C18f4657ffBF47B13A3abC7EB8D", + explorerUrl: "https://optimistic.etherscan.io/address/%s", + }, + testnet: { + label: "Optimism Testnet", + verifierProxy: "0x5f64394a2Ab3AcE9eCC071568Fc552489a8de7AF", + explorerUrl: "https://sepolia-optimism.etherscan.io/address/%s", + }, + }, { network: "Soneium", logoUrl: "/assets/chains/soneium.svg", From d7c73f730134573abd3fe2d502e819ce0bb07f92 Mon Sep 17 00:00:00 2001 From: Crystal Gomes Date: Tue, 26 Nov 2024 15:53:28 -0500 Subject: [PATCH 2/2] Add changelog for Functions/VRF --- public/changelog.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/public/changelog.json b/public/changelog.json index 049f01e606d..4191b2aef0b 100644 --- a/public/changelog.json +++ b/public/changelog.json @@ -1,4 +1,26 @@ [ + { + "category": "integration", + "changes": [], + "date": "2024-11-26", + "description": "Chainlink Functions is available on Optimism mainnet. Visit the [Supported Networks](https://docs.chain.link/chainlink-functions/supported-networks#optimism-mainnet) page for more information.", + "relatedNetworks": ["optimism"], + "relatedTokens": [], + "title": "Functions on Optimism mainnet", + "topic": "functions", + "urls": [] + }, + { + "category": "integration", + "changes": [], + "date": "2024-11-26", + "description": "Chainlink VRF 2.5 is available on Optimism mainnet. Visit the [Supported Networks](https://docs.chain.link/vrf/v2-5/supported-networks#optimism-mainnet) page for more information.", + "relatedNetworks": ["optimism"], + "relatedTokens": [], + "title": "VRF 2.5 on Optimism mainnet", + "topic": "vrf", + "urls": [] + }, { "category": "integration", "changes": [],