evm-networks.ts 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918
  1. export const getContractAddress = (networkId: number) =>
  2. isSupportedNetwork(networkId)
  3. ? NETWORK_INFO[networkId].contractAddress
  4. : undefined;
  5. export const getRpcUrl = (networkId: number) =>
  6. isSupportedNetwork(networkId) ? NETWORK_INFO[networkId].rpcUrl : undefined;
  7. const isSupportedNetwork = (
  8. networkId: number,
  9. ): networkId is keyof typeof NETWORK_INFO => networkId in NETWORK_INFO;
  10. type NetworkInfo = {
  11. name: string;
  12. rpcUrl: string;
  13. isMainnet: boolean;
  14. contractAddress: `0x${string}`;
  15. };
  16. // TODO Currently, contract_manager is designed in a way that does not work in
  17. // any js environment except nodejs, including browsers and the Edge runtime.
  18. // So the network info here is just restructured info from contract_manager.
  19. // However, once contract_manager is refactored to work on web, we should
  20. // replace this and should use contract_manager to drive all this info instead.
  21. export const NETWORK_INFO = {
  22. [1]: {
  23. name: "ethereum",
  24. rpcUrl: `https://eth.llamarpc.com `,
  25. isMainnet: true,
  26. contractAddress: "0x4305FB66699C3B2702D4d05CF36551390A4c69C6",
  27. },
  28. [10]: {
  29. name: "optimism",
  30. rpcUrl: "https://rpc.ankr.com/optimism",
  31. isMainnet: true,
  32. contractAddress: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C",
  33. },
  34. [25]: {
  35. name: "cronos",
  36. rpcUrl: "https://cronosrpc-1.xstaking.sg",
  37. isMainnet: true,
  38. contractAddress: "0xE0d0e68297772Dd5a1f1D99897c581E2082dbA5B",
  39. },
  40. [56]: {
  41. name: "bsc",
  42. rpcUrl: "https://rpc.ankr.com/bsc",
  43. isMainnet: true,
  44. contractAddress: "0x4D7E825f80bDf85e913E0DD2A2D54927e9dE1594",
  45. },
  46. [71]: {
  47. name: "conflux_espace_testnet",
  48. rpcUrl: "https://evmtestnet.confluxrpc.com",
  49. isMainnet: false,
  50. contractAddress: "0xDd24F84d36BF92C65F92307595335bdFab5Bbd21",
  51. },
  52. [82]: {
  53. name: "meter",
  54. rpcUrl: "https://meter.blockpi.network/v1/rpc/public",
  55. isMainnet: true,
  56. contractAddress: "0xbFe3f445653f2136b2FD1e6DdDb5676392E3AF16",
  57. },
  58. [83]: {
  59. name: "meter_testnet",
  60. rpcUrl: "https://rpctest.meter.io",
  61. isMainnet: false,
  62. contractAddress: "0x5a71C07a0588074443545eE0c08fb0375564c3E4",
  63. },
  64. [88]: {
  65. name: "viction",
  66. rpcUrl: "https://viction.blockpi.network/v1/rpc/public",
  67. isMainnet: true,
  68. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  69. },
  70. [97]: {
  71. name: "bsc_testnet",
  72. rpcUrl: "https://bsc-testnet.drpc.org",
  73. isMainnet: false,
  74. contractAddress: "0x5744Cbf430D99456a0A8771208b674F27f8EF0Fb",
  75. },
  76. [100]: {
  77. name: "gnosis",
  78. rpcUrl: "https://rpc.gnosischain.com",
  79. isMainnet: true,
  80. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  81. },
  82. [137]: {
  83. name: "polygon",
  84. rpcUrl: "https://polygon-rpc.com",
  85. isMainnet: true,
  86. contractAddress: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C",
  87. },
  88. [148]: {
  89. name: "shimmer",
  90. rpcUrl: "https://json-rpc.evm.shimmer.network",
  91. isMainnet: true,
  92. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  93. },
  94. [169]: {
  95. name: "manta",
  96. rpcUrl: "https://pacific-rpc.manta.network/http",
  97. isMainnet: true,
  98. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  99. },
  100. [199]: {
  101. name: "bttc",
  102. rpcUrl: "https://rpc.bt.io",
  103. isMainnet: true,
  104. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  105. },
  106. [204]: {
  107. name: "opbnb",
  108. rpcUrl: "https://opbnb-mainnet-rpc.bnbchain.org",
  109. isMainnet: true,
  110. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  111. },
  112. [250]: {
  113. name: "fantom",
  114. rpcUrl: "https://rpc.ankr.com/fantom",
  115. isMainnet: true,
  116. contractAddress: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C",
  117. },
  118. [288]: {
  119. name: "boba",
  120. rpcUrl: "https://replica.boba.network",
  121. isMainnet: true,
  122. contractAddress: "0x4374e5a8b9C22271E9EB878A2AA31DE97DF15DAF",
  123. },
  124. [295]: {
  125. name: "hedera",
  126. rpcUrl: "https://mainnet.hashio.io/api",
  127. isMainnet: true,
  128. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  129. },
  130. [296]: {
  131. name: "hedera_testnet",
  132. rpcUrl: "https://testnet.hashio.io/api",
  133. isMainnet: false,
  134. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  135. },
  136. [300]: {
  137. name: "zksync_sepolia",
  138. rpcUrl: "https://sepolia.era.zksync.dev/",
  139. isMainnet: false,
  140. contractAddress: "0x056f829183Ec806A78c26C98961678c24faB71af",
  141. },
  142. [314]: {
  143. name: "filecoin",
  144. rpcUrl: "https://rpc.ankr.com/filecoin",
  145. isMainnet: true,
  146. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  147. },
  148. [321]: {
  149. name: "kcc",
  150. rpcUrl: "https://rpc-mainnet.kcc.network",
  151. isMainnet: true,
  152. contractAddress: "0xE0d0e68297772Dd5a1f1D99897c581E2082dbA5B",
  153. },
  154. [322]: {
  155. name: "kcc_testnet",
  156. rpcUrl: "https://rpc-testnet.kcc.network",
  157. isMainnet: false,
  158. contractAddress: "0x74f09cb3c7e2A01865f424FD14F6dc9A14E3e94E",
  159. },
  160. [324]: {
  161. name: "zksync",
  162. rpcUrl: "https://zksync2-mainnet.zksync.io",
  163. isMainnet: true,
  164. contractAddress: "0xf087c864AEccFb6A2Bf1Af6A0382B0d0f6c5D834",
  165. },
  166. [336]: {
  167. name: "movement_evm_devnet",
  168. rpcUrl: "https://mevm.devnet.m1.movementlabs.xyz/v1",
  169. isMainnet: false,
  170. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  171. },
  172. [338]: {
  173. name: "cronos_testnet",
  174. rpcUrl: "https://evm-t3.cronos.org",
  175. isMainnet: false,
  176. contractAddress: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320",
  177. },
  178. [646]: {
  179. name: "flow_previewnet",
  180. rpcUrl: "https://previewnet.evm.nodes.onflow.org",
  181. isMainnet: true,
  182. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  183. },
  184. [919]: {
  185. name: "mode_testnet",
  186. rpcUrl: "https://sepolia.mode.network/",
  187. isMainnet: false,
  188. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  189. },
  190. [987]: {
  191. name: "orange_testnet",
  192. rpcUrl: "https://subnets.avax.network/orangetest/testnet/rpc",
  193. isMainnet: false,
  194. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  195. },
  196. [1001]: {
  197. name: "kaia_testnet",
  198. rpcUrl: "https://rpc.ankr.com/klaytn_testnet",
  199. isMainnet: false,
  200. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  201. },
  202. [1024]: {
  203. name: "parallel",
  204. rpcUrl: "https://rpc.parallel.fi/",
  205. isMainnet: true,
  206. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  207. },
  208. [1029]: {
  209. name: "bttc_testnet",
  210. rpcUrl: "https://pre-rpc.bt.io",
  211. isMainnet: false,
  212. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  213. },
  214. [1030]: {
  215. name: "conflux_espace",
  216. rpcUrl: "https://evm.confluxrpc.org",
  217. isMainnet: true,
  218. contractAddress: "0xe9d69CdD6Fe41e7B621B4A688C5D1a68cB5c8ADc",
  219. },
  220. [1073]: {
  221. name: "shimmer_testnet",
  222. rpcUrl: "https://json-rpc.evm.testnet.shimmer.network",
  223. isMainnet: false,
  224. contractAddress: "0x8D254a21b3C86D32F7179855531CE99164721933",
  225. },
  226. [1101]: {
  227. name: "polygon_zkevm",
  228. rpcUrl: "https://zkevm-rpc.com",
  229. isMainnet: true,
  230. contractAddress: "0xC5E56d6b40F3e3B5fbfa266bCd35C37426537c65",
  231. },
  232. [1111]: {
  233. name: "wemix",
  234. rpcUrl: "https://api.wemix.com",
  235. isMainnet: true,
  236. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  237. },
  238. [1112]: {
  239. name: "wemix_testnet",
  240. rpcUrl: "https://api.test.wemix.com",
  241. isMainnet: false,
  242. contractAddress: "0x26DD80569a8B23768A1d80869Ed7339e07595E85",
  243. },
  244. [1115]: {
  245. name: "coredao_testnet",
  246. rpcUrl: "https://rpc.test.btcs.network",
  247. isMainnet: false,
  248. contractAddress: "0x8D254a21b3C86D32F7179855531CE99164721933",
  249. },
  250. [1116]: {
  251. name: "coredao",
  252. rpcUrl: "https://rpc.coredao.org",
  253. isMainnet: true,
  254. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  255. },
  256. [1315]: {
  257. name: "story_testnet",
  258. rpcUrl: "https://aeneid.storyrpc.io",
  259. isMainnet: false,
  260. contractAddress: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320",
  261. },
  262. [1328]: {
  263. name: "sei_evm_testnet",
  264. rpcUrl: "https://evm-rpc-testnet.sei-apis.com",
  265. isMainnet: false,
  266. contractAddress: "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320",
  267. },
  268. [1329]: {
  269. name: "sei_evm_mainnet",
  270. rpcUrl: "https://evm-rpc.sei-apis.com",
  271. isMainnet: true,
  272. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  273. },
  274. [1442]: {
  275. name: "polygon_zkevm_testnet",
  276. rpcUrl: "https://rpc.public.zkevm-test.net",
  277. isMainnet: false,
  278. contractAddress: "0xFf255f800044225f54Af4510332Aa3D67CC77635",
  279. },
  280. [1514]: {
  281. name: "story",
  282. rpcUrl: "https://homer.storyrpc.io",
  283. isMainnet: true,
  284. contractAddress: "0xD458261E832415CFd3BAE5E416FdF3230ce6F134",
  285. },
  286. [1625]: {
  287. name: "gravity",
  288. rpcUrl: "https://rpc.gravity.xyz/",
  289. isMainnet: true,
  290. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  291. },
  292. [1890]: {
  293. name: "lightlink_phoenix",
  294. rpcUrl: "https://replicator.phoenix.lightlink.io/rpc/v1",
  295. isMainnet: true,
  296. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  297. },
  298. [1891]: {
  299. name: "lightlink_pegasus_testnet",
  300. rpcUrl: "https://replicator.pegasus.lightlink.io/rpc/v1",
  301. isMainnet: false,
  302. contractAddress: "0x5D289Ad1CE59fCC25b6892e7A303dfFf3a9f7167",
  303. },
  304. [2020]: {
  305. name: "ronin",
  306. rpcUrl: `https://api.roninchain.com/rpc`,
  307. isMainnet: true,
  308. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  309. },
  310. [2021]: {
  311. name: "saigon",
  312. rpcUrl: `https://edgeware-evm0.jelliedowl.net`,
  313. isMainnet: false,
  314. contractAddress: "0xEbe57e8045F2F230872523bbff7374986E45C486",
  315. },
  316. [2221]: {
  317. name: "kava_testnet",
  318. rpcUrl: "https://evm.testnet.kava.io",
  319. isMainnet: false,
  320. contractAddress: "0xfA25E653b44586dBbe27eE9d252192F0e4956683",
  321. },
  322. [2222]: {
  323. name: "kava",
  324. rpcUrl: "https://kava-evm.publicnode.com",
  325. isMainnet: true,
  326. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  327. },
  328. [2424]: {
  329. name: "injective_inevm_testnet",
  330. rpcUrl: "https://inevm-testnet.rpc.caldera.xyz/http",
  331. isMainnet: false,
  332. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  333. },
  334. [2525]: {
  335. name: "injective_inevm",
  336. rpcUrl: "https://inevm.calderachain.xyz/http",
  337. isMainnet: true,
  338. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  339. },
  340. [2710]: {
  341. name: "morph_testnet",
  342. rpcUrl: "https://rpc-testnet.morphl2.io",
  343. isMainnet: false,
  344. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  345. },
  346. [2810]: {
  347. name: "morph_holesky_testnet",
  348. rpcUrl: "https://rpc-holesky.morphl2.io",
  349. isMainnet: false,
  350. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  351. },
  352. [2888]: {
  353. name: "boba_goerli",
  354. rpcUrl: "https://goerli.boba.network",
  355. isMainnet: false,
  356. contractAddress: "0x8D254a21b3C86D32F7179855531CE99164721933",
  357. },
  358. [3776]: {
  359. name: "astar_zkevm",
  360. rpcUrl: "https://rpc.startale.com/astar-zkevm",
  361. isMainnet: true,
  362. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  363. },
  364. [4002]: {
  365. name: "fantom_testnet",
  366. rpcUrl: `https://rpc.ankr.com/fantom_testnet`,
  367. isMainnet: false,
  368. contractAddress: "0x5744Cbf430D99456a0A8771208b674F27f8EF0Fb",
  369. },
  370. [4200]: {
  371. name: "merlin",
  372. rpcUrl: "https://rpc.merlinchain.io",
  373. isMainnet: true,
  374. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  375. },
  376. [5000]: {
  377. name: "mantle",
  378. rpcUrl: "https://rpc.mantle.xyz/",
  379. isMainnet: true,
  380. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  381. },
  382. [5003]: {
  383. name: "mantle_sepolia",
  384. rpcUrl: "https://rpc.sepolia.mantle.xyz",
  385. isMainnet: false,
  386. contractAddress: "0x98046Bd286715D3B0BC227Dd7a956b83D8978603",
  387. },
  388. [5611]: {
  389. name: "opbnb_testnet",
  390. rpcUrl: "https://opbnb-testnet-rpc.bnbchain.org",
  391. isMainnet: false,
  392. contractAddress: "0x41c9e39574F40Ad34c79f1C99B66A45eFB830d4c",
  393. },
  394. [7000]: {
  395. name: "zetachain",
  396. rpcUrl: "https://zetachain-evm.blockpi.network/v1/rpc/public",
  397. isMainnet: true,
  398. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  399. },
  400. [7001]: {
  401. name: "zetachain_testnet",
  402. rpcUrl: "https://zetachain-athens-evm.blockpi.network/v1/rpc/public",
  403. isMainnet: false,
  404. contractAddress: "0x0708325268dF9F66270F1401206434524814508b",
  405. },
  406. [7332]: {
  407. name: "horizen_eon",
  408. rpcUrl: "https://rpc.ankr.com/horizen_eon",
  409. isMainnet: true,
  410. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  411. },
  412. [7700]: {
  413. name: "canto",
  414. rpcUrl: "https://canto.slingshot.finance",
  415. isMainnet: true,
  416. contractAddress: "0x98046Bd286715D3B0BC227Dd7a956b83D8978603",
  417. },
  418. [7701]: {
  419. name: "canto_testnet",
  420. rpcUrl: "https://canto-testnet.plexnode.wtf",
  421. isMainnet: false,
  422. contractAddress: "0x26DD80569a8B23768A1d80869Ed7339e07595E85",
  423. },
  424. [8008]: {
  425. name: "polynomial",
  426. rpcUrl: "https://rpc.polynomial.fi/",
  427. isMainnet: true,
  428. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  429. },
  430. [8217]: {
  431. name: "kaia",
  432. rpcUrl: "https://rpc.ankr.com/klaytn",
  433. isMainnet: true,
  434. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  435. },
  436. [8453]: {
  437. name: "base",
  438. rpcUrl: "https://developer-access-mainnet.base.org/",
  439. isMainnet: true,
  440. contractAddress: "0x8250f4aF4B972684F7b336503E2D6dFeDeB1487a",
  441. },
  442. [9000]: {
  443. name: "evmos_testnet",
  444. rpcUrl: "https://jsonrpc-evmos-testnet.mzonder.com",
  445. isMainnet: false,
  446. contractAddress: "0x74f09cb3c7e2A01865f424FD14F6dc9A14E3e94E",
  447. },
  448. [9001]: {
  449. name: "evmos",
  450. rpcUrl: "https://evmos-evm.publicnode.com",
  451. isMainnet: true,
  452. contractAddress: "0x354bF866A4B006C9AF9d9e06d9364217A8616E12",
  453. },
  454. [9393]: {
  455. name: "dela_deperp_testnet",
  456. rpcUrl: "https://sepolia-dela.deperp.com",
  457. isMainnet: false,
  458. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  459. },
  460. [9659]: {
  461. name: "parallel_testnet",
  462. rpcUrl: "https://rpc-accused-coffee-koala-b9fn1dik76.t.conduit.xyz",
  463. isMainnet: false,
  464. contractAddress: "0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509",
  465. },
  466. [10_200]: {
  467. name: "chiado",
  468. rpcUrl: "https://rpc.chiadochain.net",
  469. isMainnet: false,
  470. contractAddress: "0x98046Bd286715D3B0BC227Dd7a956b83D8978603",
  471. },
  472. [15_557]: {
  473. name: "eos_testnet",
  474. rpcUrl: "https://api.testnet.evm.eosnetwork.com",
  475. isMainnet: false,
  476. contractAddress: "0x0708325268dF9F66270F1401206434524814508b",
  477. },
  478. [17_777]: {
  479. name: "eos",
  480. rpcUrl: "https://api.evm.eosnetwork.com",
  481. isMainnet: true,
  482. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  483. },
  484. [33_612]: {
  485. name: "dela_mithreum_deperp_testnet",
  486. rpcUrl: "https://mithreum-rpc-sepolia.deperp.com",
  487. isMainnet: false,
  488. contractAddress: "0xe9d69CdD6Fe41e7B621B4A688C5D1a68cB5c8ADc",
  489. },
  490. [34_443]: {
  491. name: "mode",
  492. rpcUrl: "https://mainnet.mode.network/",
  493. isMainnet: true,
  494. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  495. },
  496. [42_161]: {
  497. name: "arbitrum",
  498. rpcUrl: "https://arb1.arbitrum.io/rpc",
  499. isMainnet: true,
  500. contractAddress: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C",
  501. },
  502. [42_220]: {
  503. name: "celo",
  504. rpcUrl: "https://forno.celo.org",
  505. isMainnet: true,
  506. contractAddress: "0xff1a0f4744e8582DF1aE09D5611b887B6a12925C",
  507. },
  508. [42_766]: {
  509. name: "zkfair",
  510. rpcUrl: "https://rpc.zkfair.io",
  511. isMainnet: true,
  512. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  513. },
  514. [42_793]: {
  515. name: "etherlink",
  516. rpcUrl: "https://node.mainnet.etherlink.com/",
  517. isMainnet: true,
  518. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  519. },
  520. [43_113]: {
  521. name: "fuji",
  522. rpcUrl: "https://api.avax-test.network/ext/bc/C/rpc",
  523. isMainnet: false,
  524. contractAddress: "0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509",
  525. },
  526. [43_114]: {
  527. name: "avalanche",
  528. rpcUrl: "https://api.avax.network/ext/bc/C/rpc",
  529. isMainnet: true,
  530. contractAddress: "0x4305FB66699C3B2702D4d05CF36551390A4c69C6",
  531. },
  532. [43_851]: {
  533. name: "zkfair_testnet",
  534. rpcUrl: "https://testnet-rpc.zkfair.io",
  535. isMainnet: false,
  536. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  537. },
  538. [44_787]: {
  539. name: "celo_alfajores_testnet",
  540. rpcUrl: "https://alfajores-forno.celo-testnet.org",
  541. isMainnet: false,
  542. contractAddress: "0x74f09cb3c7e2A01865f424FD14F6dc9A14E3e94E",
  543. },
  544. [59_140]: {
  545. name: "linea_goerli",
  546. rpcUrl: `https://rpc.goerli.linea.build`,
  547. isMainnet: false,
  548. contractAddress: "0xdF21D137Aadc95588205586636710ca2890538d5",
  549. },
  550. [59_141]: {
  551. name: "linea_sepolia",
  552. rpcUrl: "https://rpc.sepolia.linea.build",
  553. isMainnet: false,
  554. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  555. },
  556. [59_144]: {
  557. name: "linea",
  558. rpcUrl: "https://linea.rpc.thirdweb.com",
  559. isMainnet: true,
  560. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  561. },
  562. [64_002]: {
  563. name: "idex_xchain_testnet",
  564. rpcUrl: "https://xchain-testnet-rpc.idex.io",
  565. isMainnet: false,
  566. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  567. },
  568. [80_002]: {
  569. name: "polygon_amoy",
  570. rpcUrl: "https://polygon-amoy-bor-rpc.publicnode.com",
  571. isMainnet: false,
  572. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  573. },
  574. [80_008]: {
  575. name: "polynomial_testnet",
  576. rpcUrl: "https://rpc-polynomial-network-testnet-x0tryg8u1c.t.conduit.xyz",
  577. isMainnet: false,
  578. contractAddress: "0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509",
  579. },
  580. [80_084]: {
  581. name: "berachain_testnet_v2",
  582. rpcUrl: "https://evm-rpc-bera.rhino-apis.com/",
  583. isMainnet: false,
  584. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  585. },
  586. [80_085]: {
  587. name: "berachain_testnet",
  588. rpcUrl: "https://rpc.ankr.com/berachain_testnet",
  589. isMainnet: false,
  590. contractAddress: "0x8D254a21b3C86D32F7179855531CE99164721933",
  591. },
  592. [81_457]: {
  593. name: "blast",
  594. rpcUrl: "https://rpc.blast.io",
  595. isMainnet: true,
  596. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  597. },
  598. [84_532]: {
  599. name: "base_sepolia",
  600. rpcUrl: "https://sepolia.base.org",
  601. isMainnet: false,
  602. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  603. },
  604. [88_882]: {
  605. name: "chiliz_spicy",
  606. rpcUrl: "https://spicy-rpc.chiliz.com",
  607. isMainnet: false,
  608. contractAddress: "0x23f0e8FAeE7bbb405E7A7C3d60138FCfd43d7509",
  609. },
  610. [88_888]: {
  611. name: "chiliz",
  612. rpcUrl: "https://rpc.ankr.com/chiliz",
  613. isMainnet: true,
  614. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  615. },
  616. [128_123]: {
  617. name: "etherlink_testnet",
  618. rpcUrl: "https://node.ghostnet.etherlink.com/",
  619. isMainnet: false,
  620. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  621. },
  622. [167_000]: {
  623. name: "taiko_mainnet",
  624. rpcUrl: "https://rpc.mainnet.taiko.xyz",
  625. isMainnet: true,
  626. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  627. },
  628. [167_009]: {
  629. name: "taiko_hekla",
  630. rpcUrl: "https://rpc.hekla.taiko.xyz/",
  631. isMainnet: false,
  632. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  633. },
  634. [314_159]: {
  635. name: "filecoin_calibration",
  636. rpcUrl: "https://rpc.ankr.com/filecoin_testnet",
  637. isMainnet: false,
  638. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  639. },
  640. [412_346]: {
  641. name: "syndr_nitro_testnet",
  642. rpcUrl: "https://syndr-nitro-testnet.calderachain.xyz/http",
  643. isMainnet: false,
  644. contractAddress: "0xEbe57e8045F2F230872523bbff7374986E45C486",
  645. },
  646. [421_614]: {
  647. name: "arbitrum_sepolia",
  648. rpcUrl: "https://sepolia-rollup.arbitrum.io/rpc",
  649. isMainnet: false,
  650. contractAddress: "0x4374e5a8b9C22271E9EB878A2AA31DE97DF15DAF",
  651. },
  652. [534_351]: {
  653. name: "scroll_sepolia",
  654. rpcUrl: "https://sepolia-rpc.scroll.io/",
  655. isMainnet: false,
  656. contractAddress: "0x41c9e39574F40Ad34c79f1C99B66A45eFB830d4c",
  657. },
  658. [534_352]: {
  659. name: "scroll",
  660. rpcUrl: "https://rpc.scroll.io",
  661. isMainnet: true,
  662. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  663. },
  664. [686_868]: {
  665. name: "merlin_testnet",
  666. rpcUrl: "https://testnet-rpc.merlinchain.io/",
  667. isMainnet: false,
  668. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  669. },
  670. [1_261_120]: {
  671. name: "astar_zkevm_testnet",
  672. rpcUrl: "https://rpc.zkatana.gelato.digital",
  673. isMainnet: false,
  674. contractAddress: "0x8D254a21b3C86D32F7179855531CE99164721933",
  675. },
  676. [3_441_005]: {
  677. name: "manta_testnet",
  678. rpcUrl: "https://manta-pacific-testnet.drpc.org",
  679. isMainnet: false,
  680. contractAddress: "0x41c9e39574F40Ad34c79f1C99B66A45eFB830d4c",
  681. },
  682. [3_441_006]: {
  683. name: "manta_sepolia",
  684. rpcUrl: "https://manta-sepolia.rpc.caldera.xyz/http",
  685. isMainnet: false,
  686. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  687. },
  688. [8_101_902]: {
  689. name: "olive_testnet",
  690. rpcUrl: "https://olive-network-testnet.rpc.caldera.xyz/http",
  691. isMainnet: false,
  692. contractAddress: "0x41c9e39574F40Ad34c79f1C99B66A45eFB830d4c",
  693. },
  694. [11_155_111]: {
  695. name: "sepolia",
  696. rpcUrl: `https://ethereum-sepolia-rpc.publicnode.com`,
  697. isMainnet: false,
  698. contractAddress: "0xDd24F84d36BF92C65F92307595335bdFab5Bbd21",
  699. },
  700. [11_155_420]: {
  701. name: "optimism_sepolia",
  702. rpcUrl: "https://sepolia.optimism.io",
  703. isMainnet: false,
  704. contractAddress: "0x0708325268dF9F66270F1401206434524814508b",
  705. },
  706. [94_204_209]: {
  707. name: "polygon_blackberry",
  708. rpcUrl: "https://rpc.polygon-blackberry.gelato.digital",
  709. isMainnet: false,
  710. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  711. },
  712. [123_420_111]: {
  713. name: "optimism_celestia_raspberry",
  714. rpcUrl: "https://rpc.opcelestia-raspberry.gelato.digital",
  715. isMainnet: false,
  716. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  717. },
  718. [168_587_773]: {
  719. name: "blast_s2_testnet",
  720. rpcUrl: "https://sepolia.blast.io",
  721. isMainnet: false,
  722. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  723. },
  724. [245_022_926]: {
  725. name: "neon_devnet",
  726. rpcUrl: "https://devnet.neonevm.org",
  727. isMainnet: false,
  728. contractAddress: "0x0708325268dF9F66270F1401206434524814508b",
  729. },
  730. [245_022_934]: {
  731. name: "neon",
  732. rpcUrl: "https://neon-evm.drpc.org",
  733. isMainnet: true,
  734. contractAddress: "0x7f2dB085eFC3560AFF33865dD727225d91B4f9A5",
  735. },
  736. [1_313_161_554]: {
  737. name: "aurora",
  738. rpcUrl: "https://mainnet.aurora.dev",
  739. isMainnet: true,
  740. contractAddress: "0xF89C7b475821EC3fDC2dC8099032c05c6c0c9AB9",
  741. },
  742. [1_313_161_555]: {
  743. name: "aurora_testnet",
  744. rpcUrl: "https://testnet.aurora.dev",
  745. isMainnet: false,
  746. contractAddress: "0x74f09cb3c7e2A01865f424FD14F6dc9A14E3e94E",
  747. },
  748. [1_802_203_764]: {
  749. name: "kakarot_sepolia",
  750. rpcUrl: "https://sepolia-rpc-priority.kakarot.org",
  751. isMainnet: false,
  752. contractAddress: "0xD458261E832415CFd3BAE5E416FdF3230ce6F134",
  753. },
  754. [88_153_591_557]: {
  755. name: "arbitrum_blueberry",
  756. rpcUrl: "https://rpc.arb-blueberry.gelato.digital",
  757. isMainnet: false,
  758. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  759. },
  760. [89]: {
  761. name: "viction_testnet",
  762. rpcUrl: "https://rpc-testnet.viction.xyz",
  763. isMainnet: false,
  764. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  765. },
  766. [1663]: {
  767. name: "horizen_gobi",
  768. rpcUrl: "https://rpc.ankr.com/horizen_gobi_testnet",
  769. isMainnet: false,
  770. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  771. },
  772. [6_038_361]: {
  773. name: "astar_zkyoto_testnet",
  774. rpcUrl: "https://rpc.startale.com/zkyoto",
  775. isMainnet: false,
  776. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  777. },
  778. [8822]: {
  779. name: "iota",
  780. rpcUrl: "https://json-rpc.evm.iotaledger.net",
  781. isMainnet: true,
  782. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  783. },
  784. [9789]: {
  785. name: "tabi_testnet",
  786. rpcUrl: "https://rpc-internal.testnet.tabichain.com/",
  787. isMainnet: false,
  788. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  789. },
  790. [1993]: {
  791. name: "b3_testnet",
  792. rpcUrl: "https://sepolia.b3.fun/http/",
  793. isMainnet: false,
  794. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  795. },
  796. [7887]: {
  797. name: "kinto",
  798. rpcUrl: "https://rpc.kinto-rpc.com",
  799. isMainnet: true,
  800. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  801. },
  802. [282]: {
  803. name: "cronos_zkevm_testnet",
  804. rpcUrl: "https://testnet.zkevm.cronos.org",
  805. isMainnet: false,
  806. contractAddress: "0x67DFF3D12dFDCeC9f85fd86f4cBDb0a111fF721A",
  807. },
  808. [89_346_162]: {
  809. name: "reya_testnet",
  810. rpcUrl: "https://rpc.reya-cronos.gelato.digital",
  811. isMainnet: false,
  812. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  813. },
  814. [8333]: {
  815. name: "b3_mainnet",
  816. rpcUrl: "https://mainnet-rpc.b3.fun/http",
  817. isMainnet: true,
  818. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  819. },
  820. [388]: {
  821. name: "cronos_zkevm_mainnet",
  822. rpcUrl: "https://mainnet.zkevm.cronos.org",
  823. isMainnet: true,
  824. contractAddress: "0x056f829183Ec806A78c26C98961678c24faB71af",
  825. },
  826. [30_732]: {
  827. name: "movement_evm_devnet_imola",
  828. rpcUrl: "https://mevm.devnet.imola.movementlabs.xyz",
  829. isMainnet: false,
  830. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  831. },
  832. [545]: {
  833. name: "flow_testnet",
  834. rpcUrl: "https://testnet.evm.nodes.onflow.org",
  835. isMainnet: false,
  836. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  837. },
  838. [94_524]: {
  839. name: "idex_xchain_mainnet",
  840. rpcUrl: "https://xchain-rpc.idex.io/",
  841. isMainnet: true,
  842. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  843. },
  844. [33_111]: {
  845. name: "apechain_testnet",
  846. rpcUrl: "https://curtis.rpc.caldera.xyz/http",
  847. isMainnet: false,
  848. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  849. },
  850. [1946]: {
  851. name: "soneium_minato_testnet",
  852. rpcUrl: "https://rpc.minato.soneium.org/",
  853. isMainnet: false,
  854. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  855. },
  856. [33_139]: {
  857. name: "apechain_mainnet",
  858. rpcUrl: "https://apechain.calderachain.xyz/http",
  859. isMainnet: true,
  860. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  861. },
  862. [747]: {
  863. name: "flow_mainnet",
  864. rpcUrl: "https://mainnet.evm.nodes.onflow.org",
  865. isMainnet: true,
  866. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  867. },
  868. [11_124]: {
  869. name: "abstract_testnet",
  870. rpcUrl: "https://api.testnet.abs.xyz",
  871. isMainnet: false,
  872. contractAddress: "0x47F2A9BDAd52d65b66287253cf5ca0D2b763b486",
  873. },
  874. [1996]: {
  875. name: "sanko",
  876. rpcUrl: "https://mainnet.sanko.xyz",
  877. isMainnet: true,
  878. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  879. },
  880. [1992]: {
  881. name: "sanko_testnet",
  882. rpcUrl: "https://sanko-arb-sepolia.rpc.caldera.xyz",
  883. isMainnet: false,
  884. contractAddress: "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729",
  885. },
  886. [1301]: {
  887. name: "unichain_sepolia",
  888. rpcUrl: "https://sepolia.unichain.org",
  889. isMainnet: false,
  890. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  891. },
  892. [64_165]: {
  893. name: "fantom_sonic_testnet",
  894. rpcUrl: "https://rpc.testnet.soniclabs.com",
  895. isMainnet: false,
  896. contractAddress: "0x96124d1F6E44FfDf1fb5D6d74BB2DE1B7Fbe7376",
  897. },
  898. [80_094]: {
  899. name: "berachain_mainnet",
  900. rpcUrl: "https://rpc.berachain.com",
  901. isMainnet: true,
  902. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  903. },
  904. [146]: {
  905. name: "sonic_mainnet",
  906. rpcUrl: " https://rpc.soniclabs.com",
  907. isMainnet: true,
  908. contractAddress: "0x2880aB155794e7179c9eE2e38200202908C17B43",
  909. },
  910. } satisfies Record<number, NetworkInfo>;
  911. export const NETWORK_IDS = Object.keys(NETWORK_INFO).map((key) =>
  912. Number.parseInt(key, 10),
  913. );