From a80eb502d953bded4259bdd5a2d43c575fe135e5 Mon Sep 17 00:00:00 2001 From: Dwight Lyle Date: Fri, 19 Apr 2024 06:41:10 -0700 Subject: [PATCH] Data Feeds - Polygon zkEVM Cardona testnet (#1895) * Polygon zkEVM Cardona testnet * Link Token Contracts Update --- .../resources/link-token-contracts.mdx | 12 +++---- src/features/data/chains.ts | 6 ++-- src/scripts/reference/chains.json | 35 ++++++++----------- src/scripts/reference/linkNameSymbol.json | 6 +++- 4 files changed, 28 insertions(+), 31 deletions(-) diff --git a/src/content/resources/link-token-contracts.mdx b/src/content/resources/link-token-contracts.mdx index b56f928d76c..14d8ae2c128 100644 --- a/src/content/resources/link-token-contracts.mdx +++ b/src/content/resources/link-token-contracts.mdx @@ -487,17 +487,15 @@ ETH is used to pay for transactions on Polygon zkEVM. Use the [Polygon zkEVM Bri | Symbol | LINK | | Decimals | 18 | -### Polygon zkEVM testnet +### Polygon zkEVM Cardona testnet -Testnet ETH is used to pay for transactions on Polygon zkEVM testnet. Use the [Polygon zkEVM Bridge](https://wallet.polygon.technology/zkEVM-Bridge/bridge) to transfer testnet ETH to Polygon zkEVM testnet. - -Testnet LINK is available at [faucets.chain.link](https://faucets.chain.link/polygon-zkevm-testnet). +Testnet ETH is used to pay for transactions on Polygon zkEVM Cardona testnet. Use the [Polygon zkEVM Bridge](https://wallet.polygon.technology/zkEVM-Bridge/bridge) to transfer testnet ETH to Polygon zkEVM testnet. | Parameter | Value | | :------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `ETH_CHAIN_ID` | `1442` | -| Address |
| -| Name | Chainlink Token on Polygon zkEVM testnet | +| `ETH_CHAIN_ID` | `2442` | +| Address |
| +| Name | Chainlink Token on Polygon zkEVM Cardona testnet | | Symbol | LINK | | Decimals | 18 | diff --git a/src/features/data/chains.ts b/src/features/data/chains.ts index 22c3e5f1564..54f99b98537 100644 --- a/src/features/data/chains.ts +++ b/src/features/data/chains.ts @@ -420,10 +420,10 @@ export const CHAINS: Chain[] = [ queryString: "polygon-zkevm-mainnet", }, { - name: "Polygon zkEVM testnet", - explorerUrl: "https://testnet-zkevm.polygonscan.com/address/%s", + name: "Polygon zkEVM Cardona Testnet", + explorerUrl: "https://cardona-zkevm.polygonscan.com/address/%s", networkType: "testnet", - rddUrl: "https://reference-data-directory.vercel.app/feeds-ethereum-testnet-goerli-polygon-zkevm-1.json", + rddUrl: "https://reference-data-directory.vercel.app/feeds-ethereum-testnet-sepolia-polygon-zkevm-1.json", queryString: "polygon-zkevm-testnet", }, ], diff --git a/src/scripts/reference/chains.json b/src/scripts/reference/chains.json index 04a43826e6e..6edc9e0f5b5 100644 --- a/src/scripts/reference/chains.json +++ b/src/scripts/reference/chains.json @@ -357,26 +357,6 @@ "networkId": 1285, "explorers": [{ "name": "moonscan", "url": "https://moonriver.moonscan.io", "standard": "none" }] }, - { - "name": "Polygon zkEVM Testnet", - "title": "Polygon zkEVM Testnet", - "chain": "Polygon", - "rpc": [ - "https://rpc.public.zkevm-test.net", - "https://polygon-zkevm-testnet.drpc.org", - "wss://polygon-zkevm-testnet.drpc.org" - ], - "faucets": [], - "nativeCurrency": { "name": "Ether", "symbol": "ETH", "decimals": 18 }, - "infoURL": "https://polygon.technology/solutions/polygon-zkevm/", - "shortName": "testnet-zkEVM-mango", - "chainId": 1442, - "networkId": 1442, - "slip44": 1, - "explorers": [ - { "name": "Polygon zkEVM explorer", "url": "https://explorer.public.zkevm-test.net", "standard": "EIP3091" } - ] - }, { "name": "Kroma Sepolia", "title": "Kroma Testnet Sepolia", @@ -400,6 +380,21 @@ ], "parent": { "type": "L2", "chain": "eip155-11155111", "bridges": [{ "url": "https://kroma.network/bridge" }] } }, + { + "name": "Polygon zkEVM Cardona Testnet", + "title": "Polygon zkEVM Cardona Testnet", + "chain": "Polygon", + "rpc": ["https://rpc.cardona.zkevm-rpc.com"], + "faucets": [], + "nativeCurrency": { "name": "Ether", "symbol": "ETH", "decimals": 18 }, + "infoURL": "https://polygon.technology/polygon-zkevm", + "shortName": "zkevm-testnet-cardona", + "chainId": 2442, + "networkId": 2442, + "icon": "zkevm", + "explorers": [{ "name": "polygonscan", "url": "https://cardona-zkevm.polygonscan.com", "standard": "EIP3091" }], + "parent": { "type": "L2", "chain": "eip155-1", "bridges": [{ "url": "https://bridge-ui.cardona.zkevm-rpc.com" }] } + }, { "name": "Fantom Testnet", "chain": "FTM", diff --git a/src/scripts/reference/linkNameSymbol.json b/src/scripts/reference/linkNameSymbol.json index 7f71c735a44..eb9aebaf5d0 100644 --- a/src/scripts/reference/linkNameSymbol.json +++ b/src/scripts/reference/linkNameSymbol.json @@ -26,7 +26,11 @@ "42220": { "name": "ChainLink Token", "symbol": "LINK" }, "44787": { "name": "ChainLink Token", "symbol": "LINK" }, "1101": { "name": "ChainLink Token", "symbol": "LINK" }, - "1442": { "name": "ChainLink Token", "symbol": "LINK" }, + "2442": { + "name": "ChainLink Token", + "symbol": "LINK", + "networkName": "Polygon zkEVM Sepolia testnet" + }, "534352": { "name": "ChainLink Token", "symbol": "LINK" }, "534351": { "name": "ChainLink Token", "symbol": "LINK" }, "59144": { "name": "ChainLink Token", "symbol": "LINK" },