Skip to content

Commit 8957d75

Browse files
committed
0g, etherlink, opbnb
1 parent 6ea2a38 commit 8957d75

File tree

13 files changed

+293
-34
lines changed

13 files changed

+293
-34
lines changed

public/assets/chains/etherlink.svg

Lines changed: 8 additions & 0 deletions
Loading

src/components/QuickLinks/data/productChainLinks.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@ export const productChainLinks: ProductChainLinks = {
269269
taiko: "/resources/link-token-contracts#taiko",
270270
megaeth: "/resources/link-token-contracts#megaeth",
271271
zora: "/resources/link-token-contracts#zora",
272+
etherlink: "/resources/link-token-contract#etherlink",
272273
},
273274
}
274275

@@ -344,4 +345,6 @@ export const chainNames: Record<string, string> = {
344345
superseed: "Superseed",
345346
metal: "Metal L2",
346347
rootstock: "Rootstock",
348+
etherlink: "Etherlink",
349+
opbnb: "opBNB",
347350
}

src/config/data/ccip/selectors.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ selectors:
147147
16600:
148148
selector: "16088006396410204581"
149149
name: "0g-testnet-newton"
150+
16601:
151+
selector: "2131427466778448014"
152+
name: "0g-testnet-galileo"
150153
33111:
151154
selector: "9900119385908781505"
152155
name: "apechain-testnet-curtis"
@@ -159,6 +162,9 @@ selectors:
159162
44787:
160163
selector: "3552045678561919002"
161164
name: "celo-testnet-alfajores"
165+
48898:
166+
selector: "13781831279385219069"
167+
name: "zircuit-testnet-garfield"
162168
48899:
163169
selector: "4562743618362911021"
164170
name: "ethereum-testnet-sepolia-zircuit-1"
@@ -343,6 +349,9 @@ selectors:
343349
9000:
344350
selector: "344208382356656551"
345351
name: "ondo-testnet"
352+
129399:
353+
selector: "9090863410735740267"
354+
name: "polygon-testnet-katana-tatara"
346355

347356
# Mainnets
348357
1:
@@ -617,3 +626,9 @@ selectors:
617626
68414:
618627
selector: "12657445206920369324"
619628
name: "nexon-mainnet-henesys"
629+
7000:
630+
selector: "10817664450262215148"
631+
name: "zetachain-mainnet"
632+
1030:
633+
selector: "3358365939762719202"
634+
name: "conflux-mainnet"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
selectors:
2+
1:
3+
name: aptos-mainnet
4+
selector: "4741433654826277614"
5+
2:
6+
name: aptos-testnet
7+
selector: "743186221051783445"
8+
4:
9+
name: aptos-localnet
10+
selector: "4457093679053095497"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
selectors:
2+
"5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d": # bash58 encoded genesis hash, https://solana.com/docs/rpc/http/getgenesishash
3+
name: solana-mainnet
4+
selector: "124615329519749607"
5+
"4uhcVJyU9pJkvQyS88uRDiswHXSCkY3zQawwpjk2NsNY":
6+
name: solana-testnet
7+
selector: "6302590918974934319"
8+
"EtWTRABZaYq6iMfeYKouRu166VU2xqa1wcaWoxPkrZBG":
9+
name: solana-devnet
10+
selector: "16423721717087811551"

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,5 +127,9 @@
127127
"ROOTSTOCK_MAINNET": "ROOTSTOCK",
128128
"ROOTSTOCK_TESTNET": "ROOTSTOCK",
129129
"GRAVITY_MAINNET": "GRAVITY",
130-
"GRAVITY_TESTNET": "GRAVITY"
130+
"GRAVITY_TESTNET": "GRAVITY",
131+
"ETHERLINK_MAINNET": "ETHERLINK",
132+
"ETHERLINK_TESTNET": "ETHERLINK",
133+
"OPBNB_MAINNET": "OPBNB",
134+
"OPBNB_TESTNET": "OPBNB"
131135
}

src/config/data/chains.json

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2048,5 +2048,67 @@
20482048
}
20492049
}
20502050
}
2051+
},
2052+
"OPBNB": {
2053+
"title": "opBNB",
2054+
"icon": "/assets/chains/opbnb.svg",
2055+
"chainType": "evm",
2056+
"chains": {
2057+
"OPBNB_MAINNET": {
2058+
"chainId": 204,
2059+
"title": "opBNB Mainnet",
2060+
"explorer": {
2061+
"baseUrl": "https://mainnet.opbnbscan.com"
2062+
},
2063+
"nativeCurrency": {
2064+
"name": "BNB Chain Native Token",
2065+
"symbol": "BNB",
2066+
"decimals": 18
2067+
}
2068+
},
2069+
"OPBNB_TESTNET": {
2070+
"chainId": 5611,
2071+
"title": "opBNB Testnet",
2072+
"explorer": {
2073+
"baseUrl": "https://opbnb-testnet.bscscan.com"
2074+
},
2075+
"nativeCurrency": {
2076+
"name": "BNB Chain Native Token",
2077+
"symbol": "tBNB",
2078+
"decimals": 18
2079+
}
2080+
}
2081+
}
2082+
},
2083+
"ETHERLINK": {
2084+
"title": "Etherlink",
2085+
"icon": "/assets/chains/etherlink.svg",
2086+
"chainType": "evm",
2087+
"chains": {
2088+
"ETHERLINK_MAINNET": {
2089+
"chainId": 42793,
2090+
"title": "Etherlink Mainnet",
2091+
"explorer": {
2092+
"baseUrl": "https://explorer.etherlink.com"
2093+
},
2094+
"nativeCurrency": {
2095+
"name": "tez",
2096+
"symbol": "XTZ",
2097+
"decimals": 18
2098+
}
2099+
},
2100+
"ETHERLINK_TESTNET": {
2101+
"chainId": 128123,
2102+
"title": "Etherlink Testnet",
2103+
"explorer": {
2104+
"baseUrl": "https://testnet-explorer.etherlink.com"
2105+
},
2106+
"nativeCurrency": {
2107+
"name": "tez",
2108+
"symbol": "XTZ",
2109+
"decimals": 18
2110+
}
2111+
}
2112+
}
20512113
}
20522114
}

src/config/types.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ export type SupportedTechnology =
6262
| "MINT"
6363
| "SUPERSEED"
6464
| "GRAVITY"
65+
| "ETHERLINK"
66+
| "OPBNB"
6567

6668
export type ChainType = "evm" | "solana" | "aptos"
6769

@@ -197,6 +199,10 @@ export type SupportedChain =
197199
| "ROOTSTOCK_MAINNET"
198200
| "GRAVITY_MAINNET"
199201
| "GRAVITY_TESTNET"
202+
| "ETHERLINK_TESTNET"
203+
| "ETHERLINK_MAINNET"
204+
| "OPBNB_MAINNET"
205+
| "OPBNB_TESTNET"
200206

201207
export type ExplorerInfo = {
202208
baseUrl: string

src/config/web3Providers.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,10 @@ export const chainToProvider: Record<SupportedChain, () => Provider> = {
134134
ROOTSTOCK_TESTNET: () => new JsonRpcProvider("https://public-node.testnet.rsk.co"),
135135
GRAVITY_MAINNET: () => new JsonRpcProvider("https://rpc.gravity.xyz"),
136136
GRAVITY_TESTNET: () => new JsonRpcProvider("https://rpc-sepolia.gravity.xyz"),
137+
ETHERLINK_MAINNET: () => new JsonRpcProvider("https://node.mainnet.etherlink.com"),
138+
ETHERLINK_TESTNET: () => new JsonRpcProvider("https://node.ghostnet.etherlink.com"),
139+
OPBNB_MAINNET: () => new JsonRpcProvider("https://opbnb-mainnet-rpc.bnbchain.org"),
140+
OPBNB_TESTNET: () => new JsonRpcProvider("https://opbnb-testnet-rpc.bnbchain.org"),
137141
}
138142

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

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

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,28 @@ Testnet ETH and LINK are available at [faucets.chain.link/holesky](https://fauce
534534
| Decimals | 18 |
535535
| Network status | [etherscan.freshstatus.io](https://etherscan.freshstatus.io/) |
536536

537+
## <img src="/assets/chains/etherlink.svg" style="height: 24px; width: auto; margin-right: 8px;" />Etherlink
538+
539+
### Etherlink Mainnet
540+
541+
| Parameter | Value |
542+
| :-------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
543+
| Chain ID | `42793` |
544+
| Address | <Address contractUrl="https://explorer.etherlink.com/address/0x8ce7618E8f8E514d13889283F58FF03B794e6CC3" urlId="1_0x8ce7618E8f8E514d13889283F58FF03B794e6CC3" urlClass="erc-token-address"/> |
545+
| Name | Chainlink Token on Etherlink Mainnet |
546+
| Symbol | LINK |
547+
| Decimals | 18 |
548+
549+
### Etherlink Testnet
550+
551+
| Parameter | Value |
552+
| :-------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
553+
| Chain ID | `128123` |
554+
| Address | <Address contractUrl="https://testnet.explorer.etherlink.com/address/0xE02E6E94d4a5E215F308bDd564a1B6f13AA56950" urlId="11155111_0xE02E6E94d4a5E215F308bDd564a1B6f13AA56950" urlClass="erc-token-address"/> |
555+
| Name | Chainlink Token on Etherlink Testnet |
556+
| Symbol | LINK |
557+
| Decimals | 18 |
558+
537559
## <img src="/assets/chains/fantom.svg" style="height: 24px; width: auto; margin-right: 8px;" />Fantom
538560

539561
### Fantom Mainnet

0 commit comments

Comments
 (0)