Skip to content

Commit 54b01d8

Browse files
committed
fix 0g
1 parent d257c92 commit 54b01d8

File tree

12 files changed

+337
-25
lines changed

12 files changed

+337
-25
lines changed

public/assets/chains/janction.svg

Lines changed: 10 additions & 0 deletions
Loading

public/assets/chains/neox.svg

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

src/components/QuickLinks/data/productChainLinks.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,10 @@ export const productChainLinks: ProductChainLinks = {
273273
zora: "/resources/link-token-contracts#zora",
274274
etherlink: "/resources/link-token-contract#etherlink",
275275
opbnb: "/resources/link-token-contracts#opbnb",
276+
janction: "/resources/link-token-contracts#janction",
277+
neo_x: "/resources/link-token-contracts#neo-x",
278+
polygon_katana: "/resources/link-token-contracts#polygon-katana",
279+
"0g": "/resources/link-token-contracts#0g",
276280
},
277281
}
278282

@@ -349,4 +353,7 @@ export const chainNames: Record<string, string> = {
349353
metal: "Metal L2",
350354
rootstock: "Rootstock",
351355
etherlink: "Etherlink",
356+
janction: "Janction",
357+
neo_x: "Neo X",
358+
polygon_katana: "Polygon Katana",
352359
}

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

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"MIND_NETWORK_TESTNET": "MIND_NETWORK",
104104
"MIND_NETWORK_MAINNET": "MIND_NETWORK",
105105
"MEGAETH_TESTNET": "MEGAETH",
106-
"0G_NEWTON_TESTNET": "0G",
106+
"0G_GALILEO_TESTNET": "0G",
107107
"TAIKO_MAINNET": "TAIKO",
108108
"TAIKO_HEKLA": "TAIKO",
109109
"PLUME_MAINNET": "PLUME",
@@ -130,6 +130,9 @@
130130
"GRAVITY_TESTNET": "GRAVITY",
131131
"ETHERLINK_MAINNET": "ETHERLINK",
132132
"ETHERLINK_TESTNET": "ETHERLINK",
133-
"OPBNB_MAINNET": "OPBNB",
134-
"OPBNB_TESTNET": "OPBNB"
133+
"JANCTION_MAINNET": "JANCTION",
134+
"JANCTION_TESTNET": "JANCTION",
135+
"NEO_X_MAINNET": "NEO_X",
136+
"NEO_X_TESTNET": "NEO_X",
137+
"KATANA_TATARA": "POLYGON_KATANA"
135138
}

src/config/data/chains.json

Lines changed: 87 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1610,15 +1610,15 @@
16101610
"icon": "/assets/chains/0G.svg",
16111611
"chainType": "evm",
16121612
"chains": {
1613-
"0G_NEWTON_TESTNET": {
1614-
"chainId": 16600,
1615-
"title": "0G Newton",
1613+
"0G_GALILEO_TESTNET": {
1614+
"chainId": 16601,
1615+
"title": "0G Galileo Testnet",
16161616
"explorer": {
1617-
"baseUrl": "https://chainscan-newton.0g.ai"
1617+
"baseUrl": "https://chainscan-galileo.0g.ai"
16181618
},
16191619
"nativeCurrency": {
1620-
"name": "A0GI",
1621-
"symbol": "A0GI",
1620+
"name": "OG",
1621+
"symbol": "OG",
16221622
"decimals": 18
16231623
}
16241624
}
@@ -2110,5 +2110,86 @@
21102110
}
21112111
}
21122112
}
2113+
},
2114+
"JANCTION": {
2115+
"title": "Janction",
2116+
"icon": "/assets/chains/janction.svg",
2117+
"chainType": "evm",
2118+
"chains": {
2119+
"JANCTION_MAINNET": {
2120+
"chainId": 678,
2121+
"title": "Janction Mainnet",
2122+
"explorer": {
2123+
"baseUrl": ""
2124+
},
2125+
"nativeCurrency": {
2126+
"name": "Janction",
2127+
"symbol": "JCT",
2128+
"decimals": 18
2129+
}
2130+
},
2131+
"JANCTION_TESTNET": {
2132+
"chainId": 679,
2133+
"title": "Janction Testnet",
2134+
"explorer": {
2135+
"baseUrl": "https://janction-testnet-explorer.alt.technology./"
2136+
},
2137+
"nativeCurrency": {
2138+
"name": "Janction",
2139+
"symbol": "JCT",
2140+
"decimals": 18
2141+
}
2142+
}
2143+
}
2144+
},
2145+
"NEO X": {
2146+
"title": "Neo X",
2147+
"icon": "/assets/chains/neox.svg",
2148+
"chainType": "evm",
2149+
"chains": {
2150+
"NEO_X_MAINNET": {
2151+
"chainId": 47763,
2152+
"title": "Neo X Mainnet",
2153+
"explorer": {
2154+
"baseUrl": "https://xexplorer.neo.org"
2155+
},
2156+
"nativeCurrency": {
2157+
"name": "Gas",
2158+
"symbol": "GAS",
2159+
"decimals": 18
2160+
}
2161+
},
2162+
"NEO_X_TESTNET": {
2163+
"chainId": 12227332,
2164+
"title": "Neo X Testnet T4",
2165+
"explorer": {
2166+
"baseUrl": "https://xt4scan.ngd.network"
2167+
},
2168+
"nativeCurrency": {
2169+
"name": "Gas",
2170+
"symbol": "GAS",
2171+
"decimals": 18
2172+
}
2173+
}
2174+
}
2175+
},
2176+
"Polygon Katana": {
2177+
"title": "Polygon Katana",
2178+
"icon": "/assets/chains/polygon-katana.svg",
2179+
"chainType": "evm",
2180+
"chains": {
2181+
"KATANA_TATARA": {
2182+
"chainId": 129399,
2183+
"title": "Tatara Testnet",
2184+
"explorer": {
2185+
"baseUrl": "https://explorer.tatara.katana.network"
2186+
},
2187+
"nativeCurrency": {
2188+
"name": "Ether",
2189+
"symbol": "ETH",
2190+
"decimals": 18
2191+
}
2192+
}
2193+
}
21132194
}
21142195
}

src/config/types.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ export type SupportedTechnology =
6464
| "GRAVITY"
6565
| "ETHERLINK"
6666
| "OPBNB"
67+
| "JANCTION"
68+
| "NEO_X"
69+
| "POLYGON_KATANA"
6770

6871
export type ChainType = "evm" | "solana" | "aptos"
6972

@@ -171,7 +174,7 @@ export type SupportedChain =
171174
| "CRONOS_MAINNET"
172175
| "CRONOS_ZKEVM_TESTNET"
173176
| "CRONOS_ZKEVM_MAINNET"
174-
| "0G_NEWTON_TESTNET"
177+
| "0G_GALILEO_TESTNET"
175178
| "MIND_NETWORK_TESTNET"
176179
| "MIND_NETWORK_MAINNET"
177180
| "MEGAETH_TESTNET"
@@ -203,6 +206,11 @@ export type SupportedChain =
203206
| "ETHERLINK_MAINNET"
204207
| "OPBNB_MAINNET"
205208
| "OPBNB_TESTNET"
209+
| "JANCTION_MAIINET"
210+
| "JANCTION_TESTNET"
211+
| "NEO_X_MAINNET"
212+
| "NEO_X_TESTNET"
213+
| "TATARA_TESTNET"
206214

207215
export type ExplorerInfo = {
208216
baseUrl: string

src/config/web3Providers.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export const chainToProvider: Record<SupportedChain, () => Provider> = {
109109
MIND_NETWORK_TESTNET: () => new JsonRpcProvider("https://rpc-testnet.mindnetwork.xyz"),
110110
MIND_NETWORK_MAINNET: () => new JsonRpcProvider("https://rpc-mainnet.mindnetwork.xyz"),
111111
MEGAETH_TESTNET: () => new JsonRpcProvider("https://carrot.megaeth.com/rpc"),
112-
"0G_NEWTON_TESTNET": () => new JsonRpcProvider("https://evmrpc-testnet.0g.ai"),
112+
"0G_GALILEO_TESTNET": () => new JsonRpcProvider("https://evmrpc-testnet.0g.ai/"),
113113
TAIKO_MAINNET: () => new JsonRpcProvider("https://rpc.mainnet.taiko.xyz"),
114114
TAIKO_HEKLA: () => new JsonRpcProvider("https://rpc.hekla.taiko.xyz"),
115115
PLUME_SEPOLIA: () => new JsonRpcProvider("https://testnet-rpc.plumenetwork.xyz"),
@@ -138,6 +138,11 @@ export const chainToProvider: Record<SupportedChain, () => Provider> = {
138138
ETHERLINK_TESTNET: () => new JsonRpcProvider("https://node.ghostnet.etherlink.com"),
139139
OPBNB_MAINNET: () => new JsonRpcProvider("https://opbnb-mainnet-rpc.bnbchain.org"),
140140
OPBNB_TESTNET: () => new JsonRpcProvider("https://opbnb-testnet-rpc.bnbchain.org"),
141+
JANCTION_MAIINET: () => new JsonRpcProvider("https://rpc.janction.io"),
142+
JANCTION_TESTNET: () => new JsonRpcProvider("hhttps://rpc_testnet.janction.io"),
143+
NEO_X_MAINNET: () => new JsonRpcProvider("https://mainnet-1.rpc.banelabs.org"),
144+
NEO_X_TESTNET: () => new JsonRpcProvider("https://testnet.rpc.banelabs.org/"),
145+
KATANA_TATARA: () => new JsonRpcProvider("https://rpc.tatara.katanarpc.com/"),
141146
}
142147

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

0 commit comments

Comments
 (0)