@@ -174,6 +174,10 @@ pub enum Chain {
174
174
#[ strum( to_string = "mantle-testnet" ) ]
175
175
#[ serde( alias = "mantle_testnet" ) ]
176
176
MantleTestnet = 5001 ,
177
+
178
+ Zora = 7777777 ,
179
+ ZoraGoerli = 999 ,
180
+ ZoraSepolia = 999999999 ,
177
181
}
178
182
179
183
// === impl Chain ===
@@ -312,7 +316,9 @@ impl Chain {
312
316
Morden | Ropsten | Rinkeby | Goerli | Kovan | Sepolia | Holesky | Moonbase |
313
317
MoonbeamDev | OptimismKovan | Poa | Sokol | Rsk | EmeraldTestnet | Boba | Base |
314
318
BaseGoerli | ZkSync | ZkSyncTestnet | PolygonZkEvm | PolygonZkEvmTestnet | Metis |
315
- Linea | LineaTestnet | Mantle | MantleTestnet => return None ,
319
+ Linea | LineaTestnet | Mantle | MantleTestnet | Zora | ZoraGoerli | ZoraSepolia => {
320
+ return None
321
+ }
316
322
} ;
317
323
318
324
Some ( Duration :: from_millis ( ms) )
@@ -378,7 +384,10 @@ impl Chain {
378
384
LineaTestnet |
379
385
FilecoinCalibrationTestnet |
380
386
Gnosis |
381
- Chiado => false ,
387
+ Chiado |
388
+ Zora |
389
+ ZoraGoerli |
390
+ ZoraSepolia => false ,
382
391
383
392
// Unknown / not applicable, default to false for backwards compatibility
384
393
Dev | AnvilHardhat | Morden | Ropsten | Rinkeby | Cronos | CronosTestnet | Kovan |
@@ -571,10 +580,18 @@ impl Chain {
571
580
( "https://explorer.testnet.mantle.xyz/api" , "https://explorer.testnet.mantle.xyz" )
572
581
}
573
582
583
+ Zora => ( "https://explorer.zora.energy/api" , "https://explorer.zora.energy" ) ,
584
+ ZoraGoerli => {
585
+ ( "https://testnet.explorer.zora.energy/api" , "https://testnet.explorer.zora.energy" )
586
+ }
587
+ ZoraSepolia => {
588
+ ( "https://sepolia.explorer.zora.energy/api" , "https://sepolia.explorer.zora.energy" )
589
+ }
590
+
574
591
AnvilHardhat | Dev | Morden | MoonbeamDev | FilecoinMainnet => {
575
592
// this is explicitly exhaustive so we don't forget to add new urls when adding a
576
593
// new chain
577
- return None
594
+ return None ;
578
595
}
579
596
} ;
580
597
@@ -636,7 +653,7 @@ impl Chain {
636
653
637
654
Moonbeam | Moonbase | MoonbeamDev | Moonriver => "MOONSCAN_API_KEY" ,
638
655
639
- Canto | CantoTestnet => "BLOCKSCOUT_API_KEY" ,
656
+ Canto | CantoTestnet | Zora | ZoraGoerli | ZoraSepolia => "BLOCKSCOUT_API_KEY" ,
640
657
641
658
Boba => "BOBASCAN_API_KEY" ,
642
659
0 commit comments