@@ -34,6 +34,10 @@ export enum ChainID {
3434 RISE_SEPOLIA = 11155931 ,
3535 OP_BNB = 204 ,
3636 OP_BNB_TESTNET = 5611 ,
37+ LINEA = 59144 ,
38+ POLYGON_ZKEVM = 1101 ,
39+ ZKSYNC = 324 ,
40+ SCROLL = 534352 ,
3741}
3842
3943export const CHAIN_MAP : ChainMapInterface = {
@@ -65,6 +69,10 @@ export const CHAIN_MAP: ChainMapInterface = {
6569 [ ChainID . RISE_SEPOLIA ] : 'rise-sepolia' ,
6670 [ ChainID . OP_BNB ] : "obnb" ,
6771 [ ChainID . OP_BNB_TESTNET ] : "obnbt" ,
72+ [ ChainID . LINEA ] : "linea" ,
73+ [ ChainID . POLYGON_ZKEVM ] : "zkevm" ,
74+ [ ChainID . ZKSYNC ] : "zksync" ,
75+ [ ChainID . SCROLL ] : "scr" ,
6876} ;
6977
7078export const CHAIN_NAME_MAP : ChainMapInterface = {
@@ -93,8 +101,12 @@ export const CHAIN_NAME_MAP: ChainMapInterface = {
93101 [ ChainID . CELO ] : 'Celo' ,
94102 [ ChainID . CELO_ALFAJORES ] : 'Celo (Alfajores Testnet)' ,
95103 [ ChainID . RISE_SEPOLIA ] : 'Rise (Sepolia Testnet)' ,
96- [ ChainID . OP_BNB ] : "opBNB Mainnet " ,
104+ [ ChainID . OP_BNB ] : "opBNB" ,
97105 [ ChainID . OP_BNB_TESTNET ] : "opBNB Testnet" ,
106+ [ ChainID . LINEA ] : "Linea" ,
107+ [ ChainID . POLYGON_ZKEVM ] : "Polygon zkEVM" ,
108+ [ ChainID . ZKSYNC ] : "zkSync" ,
109+ [ ChainID . SCROLL ] : "Scroll" ,
98110} ;
99111
100112const INFURA_API_KEY = Env . INFURA_API_KEY ?? "9f79b2f9274344af90b8d4e244b580ef"
@@ -110,8 +122,20 @@ export const CHAIN_CONFIG: {[chain: number]: IChainConfig} = {
110122 [ ChainID . ETHEREUM ] : {
111123 rpc : [
112124 `https://mainnet.infura.io/v3/${ INFURA_API_KEY } ` ,
113- "https://1rpc.io/eth" ,
114- "https://eth.llamarpc.com"
125+ 'https://1rpc.io/eth' ,
126+ 'https://eth.llamarpc.com' ,
127+ 'https://api.mycryptoapi.com/eth' ,
128+ 'https://cloudflare-eth.com' ,
129+ 'https://ethereum-rpc.publicnode.com' ,
130+ 'https://mainnet.gateway.tenderly.co' ,
131+ 'https://rpc.blocknative.com/boost' ,
132+ 'https://rpc.flashbots.net' ,
133+ 'https://rpc.flashbots.net/fast' ,
134+ 'https://rpc.mevblocker.io' ,
135+ 'https://rpc.mevblocker.io/fast' ,
136+ 'https://rpc.mevblocker.io/noreverts' ,
137+ 'https://rpc.mevblocker.io/fullprivacy' ,
138+ 'https://eth.drpc.org' ,
115139 ] ,
116140 explorer : 'https://etherscan.com/tx/'
117141 } ,
@@ -142,7 +166,22 @@ export const CHAIN_CONFIG: {[chain: number]: IChainConfig} = {
142166 explorer : 'https://amoy.polygonscan.com/tx/'
143167 } ,
144168 [ ChainID . BSC ] : {
145- rpc : 'https://bsc-dataseed.binance.org/' ,
169+ rpc : [
170+ 'https://bsc-dataseed.binance.org/' ,
171+ 'https://bsc-dataseed1.bnbchain.org' ,
172+ 'https://bsc-dataseed2.bnbchain.org' ,
173+ 'https://bsc-dataseed3.bnbchain.org' ,
174+ 'https://bsc-dataseed4.bnbchain.org' ,
175+ 'https://bsc-dataseed1.defibit.io' ,
176+ 'https://bsc-dataseed2.defibit.io' ,
177+ 'https://bsc-dataseed3.defibit.io' ,
178+ 'https://bsc-dataseed4.defibit.io' ,
179+ 'https://bsc-dataseed1.ninicoin.io' ,
180+ 'https://bsc-dataseed2.ninicoin.io' ,
181+ 'https://bsc-dataseed3.ninicoin.io' ,
182+ 'https://bsc-dataseed4.ninicoin.io' ,
183+ 'https://bsc-rpc.publicnode.com' ,
184+ ] ,
146185 explorer : 'https://bscscan.com/tx/'
147186 } ,
148187 [ ChainID . BSC_TESTNET ] : {
@@ -158,11 +197,20 @@ export const CHAIN_CONFIG: {[chain: number]: IChainConfig} = {
158197 explorer : 'https://ftmscan.com/tx/'
159198 } ,
160199 [ ChainID . ARBITRUM ] : {
161- rpc : 'https://arb1.arbitrum.io/rpc' ,
200+ rpc : [
201+ 'https://arb1.arbitrum.io/rpc' ,
202+ `https://arbitrum-mainnet.infura.io/v3/${ INFURA_API_KEY } ` ,
203+ `https://arbitrum-one.publicnode.com` ,
204+ ] ,
162205 explorer : 'https://arbiscan.io/tx/'
163206 } ,
164207 [ ChainID . OPTIMISM ] : {
165- rpc : 'https://mainnet.optimism.io' ,
208+ rpc : [
209+ 'https://mainnet.optimism.io' ,
210+ "https://optimism-rpc.publicnode.com" ,
211+ "https://optimism.gateway.tenderly.co" ,
212+ "https://optimism.drpc.org" ,
213+ ] ,
166214 explorer : 'https://optimistic.etherscan.io/tx/'
167215 } ,
168216 [ ChainID . KAIA ] : {
@@ -243,13 +291,55 @@ export const CHAIN_CONFIG: {[chain: number]: IChainConfig} = {
243291 explorer : 'https://testnet-explorer.riselabs.xyz/tx/' ,
244292 } ,
245293 [ ChainID . OP_BNB ] : {
246- rpc : 'https://opbnb-mainnet-rpc.bnbchain.org' ,
294+ rpc : [
295+ 'https://opbnb-mainnet-rpc.bnbchain.org' ,
296+ 'https://opbnb-mainnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3' ,
297+ 'https://opbnb-mainnet.nodereal.io/v1/e9a36765eb8a40b9bd12e680a1fd2bc5' ,
298+ 'https://opbnb-rpc.publicnode.com' ,
299+ 'https://opbnb.drpc.org' ,
300+ ] ,
247301 explorer : 'https://opbnb.bscscan.com/tx/'
248302 } ,
249303 [ ChainID . OP_BNB_TESTNET ] : {
250- rpc : 'https://opbnb-testnet-rpc.bnbchain.org' ,
304+ rpc : [
305+ 'https://opbnb-testnet-rpc.bnbchain.org' ,
306+ 'https://opbnb-testnet.nodereal.io/v1/64a9df0874fb4a93b9d0a3849de012d3' ,
307+ 'https://opbnb-testnet.nodereal.io/v1/e9a36765eb8a40b9bd12e680a1fd2bc5' ,
308+ 'https://opbnb-testnet-rpc.publicnode.com' ,
309+ ] ,
251310 explorer : 'https://opbnb-testnet.bscscan.com/tx/'
252311 } ,
312+ [ ChainID . LINEA ] : {
313+ rpc : [
314+ 'https://rpc.linea.build' ,
315+ `https://linea-mainnet.infura.io/v3/${ INFURA_API_KEY } ` ,
316+ 'https://linea-rpc.publicnode.com' ,
317+ ] ,
318+ explorer : 'https://lineascan.build/tx/'
319+ } ,
320+ [ ChainID . POLYGON_ZKEVM ] : {
321+ rpc : [
322+ 'https://zkevm-rpc.com' ,
323+ 'https://polygon-zkevm.drpc.org'
324+ ] ,
325+ explorer : 'https://zkevm.polygonscan.com/tx/'
326+ } ,
327+ [ ChainID . ZKSYNC ] : {
328+ rpc : [
329+ 'https://mainnet.era.zksync.io' ,
330+ 'https://zksync.drpc.org'
331+ ] ,
332+ explorer : 'https://explorer.zksync.io/tx/'
333+ } ,
334+ [ ChainID . SCROLL ] : {
335+ rpc : [
336+ 'https://rpc.scroll.io' ,
337+ 'https://rpc.ankr.com/scroll' ,
338+ 'https://scroll-mainnet.chainstacklabs.com' ,
339+ 'https://scroll-rpc.publicnode.com'
340+ ] ,
341+ explorer : 'https://scrollscan.com/tx/'
342+ } ,
253343}
254344
255345export const ERC721_ABI_JSON = [
0 commit comments