Skip to content

Commit 54c4b71

Browse files
committed
prework for ab chain and everclear
1 parent 20a68e4 commit 54c4b71

File tree

12 files changed

+170
-2
lines changed

12 files changed

+170
-2
lines changed

public/assets/chains/abchain.svg

Lines changed: 12 additions & 0 deletions
Loading

public/assets/chains/everclear.svg

Lines changed: 27 additions & 0 deletions
Loading

src/components/QuickLinks/data/productChainLinks.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,8 @@ export const productChainLinks: ProductChainLinks = {
311311
tac: "/resources/link-token-contracts#tac",
312312
memento: "/resources/link-token-contracts#memento",
313313
bittensor: "/resources/link-token-contracts#bittensor-evm",
314+
everclear: "/resources/link-token-contracts#everclear",
315+
abchain: "/resources/link-token-contracts#ab-chain",
314316
},
315317
}
316318

@@ -397,4 +399,6 @@ export const chainNames: Record<string, string> = {
397399
memento: "Memento",
398400
xdc: "XDC",
399401
bittensor: "Bittensor EVM",
402+
everclear: "Everclear",
403+
abchain: "AB Chain",
400404
}

src/config/data/ccip/selectors.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ selectors:
117117
2129:
118118
selector: "12168171414969487009"
119119
name: "memento-testnet"
120+
2201:
121+
selector: "11793402411494852765"
122+
name: "stable-testnet"
120123
2221:
121124
selector: "2110537777356199208"
122125
name: "kava-testnet"
@@ -349,6 +352,9 @@ selectors:
349352
6342:
350353
selector: "2443239559770384419"
351354
name: "megaeth-testnet"
355+
6343:
356+
selector: "18241817625092392675"
357+
name: "megaeth-testnet-2"
352358
999999999:
353359
selector: "16244020411108056671"
354360
name: "zora-testnet"
@@ -409,9 +415,15 @@ selectors:
409415
167012:
410416
selector: "9873759436596923887"
411417
name: "ethereum-testnet-hoodi-taiko"
418+
167013:
419+
selector: "15858691699034549072"
420+
name: "ethereum-testnet-hoodi-taiko-1"
412421
26888:
413422
selector: "7051849327615092843"
414423
name: "ab-testnet"
424+
688689:
425+
selector: "16098325658947243212"
426+
name: "pharos-atlantic-testnet"
415427

416428
# Mainnets
417429
1:
@@ -498,6 +510,9 @@ selectors:
498510
592:
499511
selector: "6422105447186081193"
500512
name: "polkadot-mainnet-astar"
513+
988:
514+
selector: "16978377838628290997"
515+
name: "stable-mainnet"
501516
999:
502517
selector: "2442541497099098535"
503518
name: "hyperliquid-mainnet"

src/config/data/chain-to-technology.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,5 +152,7 @@
152152
"MEMENTO_TESTNET": "MEMENTO",
153153
"XDC_MAINNET": "XDC",
154154
"XDC_TESTNET": "XDC",
155-
"BITTENSOR_MAINNET": "BITTENSOR"
155+
"BITTENSOR_MAINNET": "BITTENSOR",
156+
"EVERCLEAR_MAINNET": "EVERCLEAR",
157+
"AB_CHAIN_MAINNET": "AB_CHAIN"
156158
}

src/config/data/chains.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2426,5 +2426,43 @@
24262426
}
24272427
}
24282428
}
2429+
},
2430+
"EVERCLEAR": {
2431+
"title": "Everclear",
2432+
"icon": "/assets/chains/everclear.svg",
2433+
"chainType": "evm",
2434+
"chains": {
2435+
"EVERCLEAR_MAINNET": {
2436+
"chainId": 25327,
2437+
"title": "Everclear Mainnet",
2438+
"explorer": {
2439+
"baseUrl": "https://scan.everclear.org"
2440+
},
2441+
"nativeCurrency": {
2442+
"name": "ETH",
2443+
"symbol": "ETH",
2444+
"decimals": 18
2445+
}
2446+
}
2447+
}
2448+
},
2449+
"AB_CHAIN": {
2450+
"title": "AB Chain",
2451+
"icon": "/assets/chains/abchain.svg",
2452+
"chainType": "evm",
2453+
"chains": {
2454+
"AB_CHAIN_MAINNET": {
2455+
"chainId": 36888,
2456+
"title": "AB Chain",
2457+
"explorer": {
2458+
"baseUrl": "https://explorer.core.ab.org/"
2459+
},
2460+
"nativeCurrency": {
2461+
"name": "AB",
2462+
"symbol": "AB",
2463+
"decimals": 18
2464+
}
2465+
}
2466+
}
24292467
}
24302468
}

src/config/types.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ export type SupportedTechnology =
7373
| "MEMENTO"
7474
| "XDC"
7575
| "BITTENSOR"
76+
| "EVERCLEAR"
77+
| "AB_CHAIN"
7678

7779
export type ChainType = "evm" | "solana" | "aptos"
7880

@@ -233,6 +235,8 @@ export type SupportedChain =
233235
| "XDC_MAINNET"
234236
| "XDC_TESTNET"
235237
| "BITTENSOR_MAINNET"
238+
| "EVERCLEAR_MAINNET"
239+
| "AB_CHAIN_MAINNET"
236240
export type ExplorerInfo = {
237241
baseUrl: string
238242
queryParameters?: {

src/config/web3Providers.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ export const chainToProvider: Record<SupportedChain, () => Provider> = {
158158
MEMENTO_TESTNET: () => new JsonRpcProvider("https://testnet-rpc.mementoblockchain.com"),
159159
XDC_MAINNET: () => new JsonRpcProvider("https://erpc.xinfin.network"),
160160
XDC_TESTNET: () => new JsonRpcProvider("https://rpc.apothem.network/"),
161-
BITTENSOR_MAINNET: () => new JsonRpcProvider("ttps://lite.chain.opentensor.ai"),
161+
BITTENSOR_MAINNET: () => new JsonRpcProvider("https://lite.chain.opentensor.ai"),
162+
EVERCLEAR_MAINNET: () => new JsonRpcProvider("https://rpc.everclear.raas.gelato.cloud"),
163+
AB_CHAIN_MAINNET: () => new JsonRpcProvider("https://rpc.core.ab.org"),
162164
}
163165

164166
export const getRpcUrlForChain = (chain: SupportedChain): string => {

src/content/resources/link-token-contracts.mdx

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,18 @@ To use Chainlink services on a given blockchain, it is necessary to use LINK tok
4141
| Symbol | LINK |
4242
| Decimals | 18 |
4343

44+
## <img src="/assets/chains/abchain.svg" style="height: 24px; width: auto; margin-right: 8px;" />AB Chain
45+
46+
### AB Chain Mainnet
47+
48+
| Parameter | Value |
49+
| :-------- | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
50+
| Chain ID | `36888` |
51+
| Address | <Address contractUrl="https://explorer.core.ab.org/address/0x76a443768A5e3B8d1AED0105FC250877841Deb40" urlId="36888_0x76a443768A5e3B8d1AED0105FC250877841Deb40" urlClass="erc-token-address"/> |
52+
| Name | Chainlink Token on AB Chain |
53+
| Symbol | LINK |
54+
| Decimals | 18 |
55+
4456
## <img src="/assets/chains/abstract.svg" style="height: 24px; width: auto; margin-right: 8px;" />Abstract
4557

4658
### Abstract Mainnet
@@ -590,6 +602,18 @@ Testnet ETH and LINK are available at [faucets.chain.link/holesky](https://fauce
590602
| Symbol | LINK |
591603
| Decimals | 18 |
592604

605+
## <img src="/assets/chains/everclear.svg" style="height: 24px; width: auto; margin-right: 8px;" />Everclear
606+
607+
### Everclear Mainnet
608+
609+
| Parameter | Value |
610+
| :-------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
611+
| Chain ID | `25327` |
612+
| Address | <Address contractUrl="https://scan.everclear.org/address/0x318Ec96df83AccC18B5EAD5D23e0F022F7Eb5503" urlId="25327_0x318Ec96df83AccC18B5EAD5D23e0F022F7Eb5503" urlClass="erc-token-address"/> |
613+
| Name | Chainlink Token on Everclear Mainnet |
614+
| Symbol | LINK |
615+
| Decimals | 18 |
616+
593617
## <img src="/assets/chains/fantom.svg" style="height: 24px; width: auto; margin-right: 8px;" />Fantom
594618

595619
### Fantom Mainnet

src/features/utils/index.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,10 @@ export const directoryToSupportedChain = (chainInRdd: string): SupportedChain =>
504504
return "XDC_TESTNET"
505505
case "bittensor-mainnet":
506506
return "BITTENSOR_MAINNET"
507+
case "everclear-mainnet":
508+
return "EVERCLEAR_MAINNET"
509+
case "ab-chain-mainnet":
510+
return "AB_CHAIN_MAINNET"
507511
default:
508512
throw Error(`Chain not found ${chainInRdd}`)
509513
}
@@ -807,6 +811,10 @@ export const supportedChainToChainInRdd = (supportedChain: SupportedChain): stri
807811
return "xdc-testnet"
808812
case "BITTENSOR_MAINNET":
809813
return "bittensor-mainnet"
814+
case "EVERCLEAR_MAINNET":
815+
return "everclear-mainnet"
816+
case "AB_CHAIN_MAINNET":
817+
return "ab-chain-mainnet"
810818
default:
811819
throw Error(`Chain not found ${supportedChain}`)
812820
}

0 commit comments

Comments
 (0)