Skip to content

Commit dc3150f

Browse files
gfletcher-cllaelmanaakhadni
authored
chain integration pre-work (#2340)
* fix errors * selectors script * selectors script * Create fraxtal.svg * Create hyperliquid.svg * Create merlin.svg * Update productChainLinks.ts * Update chain-to-technology.json * Update linkNameSymbol.json * Update productChainLinks.ts * Update chains.json * Update chains.json * Update chains.json * fix * added mainnets for good measure * new testnets * fix * fix * fix * Update changelog.json add CCIP botanix back to changelog * berachain * berachain --------- Co-authored-by: aelmanaa <[email protected]> Co-authored-by: Amine E. <[email protected]> Co-authored-by: Karim <[email protected]>
1 parent e8939b2 commit dc3150f

File tree

25 files changed

+1161
-48
lines changed

25 files changed

+1161
-48
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ typechain-types/
4040
.cache
4141
.idea
4242
.vercel
43+
44+
selector.yml.backup

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"linkcheck-internal": "npx ts-node -r tsconfig-paths/register src/scripts/link-check/linkcheck.ts",
1414
"linkcheck-external": "npx ts-node -r tsconfig-paths/register src/scripts/link-check/linkcheck.ts --mode=external",
1515
"compare-chains-metadata": "npx ts-node -r tsconfig-paths/register src/scripts/chains-metadata.ts",
16+
"fetch-selectors": "npx ts-node -r tsconfig-paths/register src/scripts/ccip/fetch-selectors.ts",
1617
"update-algolia-index": "tsc scripts/update-algolia-index.ts --resolveJsonModule && node scripts/update-algolia-index.js ",
1718
"sync-chainlink-automation-config": "npx ts-node -r tsconfig-paths/register src/scripts/chainlink-automation/networks-config.ts",
1819
"find-nonchecksummed-addresses": "npx ts-node -r tsconfig-paths/register src/scripts/helper/find-nonchecksummed-addresses.ts",

public/assets/chains/fraxtal.svg

Lines changed: 5 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading

public/assets/chains/lens.svg

Lines changed: 4 additions & 0 deletions
Loading

public/assets/chains/merlin.svg

Lines changed: 10 additions & 0 deletions
Loading

public/assets/chains/unichain.svg

Lines changed: 1 addition & 0 deletions
Loading

public/changelog.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
[
2+
{
3+
"category": "integration",
4+
"changes": [],
5+
"date": "2025-02-12",
6+
"description": "Chainlink CCIP expands support to new blockchains:\n\n- Merlin Testnet\n- Fraxtal Testnet\n- Lens Sepolia\n- Unichain Sepolia\n- Berachain Bartio\n\nCheck the [CCIP Directory](https://docs.chain.link/ccip/directory/testnet) for more information.",
7+
"relatedNetworks": ["merlin", "fraxtal", "lens", "unichain", "berachain"],
8+
"relatedTokens": [],
9+
"topic": "ccip",
10+
"title": "CCIP Expands to New Blockchains",
11+
"urls": []
12+
},
213
{
314
"category": "integration",
415
"changes": [],
@@ -62,8 +73,8 @@
6273
"category": "integration",
6374
"changes": [],
6475
"date": "2025-02-07",
65-
"description": "Chainlink CCIP expands support to new blockchains:\n\n- Bitlayer\n- Corn Network\n- Hashkey Chain\n- Ink\n- Polygon zkEVM\n- Sei Network\n- Soneium\n- XLayer\n\nCheck the [mainnet CCIP Directory](https://docs.chain.link/ccip/directory/mainnet) and [testnet CCIP Directory](https://docs.chain.link/ccip/directory/testnet) for contract addresses and network details.",
66-
"relatedNetworks": ["bitlayer", "corn", "hashkey", "ink", "polygonzkevm", "sei", "soneium", "xlayer"],
76+
"description": "Chainlink CCIP expands support to new blockchains:\n\n- Bitlayer\n- Botanix\n- Corn Network\n- Hashkey Chain\n- Ink\n- Polygon zkEVM\n- Sei Network\n- Soneium\n- XLayer\n\nCheck the [mainnet CCIP Directory](https://docs.chain.link/ccip/directory/mainnet) and [testnet CCIP Directory](https://docs.chain.link/ccip/directory/testnet) for contract addresses and network details.",
77+
"relatedNetworks": ["bitlayer", "corn", "hashkey", "ink", "polygonzkevm", "sei", "soneium", "xlayer", "botanix"],
6778
"relatedTokens": [],
6879
"title": "CCIP Expands to New Blockchains",
6980
"topic": "ccip",

src/components/QuickLinks/data/productChainLinks.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ export const productChainLinks: ProductChainLinks = {
5757
sei: "/ccip/directory/mainnet/chain/sei-mainnet",
5858
monad: "/ccip/directory/testnet/chain/monad-testnet",
5959
treasure: "/ccip/directory/mainnet/chain/treasure-mainnet",
60+
merlin: "/ccip/directory/testnet/chain/bitcoin-testnet-merlin",
61+
fraxtal: "/ccip/directory/testnet/chain/ethereum-testnet-holesky-fraxtal-1",
62+
lens: "/ccip/directory/testnet/chain/ethereum-testnet-sepolia-lens-1",
63+
unichain: "/ccip/directory/testnet/chain/ethereum-testnet-sepolia-unichain-1",
64+
berachain: "/ccip/directory/testnet/chain/berachain-testnet-bartio",
6065
},
6166
},
6267
"Data Feeds": {
@@ -210,6 +215,10 @@ export const productChainLinks: ProductChainLinks = {
210215
monad: "/resources/link-token-contracts#monad",
211216
treasure: "/resources/link-token-contracts#treasure",
212217
unichain: "/resources/link-token-contracts#unichain",
218+
merlin: "/resources/link-token-contracts#merlin",
219+
fraxtal: "/resources/link-token-contracts#fraxtal",
220+
lens: "/resources/link-token-contracts#lens",
221+
berachain: "/resources/link-token-contracts#berachain",
213222
},
214223
}
215224

@@ -261,5 +270,10 @@ export const chainNames: Record<string, string> = {
261270
core: "Core",
262271
monad: "Monad",
263272
treasure: "Treasure",
273+
lens: "Lens",
264274
unichain: "Unichain",
275+
hyperliquid: "Hyperliquid",
276+
merlin: "Merlin",
277+
fraxtal: "Fraxtal",
278+
zeta: "Zeta",
265279
}

src/config/data/ccip/paths.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
/**
2+
* Configuration paths for CCIP-related files and directories.
3+
* This module centralizes all path-related constants for CCIP configuration.
4+
*/
5+
6+
import path from "path"
7+
8+
/** Base directory for all CCIP configuration files */
9+
export const CCIP_CONFIG_DIR = path.join("src", "config", "data", "ccip")
10+
11+
/** Path for the chain selectors configuration file */
12+
export const SELECTOR_CONFIG_PATH = path.join(CCIP_CONFIG_DIR, "selector.yml")
13+
14+
/** Path for the backup file when updating selectors */
15+
export const SELECTOR_BACKUP_PATH = `${SELECTOR_CONFIG_PATH}.backup`
16+
17+
/** Source URL for the official chain selectors YAML file */
18+
export const SELECTORS_SOURCE_URL =
19+
"https://raw.githubusercontent.com/smartcontractkit/chain-selectors/refs/heads/main/selectors.yml"

0 commit comments

Comments
 (0)