From c811be2644320ba97d0c686113f8d120244e739f Mon Sep 17 00:00:00 2001 From: aelmanaa Date: Wed, 11 Dec 2024 14:57:37 +0100 Subject: [PATCH 1/3] ronin --- public/assets/chains/ronin.svg | 11 ++ public/changelog.json | 11 ++ .../QuickLinks/data/productChainLinks.ts | 3 + src/config/data/ccip/selectors.yml | 18 +- .../data/ccip/v1_2_0/mainnet/chains.json | 22 ++- .../data/ccip/v1_2_0/mainnet/lanes.json | 122 ++++++++++--- .../data/ccip/v1_2_0/mainnet/tokens.json | 39 ++-- .../data/ccip/v1_2_0/testnet/chains.json | 20 +++ .../data/ccip/v1_2_0/testnet/lanes.json | 166 ++++++++++++------ .../data/ccip/v1_2_0/testnet/tokens.json | 48 ++++- src/config/data/chain-to-technology.json | 4 +- src/config/data/chains.json | 18 ++ src/config/types.ts | 3 + src/config/web3Providers.ts | 2 + .../ccip/concepts/ccip-execution-latency.mdx | 1 + .../resources/link-token-contracts.mdx | 30 ++++ src/features/utils/index.ts | 8 + src/scripts/reference/chains.json | 31 ++++ src/scripts/reference/linkNameSymbol.json | 8 + 19 files changed, 450 insertions(+), 115 deletions(-) create mode 100644 public/assets/chains/ronin.svg diff --git a/public/assets/chains/ronin.svg b/public/assets/chains/ronin.svg new file mode 100644 index 00000000000..4b512c14d96 --- /dev/null +++ b/public/assets/chains/ronin.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/public/changelog.json b/public/changelog.json index 50ba2229963..9a9ce8bd477 100644 --- a/public/changelog.json +++ b/public/changelog.json @@ -1,4 +1,15 @@ [ + { + "category": "integration", + "changes": [], + "date": "2024-12-11", + "description": "Chainlink CCIP is publicly available on Ronin mainnet and Ronin Saigon testnet. Check the [CCIP Directory](https://docs.chain.link/ccip/directory/mainnet/chain/ronin-mainnet) and [CCIP Directory](https://docs.chain.link/ccip/directory/testnet/chain/ronin-testnet-saigon-1) for more information.", + "relatedNetworks": ["ronin"], + "relatedTokens": [], + "title": "CCIP on Ronin", + "topic": "ccip", + "urls": [] + }, { "category": "release", "changes": [], diff --git a/src/components/QuickLinks/data/productChainLinks.ts b/src/components/QuickLinks/data/productChainLinks.ts index c7af50a780b..fbd475f30a9 100644 --- a/src/components/QuickLinks/data/productChainLinks.ts +++ b/src/components/QuickLinks/data/productChainLinks.ts @@ -41,6 +41,7 @@ export const productChainLinks: ProductChainLinks = { scroll: "/ccip/directory/mainnet/chain/ethereum-mainnet-scroll-1", soneium: "/ccip/directory/testnet/chain/ethereum-testnet-sepolia-soneium-1", zircuit: "/ccip/directory/mainnet/chain/ethereum-mainnet-zircuit-1", + ronin: "/ccip/directory/mainnet/chain/ronin-mainnet", }, }, "Data Feeds": { @@ -154,6 +155,7 @@ export const productChainLinks: ProductChainLinks = { wemix: "/resources/link-token-contracts#wemix", zksync: "/resources/link-token-contracts#zksync", zircuit: "/resources/link-token-contracts#zircuit", + ronin: "/resources/link-token-contracts#ronin", }, } @@ -187,4 +189,5 @@ export const chainNames: Record = { mode: "Mode", blast: "Blast", zircuit: "Zircuit", + ronin: "Ronin", } diff --git a/src/config/data/ccip/selectors.yml b/src/config/data/ccip/selectors.yml index a103f81fb4a..ba5dc0fc7ae 100644 --- a/src/config/data/ccip/selectors.yml +++ b/src/config/data/ccip/selectors.yml @@ -176,6 +176,9 @@ selectors: 717160: selector: "4418231248214522936" name: "ethereum-testnet-sepolia-polygon-validium-1" + 763373: + selector: "9763904284804119144" + name: "ink-testnet-sepolia" 534351: selector: "2279865765895943307" name: "ethereum-testnet-sepolia-scroll-1" @@ -200,7 +203,7 @@ selectors: 11155420: selector: "5224473277236331295" name: "ethereum-testnet-sepolia-optimism-1" - 21000000: + 21000001: selector: "1467427327723633929" name: "ethereum-testnet-sepolia-corn-1" 168587773: @@ -227,9 +230,9 @@ selectors: 1328: selector: "1216300075444106652" name: "sei-testnet-atlantic" - 64165: + 57054: selector: "3676871237479449268" - name: "sonic-testnet" + name: "sonic-testnet-blaze" 998: selector: "4286062357653186312" name: "hyperliquid-testnet" @@ -289,6 +292,9 @@ selectors: 137: selector: "4051577828743386545" name: "polygon-mainnet" + 146: + selector: "1673871237479749969" + name: "sonic-mainnet" 196: selector: "3016212468291539606" name: "ethereum-mainnet-xlayer-1" @@ -340,6 +346,9 @@ selectors: 1285: selector: "1355020143337428062" name: "kusama-mainnet-moonriver" + 1868: + selector: "12505351618335765396" + name: "soneium-mainnet" 1907: selector: "4874388048629246000" name: "bitcichain-mainnet" @@ -430,3 +439,6 @@ selectors: 480: selector: "2049429975587534727" name: "ethereum-mainnet-worldchain-1" + 21000000: + selector: "9043146809313071210" + name: "corn-mainnet" diff --git a/src/config/data/ccip/v1_2_0/mainnet/chains.json b/src/config/data/ccip/v1_2_0/mainnet/chains.json index ae5f72cbe69..7f29b67d5cd 100644 --- a/src/config/data/ccip/v1_2_0/mainnet/chains.json +++ b/src/config/data/ccip/v1_2_0/mainnet/chains.json @@ -305,7 +305,7 @@ "version": "1.0.0" }, "chainSelector": "5009297550715157269", - "feeTokens": ["LINK", "WETH", "GHO"], + "feeTokens": ["GHO", "LINK", "WETH"], "registryModule": { "address": "0x13022e3e6C77524308BD56AEd716E88311b2E533", "version": "1.5.0" @@ -359,6 +359,26 @@ "version": "1.5.0" } }, + "ronin-mainnet": { + "armProxy": { + "address": "0xceA253a8c2BB995054524d071498281E89aACD59", + "version": "1.5.0" + }, + "chainSelector": "6916147374840168594", + "feeTokens": ["LINK", "WRON"], + "registryModule": { + "address": "0x5055DA89A16b71fEF91D1af323b139ceDe2d8320", + "version": "1.5.0" + }, + "router": { + "address": "0x46527571D5D1B68eE7Eb60B18A32e6C60DcEAf99", + "version": "1.2.0" + }, + "tokenAdminRegistry": { + "address": "0x90e83d532A4aD13940139c8ACE0B93b0DdbD323a", + "version": "1.5.0" + } + }, "wemix-mainnet": { "armProxy": { "address": "0x2375959c6571AC7a83c164C6FCcbd09E7782773d", diff --git a/src/config/data/ccip/v1_2_0/mainnet/lanes.json b/src/config/data/ccip/v1_2_0/mainnet/lanes.json index e0ad4319788..63126e80878 100644 --- a/src/config/data/ccip/v1_2_0/mainnet/lanes.json +++ b/src/config/data/ccip/v1_2_0/mainnet/lanes.json @@ -4100,20 +4100,6 @@ } } }, - "icUSD": { - "rateLimiterConfig": { - "in": { - "capacity": "0", - "isEnabled": false, - "rate": "0" - }, - "out": { - "capacity": "0", - "isEnabled": false, - "rate": "0" - } - } - }, "LDY": { "rateLimiterConfig": { "in": { @@ -4522,6 +4508,24 @@ } } }, + "ronin-mainnet": { + "supportedTokens": { + "LINK": { + "rateLimiterConfig": { + "in": { + "capacity": "50000000000000000000000", + "isEnabled": true, + "rate": "4630000000000000000" + }, + "out": { + "capacity": "50000000000000000000000", + "isEnabled": true, + "rate": "4630000000000000000" + } + } + } + } + }, "xdai-mainnet": { "offRamp": { "address": "0x300977dBA924af14E166B31F4926892B1f310661", @@ -6830,20 +6834,6 @@ } } }, - "icUSD": { - "rateLimiterConfig": { - "in": { - "capacity": "0", - "isEnabled": false, - "rate": "0" - }, - "out": { - "capacity": "0", - "isEnabled": false, - "rate": "0" - } - } - }, "LDY": { "rateLimiterConfig": { "in": { @@ -7704,6 +7694,34 @@ }, "rmnPermeable": false }, + "ronin-mainnet": { + "offRamp": { + "address": "0x9a3Ed7007809CfD666999e439076B4Ce4120528D", + "version": "1.5.0" + }, + "onRamp": { + "address": "0xdC5b578ff3AFcC4A4a6E149892b9472390b50844", + "enforceOutOfOrder": false, + "version": "1.5.0" + }, + "rmnPermeable": false, + "supportedTokens": { + "LINK": { + "rateLimiterConfig": { + "in": { + "capacity": "50000000000000000000000", + "isEnabled": true, + "rate": "4630000000000000000" + }, + "out": { + "capacity": "50000000000000000000000", + "isEnabled": true, + "rate": "4630000000000000000" + } + } + } + } + }, "wemix-mainnet": { "offRamp": { "address": "0xc1EcCE580B2C96f4fd202fB7c2a259ECe19a1bF2", @@ -8421,6 +8439,54 @@ "rmnPermeable": false } }, + "ronin-mainnet": { + "ethereum-mainnet-base-1": { + "supportedTokens": { + "LINK": { + "rateLimiterConfig": { + "in": { + "capacity": "50000000000000000000000", + "isEnabled": true, + "rate": "4630000000000000000" + }, + "out": { + "capacity": "50000000000000000000000", + "isEnabled": true, + "rate": "4630000000000000000" + } + } + } + } + }, + "mainnet": { + "offRamp": { + "address": "0x320A10449556388503Fd71D74A16AB52e0BD1dEb", + "version": "1.5.0" + }, + "onRamp": { + "address": "0x02b60267bceeaFDC45005e0Fa0dd783eFeBc9F1b", + "enforceOutOfOrder": false, + "version": "1.5.0" + }, + "rmnPermeable": false, + "supportedTokens": { + "LINK": { + "rateLimiterConfig": { + "in": { + "capacity": "50000000000000000000000", + "isEnabled": true, + "rate": "4630000000000000000" + }, + "out": { + "capacity": "50000000000000000000000", + "isEnabled": true, + "rate": "4630000000000000000" + } + } + } + } + } + }, "wemix-mainnet": { "avalanche-mainnet": { "offRamp": { diff --git a/src/config/data/ccip/v1_2_0/mainnet/tokens.json b/src/config/data/ccip/v1_2_0/mainnet/tokens.json index e920196e54d..564fd34d3a7 100644 --- a/src/config/data/ccip/v1_2_0/mainnet/tokens.json +++ b/src/config/data/ccip/v1_2_0/mainnet/tokens.json @@ -455,26 +455,6 @@ "tokenAddress": "0xc4506022Fb8090774E8A628d5084EED61D9B99Ee" } }, - "icUSD": { - "ethereum-mainnet-base-1": { - "allowListEnabled": false, - "decimals": 18, - "name": "The USDC Yield Index", - "poolAddress": "0x3efD833F03239699F208339842C87ee77f1B77A8", - "poolType": "burnMint", - "symbol": "icUSD", - "tokenAddress": "0x098471190D131d9E6215dd195feDf4bcC0426c8a" - }, - "mainnet": { - "allowListEnabled": false, - "decimals": 18, - "name": "The USDC Yield Index", - "poolAddress": "0x79BC41f1D73f06738bed591abf26038EC5721d49", - "poolType": "lockRelease", - "symbol": "icUSD", - "tokenAddress": "0x54EE8A49155F701F0d5Ff088CD36fbBF1a5B9f44" - } - }, "LAND": { "bsc-mainnet": { "allowListEnabled": false, @@ -689,6 +669,15 @@ "symbol": "LINK", "tokenAddress": "0x31EFB841d5e0b4082F7E1267dab8De1b853f2A9d" }, + "ronin-mainnet": { + "allowListEnabled": false, + "decimals": 18, + "name": "ChainLink Token", + "poolAddress": "0x4F94f32a22d31b51E1574d28ffFa9d33b0a5a733", + "poolType": "burnMint", + "symbol": "LINK", + "tokenAddress": "0x3902228D6A3d2Dc44731fD9d45FeE6a61c722D0b" + }, "wemix-mainnet": { "allowListEnabled": false, "decimals": 18, @@ -2088,6 +2077,16 @@ "tokenAddress": "0xDcEe70654261AF21C44c093C300eD3Bb97b78192" } }, + "WRON": { + "ronin-mainnet": { + "allowListEnabled": false, + "decimals": 18, + "name": "Wrapped Ronin", + "poolType": "feeTokenOnly", + "symbol": "WRON", + "tokenAddress": "0xe514d9DEB7966c8BE0ca922de8a064264eA6bcd4" + } + }, "WSDM": { "bsc-mainnet": { "allowListEnabled": false, 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 6e3d01fc98e..1feb9d6d8b3 100644 --- a/src/config/data/ccip/v1_2_0/testnet/chains.json +++ b/src/config/data/ccip/v1_2_0/testnet/chains.json @@ -399,6 +399,26 @@ "version": "1.5.0" } }, + "ronin-testnet-saigon": { + "armProxy": { + "address": "0xf206c6D3f3810eBbD75e7B4684291b5e51023D2f", + "version": "1.5.0" + }, + "chainSelector": "13116810400804392105", + "feeTokens": ["LINK", "WRON"], + "registryModule": { + "address": "0xE31827cd24d7D419fC17E7Ff889BaF62A17991A0", + "version": "1.5.0" + }, + "router": { + "address": "0x0aCAe4e51D3DA12Dd3F45A66e8b660f740e6b820", + "version": "1.2.0" + }, + "tokenAdminRegistry": { + "address": "0x057879f376041D527a98327DE2Ec00F201c9cA25", + "version": "1.5.0" + } + }, "wemix-testnet": { "armProxy": { "address": "0xA930c1E0fF1E1005E8Ef569Aa81e6EEbf466b1c3", 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 61db4d6356f..aa46cd1206f 100644 --- a/src/config/data/ccip/v1_2_0/testnet/lanes.json +++ b/src/config/data/ccip/v1_2_0/testnet/lanes.json @@ -193,20 +193,6 @@ "rate": "167000000000000000000" } } - }, - "USDC": { - "rateLimiterConfig": { - "in": { - "capacity": "100000000000", - "isEnabled": true, - "rate": "167000000" - }, - "out": { - "capacity": "100000000000", - "isEnabled": true, - "rate": "167000000" - } - } } } }, @@ -1093,20 +1079,6 @@ "rate": "167000000000000000000" } } - }, - "USDC": { - "rateLimiterConfig": { - "in": { - "capacity": "100000000000", - "isEnabled": true, - "rate": "167000000" - }, - "out": { - "capacity": "100000000000", - "isEnabled": true, - "rate": "167000000" - } - } } } }, @@ -1560,6 +1532,48 @@ } } }, + "ronin-testnet-saigon": { + "offRamp": { + "address": "0x1014AB7a1e06a536a962Bba3F0190C1a52b22f5f", + "version": "1.5.0" + }, + "onRamp": { + "address": "0xc15308F6567644508EF8dcfa6D2C974e215979f6", + "enforceOutOfOrder": false, + "version": "1.5.0" + }, + "rmnPermeable": false, + "supportedTokens": { + "CCIP-BnM": { + "rateLimiterConfig": { + "in": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + }, + "out": { + "capacity": "167000000000000000000", + "isEnabled": true, + "rate": "100000000000000000000" + } + } + }, + "CCIP-LnM": { + "rateLimiterConfig": { + "in": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + }, + "out": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + } + } + } + }, "wemix-testnet": { "offRamp": { "address": "0x445F41C6aa7e910021786e860d7cfe3E7fcC6640", @@ -2075,20 +2089,6 @@ "rate": "0" } } - }, - "USDC": { - "rateLimiterConfig": { - "in": { - "capacity": "100000000000", - "isEnabled": true, - "rate": "167000000" - }, - "out": { - "capacity": "100000000000", - "isEnabled": true, - "rate": "167000000" - } - } } } }, @@ -2185,20 +2185,6 @@ "rate": "0" } } - }, - "USDC": { - "rateLimiterConfig": { - "in": { - "capacity": "100000000000", - "isEnabled": true, - "rate": "167000000" - }, - "out": { - "capacity": "100000000000", - "isEnabled": true, - "rate": "167000000" - } - } } } }, @@ -2356,6 +2342,18 @@ } } }, + "ronin-testnet-saigon": { + "offRamp": { + "address": "0x4C14ca01eB15aE9145042F69C1aA4883e192Ed70", + "version": "1.5.0" + }, + "onRamp": { + "address": "0x828Bfd2eBD847C59D8f5bcbBB5e7D2b24111F99e", + "enforceOutOfOrder": false, + "version": "1.5.0" + }, + "rmnPermeable": false + }, "xdai-testnet-chiado": { "offRamp": { "address": "0x8bB08Bc19771C69E739a2078894523b3DC05a05e", @@ -3573,6 +3571,62 @@ } } }, + "ronin-testnet-saigon": { + "ethereum-testnet-sepolia": { + "offRamp": { + "address": "0x77008Fbd8Ae8f395beF9c6a55905896f3Ead75e9", + "version": "1.5.0" + }, + "onRamp": { + "address": "0xb9E5d491cf85a9D3aCa0171A511301a510a8Ed94", + "enforceOutOfOrder": false, + "version": "1.5.0" + }, + "rmnPermeable": true, + "supportedTokens": { + "CCIP-BnM": { + "rateLimiterConfig": { + "in": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + }, + "out": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + } + }, + "CCIP-LnM": { + "rateLimiterConfig": { + "in": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + }, + "out": { + "capacity": "100000000000000000000000", + "isEnabled": true, + "rate": "167000000000000000000" + } + } + } + } + }, + "ethereum-testnet-sepolia-base-1": { + "offRamp": { + "address": "0x7b9b74FB8fB21144c6b49DE796098E3a0dc9C1d0", + "version": "1.5.0" + }, + "onRamp": { + "address": "0xdd5803a6Ab5678213c54D8a976d16d185e9D1CA0", + "enforceOutOfOrder": false, + "version": "1.5.0" + }, + "rmnPermeable": false + } + }, "wemix-testnet": { "avalanche-fuji-testnet": { "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 c7fc3553a23..2b5877a050e 100644 --- a/src/config/data/ccip/v1_2_0/testnet/tokens.json +++ b/src/config/data/ccip/v1_2_0/testnet/tokens.json @@ -153,6 +153,15 @@ "symbol": "CCIP-BnM", "tokenAddress": "0xcab0EF91Bee323d1A617c0a027eE753aFd6997E4" }, + "ronin-testnet-saigon": { + "allowListEnabled": false, + "decimals": 18, + "name": "CCIP-BnM", + "poolAddress": "0x5621B392058Ff0c80EF022A33EdeE78A7308C222", + "poolType": "burnMint", + "symbol": "CCIP-BnM", + "tokenAddress": "0x88DD2416699Bad3AeC58f535BC66F7f62DE2B2EC" + }, "wemix-testnet": { "allowListEnabled": false, "decimals": 18, @@ -335,6 +344,15 @@ "symbol": "clCCIP-LnM", "tokenAddress": "0x3d357fb52253e86c8Ee0f80F5FfE438fD9503FF2" }, + "ronin-testnet-saigon": { + "allowListEnabled": false, + "decimals": 18, + "name": "clCCIP-LnM", + "poolAddress": "0x17a9049600902Ba429B3A5761d02A9C4E052eE40", + "poolType": "burnMint", + "symbol": "clCCIP-LnM", + "tokenAddress": "0x04B1F917a3ba69Fa252564414DdAFc82fA1B5178" + }, "wemix-testnet": { "allowListEnabled": false, "decimals": 18, @@ -545,6 +563,14 @@ "symbol": "LINK", "tokenAddress": "0x0Fd9e8d3aF1aaee056EB9e802c3A762a667b1904" }, + "ronin-testnet-saigon": { + "allowListEnabled": false, + "decimals": 18, + "name": "ChainLink Token", + "poolType": "feeTokenOnly", + "symbol": "LINK", + "tokenAddress": "0x5bB50A6888ee6a67E22afFDFD9513be7740F1c15" + }, "wemix-testnet": { "allowListEnabled": false, "decimals": 18, @@ -577,7 +603,7 @@ "allowListEnabled": false, "decimals": 6, "name": "USD Coin", - "poolAddress": "0xf63FBe07846176211a5fB1513bc12f7ECbd328D3", + "poolAddress": "0x5931822f394baBC2AACF4588E98FC77a9f5aa8C9", "poolType": "usdc", "symbol": "USDC", "tokenAddress": "0x5425890298aed601595a70AB815c96711a31Bc65" @@ -586,7 +612,7 @@ "allowListEnabled": false, "decimals": 6, "name": "USDC", - "poolAddress": "0xb48EacF882dC4899Ae750AF4a6E2892E11866d8D", + "poolAddress": "0xAff3fE524ea94118EF09DaDBE3c77ba6AA0005EC", "poolType": "usdc", "symbol": "USDC", "tokenAddress": "0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238" @@ -595,7 +621,7 @@ "allowListEnabled": false, "decimals": 6, "name": "USD Coin", - "poolAddress": "0x8C2a42e2bae1f1A3c141f8FC592110D2A7c117D6", + "poolAddress": "0xbfd2b0b21bd22fD9aB482BAAbc815ef4974F769f", "poolType": "usdc", "symbol": "USDC", "tokenAddress": "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d" @@ -604,7 +630,7 @@ "allowListEnabled": false, "decimals": 6, "name": "USDC", - "poolAddress": "0xf09eF7D0759222c8fFFFa3344B1F69C8BF0c9a72", + "poolAddress": "0x5931822f394baBC2AACF4588E98FC77a9f5aa8C9", "poolType": "usdc", "symbol": "USDC", "tokenAddress": "0x036CbD53842c5426634e7929541eC2318f3dCF7e" @@ -613,7 +639,7 @@ "allowListEnabled": false, "decimals": 6, "name": "USDC", - "poolAddress": "0x1e679586a754c292F907aCa681387226a8e546Cf", + "poolAddress": "0x18591F40d9981C395fb85aB1982441F14657903f", "poolType": "usdc", "symbol": "USDC", "tokenAddress": "0x5fd84259d66Cd46123540766Be93DFE6D43130D7" @@ -622,7 +648,7 @@ "allowListEnabled": false, "decimals": 6, "name": "USDC", - "poolAddress": "0x151B72c32C5CCF619efa6C9FedA6CB734d011059", + "poolAddress": "0x5931822f394baBC2AACF4588E98FC77a9f5aa8C9", "poolType": "usdc", "symbol": "USDC", "tokenAddress": "0x41E94Eb019C0762f9Bfcf9Fb1E58725BfB0e7582" @@ -794,6 +820,16 @@ "tokenAddress": "0x19f5557E23e9914A18239990f6C70D68FDF0deD5" } }, + "WRON": { + "ronin-testnet-saigon": { + "allowListEnabled": false, + "decimals": 18, + "name": "Wrapped Ron", + "poolType": "feeTokenOnly", + "symbol": "WRON", + "tokenAddress": "0xA959726154953bAe111746E265E6d754F48570E6" + } + }, "WSBY": { "polkadot-testnet-astar-shibuya": { "allowListEnabled": false, diff --git a/src/config/data/chain-to-technology.json b/src/config/data/chain-to-technology.json index ff0caed1da6..21eb28d14b2 100644 --- a/src/config/data/chain-to-technology.json +++ b/src/config/data/chain-to-technology.json @@ -46,5 +46,7 @@ "ZIRCUIT_MAINNET": "ZIRCUIT", "ZIRCUIT_TESTNET": "ZIRCUIT", "MANTLE_MAINNET": "MANTLE", - "MANTLE_SEPOLIA": "MANTLE" + "MANTLE_SEPOLIA": "MANTLE", + "RONIN_MAINNET": "RONIN", + "RONIN_SAIGON": "RONIN" } diff --git a/src/config/data/chains.json b/src/config/data/chains.json index 09fcd12fc39..4fa31104384 100644 --- a/src/config/data/chains.json +++ b/src/config/data/chains.json @@ -618,5 +618,23 @@ "nativeCurrency": { "name": "Ether", "symbol": "ETH", "decimals": 18 } } } + }, + "RONIN": { + "title": "Ronin", + "icon": "/assets/chains/ronin.svg", + "chains": { + "RONIN_MAINNET": { + "chainId": 2020, + "title": "Ronin", + "explorer": "https://app.roninchain.com", + "nativeCurrency": { "name": "RON", "symbol": "RON", "decimals": 18 } + }, + "RONIN_SAIGON": { + "chainId": 2021, + "title": "Ronin Saigon", + "explorer": "https://saigon-app.roninchain.com", + "nativeCurrency": { "name": "RON", "symbol": "RON", "decimals": 18 } + } + } } } diff --git a/src/config/types.ts b/src/config/types.ts index 82b0e3b6909..0232097c9bc 100644 --- a/src/config/types.ts +++ b/src/config/types.ts @@ -24,6 +24,7 @@ export type SupportedTechnology = | "ASTAR" | "ZIRCUIT" | "MANTLE" + | "RONIN" export type SupportedChain = | "ETHEREUM_MAINNET" | "ETHEREUM_SEPOLIA" @@ -73,6 +74,8 @@ export type SupportedChain = | "ZIRCUIT_TESTNET" | "MANTLE_MAINNET" | "MANTLE_SEPOLIA" + | "RONIN_MAINNET" + | "RONIN_SAIGON" export type Chains = Record< SupportedTechnology, diff --git a/src/config/web3Providers.ts b/src/config/web3Providers.ts index 5eb7872c3f6..b39ae63d14f 100644 --- a/src/config/web3Providers.ts +++ b/src/config/web3Providers.ts @@ -52,6 +52,8 @@ export const chainToProvider: Record providers.Provider> = ZIRCUIT_TESTNET: () => new providers.JsonRpcProvider("https://zircuit1-testnet.p2pify.com"), MANTLE_MAINNET: () => new providers.JsonRpcProvider("https://rpc.mantle.xyz"), MANTLE_SEPOLIA: () => new providers.JsonRpcProvider("https://rpc.sepolia.mantle.xyz"), + RONIN_MAINNET: () => new providers.JsonRpcProvider("https://ronin.lgns.net/rpc"), + RONIN_SAIGON: () => new providers.JsonRpcProvider("https://saigon-testnet.roninchain.com/rpc"), } export const getRpcUrlForChain = (chain: SupportedChain): string => { diff --git a/src/content/ccip/concepts/ccip-execution-latency.mdx b/src/content/ccip/concepts/ccip-execution-latency.mdx index b1b7a634e8b..e00ab9d431d 100644 --- a/src/content/ccip/concepts/ccip-execution-latency.mdx +++ b/src/content/ccip/concepts/ccip-execution-latency.mdx @@ -137,6 +137,7 @@ This section provides an overview of the finality methods CCIP uses to determine | Mode | Finality tag | 37 minutes | | Optimism | Finality tag | 20 minutes | | Polygon | Finality tag | 2 minutes | +| Ronin | Finality tag | 10 seconds | | Scroll | Finality tag | 1 hour | | Wemix | Finality tag | < 1 second | | ZKsync | [Block depth](#block-depth) (1200 blocks) | 20 minutes | diff --git a/src/content/resources/link-token-contracts.mdx b/src/content/resources/link-token-contracts.mdx index 8ebcc559a10..9a8a6145d29 100644 --- a/src/content/resources/link-token-contracts.mdx +++ b/src/content/resources/link-token-contracts.mdx @@ -492,6 +492,36 @@ Testnet LINK is available at [faucets.chain.link/celo-alfajores-testnet](https:/ | Decimals | 18 | | Network status | [explorer.celo.org/alfajores](https://explorer.celo.org/alfajores/) | +## Ronin + +### Ronin Mainnet + +RON is used to pay for transactions on Ronin Mainnet. + +| Parameter | Value | +| :------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| Chain ID | `2020` | +| Address |
| +| Name | Chainlink Token Mainnet | +| Symbol | LINK | +| Decimals | 18 | +| Network status | [app.roninchain.com](https://app.roninchain.com/) | + +### Ronin Saigon testnet + +Testnet RON is used to pay for transactions on Ronin Saigon. + +Testnet LINK are available at [faucets.chain.link/ronin-saigon](https://faucets.chain.link/ronin-saigon). + +| Parameter | Value | +| :------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| Chain ID | `2021` | +| Address |
| +| Name | Chainlink Token testnet | +| Symbol | LINK | +| Decimals | 18 | +| Network status | [app.roninchain.com](https://saigon-app.roninchain.com/) | + ## Scroll ### Scroll mainnet diff --git a/src/features/utils/index.ts b/src/features/utils/index.ts index 4b04645dac1..3383d352831 100644 --- a/src/features/utils/index.ts +++ b/src/features/utils/index.ts @@ -193,6 +193,10 @@ export const directoryToSupportedChain = (chainInRdd: string): SupportedChain => return "MANTLE_MAINNET" case "ethereum-testnet-sepolia-mantle-1": return "MANTLE_SEPOLIA" + case "ronin-mainnet": + return "RONIN_MAINNET" + case "ronin-testnet-saigon": + return "RONIN_SAIGON" default: throw Error(`Chain not found ${chainInRdd}`) } @@ -284,6 +288,10 @@ export const supportedChainToChainInRdd = (supportedChain: SupportedChain): stri return "ethereum-mainnet-mantle-1" case "MANTLE_SEPOLIA": return "ethereum-testnet-sepolia-mantle-1" + case "RONIN_MAINNET": + return "ronin-mainnet" + case "RONIN_SAIGON": + return "ronin-testnet-saigon" default: throw Error(`Chain not found ${supportedChain}`) } diff --git a/src/scripts/reference/chains.json b/src/scripts/reference/chains.json index 4c4d42389ba..a7dcaf3a56e 100644 --- a/src/scripts/reference/chains.json +++ b/src/scripts/reference/chains.json @@ -444,6 +444,37 @@ ], "parent": { "type": "L2", "chain": "eip155-11155111", "bridges": [{ "url": "https://bridge.soneium.org/testnet" }] } }, + { + "name": "Ronin Mainnet", + "title": "Ronin Mainnet", + "chain": "Ronin", + "rpc": ["https://api.roninchain.com/rpc"], + "faucets": [], + "nativeCurrency": { "name": "RON", "symbol": "RON", "decimals": 18 }, + "infoURL": "https://app.roninchain.com", + "shortName": "ronin", + "chainId": 2020, + "networkId": 2020, + "slip44": 60, + "explorers": [{ "name": "Ronin Explorer", "url": "https://app.roninchain.com/", "standard": "EIP3091" }] + }, + { + "name": "Ronin Saigon testnet", + "chain": "Ronin Saigon", + "icon": "edgeware", + "rpc": ["https://saigon-testnet.roninchain.com/rpc"], + "features": [{ "name": "EIP155" }, { "name": "EIP1559" }], + "faucets": [], + "nativeCurrency": { "name": "RON", "symbol": "RON", "decimals": 18 }, + "infoURL": "https://saigon-app.roninchain.com", + "shortName": "ronin", + "chainId": 2021, + "networkId": 2021, + "slip44": 523, + "explorers": [ + { "name": "Ronin Saigon explorer", "url": "https://saigon-app.roninchain.com/", "standard": "EIP3091" } + ] + }, { "name": "Kroma Sepolia", "title": "Kroma Testnet Sepolia", diff --git a/src/scripts/reference/linkNameSymbol.json b/src/scripts/reference/linkNameSymbol.json index 3fb0fca522c..e26b11052d0 100644 --- a/src/scripts/reference/linkNameSymbol.json +++ b/src/scripts/reference/linkNameSymbol.json @@ -195,5 +195,13 @@ "5003": { "name": "ChainLink Token", "symbol": "LINK" + }, + "2020": { + "name": "ChainLink Token", + "symbol": "LINK" + }, + "2021": { + "name": "ChainLink Token", + "symbol": "LINK" } } From ce933ee7c15e3de84d2711106975231c497add6a Mon Sep 17 00:00:00 2001 From: aelmanaa Date: Wed, 11 Dec 2024 15:05:58 +0100 Subject: [PATCH 2/3] ronin --- public/changelog.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/changelog.json b/public/changelog.json index 9a9ce8bd477..d81a544604e 100644 --- a/public/changelog.json +++ b/public/changelog.json @@ -3,7 +3,7 @@ "category": "integration", "changes": [], "date": "2024-12-11", - "description": "Chainlink CCIP is publicly available on Ronin mainnet and Ronin Saigon testnet. Check the [CCIP Directory](https://docs.chain.link/ccip/directory/mainnet/chain/ronin-mainnet) and [CCIP Directory](https://docs.chain.link/ccip/directory/testnet/chain/ronin-testnet-saigon-1) for more information.", + "description": "Chainlink CCIP is publicly available on Ronin mainnet and Ronin Saigon testnet. Check the [CCIP Directory](https://docs.chain.link/ccip/directory/mainnet/chain/ronin-mainnet) and [CCIP Directory](https://docs.chain.link/ccip/directory/testnet/chain/ronin-testnet-saigon) for more information.", "relatedNetworks": ["ronin"], "relatedTokens": [], "title": "CCIP on Ronin", From 574d3704950d58503feb7b67af7a6ca0dcd3febd Mon Sep 17 00:00:00 2001 From: aelmanaa Date: Wed, 11 Dec 2024 15:06:40 +0100 Subject: [PATCH 3/3] ronin --- public/changelog.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/changelog.json b/public/changelog.json index d81a544604e..33c74513486 100644 --- a/public/changelog.json +++ b/public/changelog.json @@ -3,7 +3,7 @@ "category": "integration", "changes": [], "date": "2024-12-11", - "description": "Chainlink CCIP is publicly available on Ronin mainnet and Ronin Saigon testnet. Check the [CCIP Directory](https://docs.chain.link/ccip/directory/mainnet/chain/ronin-mainnet) and [CCIP Directory](https://docs.chain.link/ccip/directory/testnet/chain/ronin-testnet-saigon) for more information.", + "description": "Chainlink CCIP is publicly available on Ronin mainnet and Ronin Saigon testnet. Check the mainnet [CCIP Directory](https://docs.chain.link/ccip/directory/mainnet/chain/ronin-mainnet) and testnet [CCIP Directory](https://docs.chain.link/ccip/directory/testnet/chain/ronin-testnet-saigon) for more information.", "relatedNetworks": ["ronin"], "relatedTokens": [], "title": "CCIP on Ronin",