1
- import { BLAST_API_KEY , RONIN_API_KEY } from "./isomorphic-config" ;
2
-
3
1
export const getContractAddress = ( networkId : number ) =>
4
2
isSupportedNetwork ( networkId )
5
3
? NETWORK_INFO [ networkId ] . contractAddress
@@ -27,7 +25,7 @@ type NetworkInfo = {
27
25
export const NETWORK_INFO = {
28
26
[ 1 ] : {
29
27
name : "ethereum" ,
30
- rpcUrl : `https://eth-mainnet.blastapi.io/ ${ BLAST_API_KEY } ` ,
28
+ rpcUrl : `https://eth.llamarpc.com ` ,
31
29
isMainnet : true ,
32
30
contractAddress : "0x4305FB66699C3B2702D4d05CF36551390A4c69C6" ,
33
31
} ,
@@ -297,13 +295,13 @@ export const NETWORK_INFO = {
297
295
} ,
298
296
[ 2020 ] : {
299
297
name : "ronin" ,
300
- rpcUrl : `https://api-gateway.skymavis .com/rpc?apikey= ${ RONIN_API_KEY } ` ,
298
+ rpcUrl : `https://api.roninchain .com/rpc` ,
301
299
isMainnet : true ,
302
300
contractAddress : "0x2880aB155794e7179c9eE2e38200202908C17B43" ,
303
301
} ,
304
302
[ 2021 ] : {
305
303
name : "saigon" ,
306
- rpcUrl : `https://api-gateway.skymavis.com/rpc/testnet?apikey= ${ RONIN_API_KEY } ` ,
304
+ rpcUrl : `https://edgeware-evm0.jelliedowl.net ` ,
307
305
isMainnet : false ,
308
306
contractAddress : "0xEbe57e8045F2F230872523bbff7374986E45C486" ,
309
307
} ,
@@ -357,7 +355,7 @@ export const NETWORK_INFO = {
357
355
} ,
358
356
[ 4002 ] : {
359
357
name : "fantom_testnet" ,
360
- rpcUrl : `https://fantom-testnet.blastapi.io/ ${ BLAST_API_KEY } ` ,
358
+ rpcUrl : `https://rpc.ankr.com/fantom_testnet ` ,
361
359
isMainnet : false ,
362
360
contractAddress : "0x5744Cbf430D99456a0A8771208b674F27f8EF0Fb" ,
363
361
} ,
@@ -537,7 +535,7 @@ export const NETWORK_INFO = {
537
535
} ,
538
536
[ 59_140 ] : {
539
537
name : "linea_goerli" ,
540
- rpcUrl : `https://linea- goerli.blastapi.io/ ${ BLAST_API_KEY } ` ,
538
+ rpcUrl : `https://rpc. goerli.linea.build ` ,
541
539
isMainnet : false ,
542
540
contractAddress : "0xdF21D137Aadc95588205586636710ca2890538d5" ,
543
541
} ,
@@ -559,18 +557,6 @@ export const NETWORK_INFO = {
559
557
isMainnet : false ,
560
558
contractAddress : "0x2880aB155794e7179c9eE2e38200202908C17B43" ,
561
559
} ,
562
- [ 64_165 ] : {
563
- name : "fantom_sonic_testnet" ,
564
- rpcUrl : "https://rpc.sonic.fantom.network/" ,
565
- isMainnet : false ,
566
- contractAddress : "0x36825bf3Fbdf5a29E2d5148bfe7Dcf7B5639e320" ,
567
- } ,
568
- [ 80_001 ] : {
569
- name : "mumbai" ,
570
- rpcUrl : `https://polygon-testnet.blastapi.io/${ BLAST_API_KEY } ` ,
571
- isMainnet : false ,
572
- contractAddress : "0xFC6bd9F9f0c6481c6Af3A7Eb46b296A5B85ed379" ,
573
- } ,
574
560
[ 80_002 ] : {
575
561
name : "polygon_amoy" ,
576
562
rpcUrl : "https://polygon-amoy-bor-rpc.publicnode.com" ,
@@ -699,7 +685,7 @@ export const NETWORK_INFO = {
699
685
} ,
700
686
[ 11_155_111 ] : {
701
687
name : "sepolia" ,
702
- rpcUrl : `https://eth -sepolia.blastapi.io/ ${ BLAST_API_KEY } ` ,
688
+ rpcUrl : `https://ethereum -sepolia-rpc.publicnode.com ` ,
703
689
isMainnet : false ,
704
690
contractAddress : "0xDd24F84d36BF92C65F92307595335bdFab5Bbd21" ,
705
691
} ,
@@ -763,6 +749,144 @@ export const NETWORK_INFO = {
763
749
isMainnet : false ,
764
750
contractAddress : "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" ,
765
751
} ,
752
+ [ 89 ] : {
753
+ name : "viction_testnet" ,
754
+ rpcUrl : "https://rpc-testnet.viction.xyz" ,
755
+ isMainnet : false ,
756
+ contractAddress : "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" ,
757
+ } ,
758
+ [ 1663 ] : {
759
+ name : "horizen_gobi" ,
760
+ rpcUrl : "https://rpc.ankr.com/horizen_gobi_testnet" ,
761
+ isMainnet : false ,
762
+ contractAddress : "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" ,
763
+ } ,
764
+ [ 6_038_361 ] : {
765
+ name : "astar_zkyoto_testnet" ,
766
+ rpcUrl : "https://rpc.startale.com/zkyoto" ,
767
+ isMainnet : false ,
768
+ contractAddress : "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" ,
769
+ } ,
770
+ [ 8822 ] : {
771
+ name : "iota" ,
772
+ rpcUrl : "https://json-rpc.evm.iotaledger.net" ,
773
+ isMainnet : true ,
774
+ contractAddress : "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" ,
775
+ } ,
776
+ [ 9789 ] : {
777
+ name : "tabi_testnet" ,
778
+ rpcUrl : "https://rpc-internal.testnet.tabichain.com/" ,
779
+ isMainnet : false ,
780
+ contractAddress : "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" ,
781
+ } ,
782
+ [ 1993 ] : {
783
+ name : "b3_testnet" ,
784
+ rpcUrl : "https://sepolia.b3.fun/http/" ,
785
+ isMainnet : false ,
786
+ contractAddress : "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" ,
787
+ } ,
788
+ [ 7887 ] : {
789
+ name : "kinto" ,
790
+ rpcUrl : "https://rpc.kinto-rpc.com" ,
791
+ isMainnet : true ,
792
+ contractAddress : "0x2880aB155794e7179c9eE2e38200202908C17B43" ,
793
+ } ,
794
+ [ 282 ] : {
795
+ name : "cronos_zkevm_testnet" ,
796
+ rpcUrl : "https://testnet.zkevm.cronos.org" ,
797
+ isMainnet : false ,
798
+ contractAddress : "0x67DFF3D12dFDCeC9f85fd86f4cBDb0a111fF721A" ,
799
+ } ,
800
+ [ 89_346_162 ] : {
801
+ name : "reya_testnet" ,
802
+ rpcUrl : "https://rpc.reya-cronos.gelato.digital" ,
803
+ isMainnet : false ,
804
+ contractAddress : "0x2880aB155794e7179c9eE2e38200202908C17B43" ,
805
+ } ,
806
+ [ 8333 ] : {
807
+ name : "b3_mainnet" ,
808
+ rpcUrl : "https://mainnet-rpc.b3.fun/http" ,
809
+ isMainnet : true ,
810
+ contractAddress : "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" ,
811
+ } ,
812
+ [ 388 ] : {
813
+ name : "cronos_zkevm_mainnet" ,
814
+ rpcUrl : "https://mainnet.zkevm.cronos.org" ,
815
+ isMainnet : true ,
816
+ contractAddress : "0x056f829183Ec806A78c26C98961678c24faB71af" ,
817
+ } ,
818
+ [ 30_732 ] : {
819
+ name : "movement_evm_devnet_imola" ,
820
+ rpcUrl : "https://mevm.devnet.imola.movementlabs.xyz" ,
821
+ isMainnet : false ,
822
+ contractAddress : "0x2880aB155794e7179c9eE2e38200202908C17B43" ,
823
+ } ,
824
+ [ 545 ] : {
825
+ name : "flow_testnet" ,
826
+ rpcUrl : "https://testnet.evm.nodes.onflow.org" ,
827
+ isMainnet : false ,
828
+ contractAddress : "0x2880aB155794e7179c9eE2e38200202908C17B43" ,
829
+ } ,
830
+ [ 94_524 ] : {
831
+ name : "idex_xchain_mainnet" ,
832
+ rpcUrl : "https://xchain-rpc.idex.io/" ,
833
+ isMainnet : true ,
834
+ contractAddress : "0x2880aB155794e7179c9eE2e38200202908C17B43" ,
835
+ } ,
836
+ [ 33_111 ] : {
837
+ name : "apechain_testnet" ,
838
+ rpcUrl : "https://curtis.rpc.caldera.xyz/http" ,
839
+ isMainnet : false ,
840
+ contractAddress : "0x2880aB155794e7179c9eE2e38200202908C17B43" ,
841
+ } ,
842
+ [ 1946 ] : {
843
+ name : "soneium_minato_testnet" ,
844
+ rpcUrl : "https://rpc.minato.soneium.org/" ,
845
+ isMainnet : false ,
846
+ contractAddress : "0x2880aB155794e7179c9eE2e38200202908C17B43" ,
847
+ } ,
848
+ [ 33_139 ] : {
849
+ name : "apechain_mainnet" ,
850
+ rpcUrl : "https://apechain.calderachain.xyz/http" ,
851
+ isMainnet : true ,
852
+ contractAddress : "0x2880aB155794e7179c9eE2e38200202908C17B43" ,
853
+ } ,
854
+ [ 747 ] : {
855
+ name : "flow_mainnet" ,
856
+ rpcUrl : "https://mainnet.evm.nodes.onflow.org" ,
857
+ isMainnet : true ,
858
+ contractAddress : "0x2880aB155794e7179c9eE2e38200202908C17B43" ,
859
+ } ,
860
+ [ 11_124 ] : {
861
+ name : "abstract_testnet" ,
862
+ rpcUrl : "https://api.testnet.abs.xyz" ,
863
+ isMainnet : false ,
864
+ contractAddress : "0x47F2A9BDAd52d65b66287253cf5ca0D2b763b486" ,
865
+ } ,
866
+ [ 1996 ] : {
867
+ name : "sanko" ,
868
+ rpcUrl : "https://mainnet.sanko.xyz" ,
869
+ isMainnet : true ,
870
+ contractAddress : "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" ,
871
+ } ,
872
+ [ 1992 ] : {
873
+ name : "sanko_testnet" ,
874
+ rpcUrl : "https://sanko-arb-sepolia.rpc.caldera.xyz" ,
875
+ isMainnet : false ,
876
+ contractAddress : "0xA2aa501b19aff244D90cc15a4Cf739D2725B5729" ,
877
+ } ,
878
+ [ 1301 ] : {
879
+ name : "unichain_sepolia" ,
880
+ rpcUrl : "https://sepolia.unichain.org" ,
881
+ isMainnet : false ,
882
+ contractAddress : "0x2880aB155794e7179c9eE2e38200202908C17B43" ,
883
+ } ,
884
+ [ 64_165 ] : {
885
+ name : "fantom_sonic_testnet" ,
886
+ rpcUrl : "https://rpc.testnet.soniclabs.com" ,
887
+ isMainnet : false ,
888
+ contractAddress : "0x96124d1F6E44FfDf1fb5D6d74BB2DE1B7Fbe7376" ,
889
+ } ,
766
890
} satisfies Record < number , NetworkInfo > ;
767
891
768
892
export const NETWORK_IDS = Object . keys ( NETWORK_INFO ) . map ( ( key ) =>
0 commit comments