@@ -42,6 +42,9 @@ const config: HardhatUserConfig = {
4242 url : 'http://localhost:24012/rpc' ,
4343 timeout : 400000 ,
4444 } ,
45+ mainnet : {
46+ url : 'https://cloudflare-eth.com/' ,
47+ } ,
4548 xdai : {
4649 url : 'https://rpc.gnosischain.com/' ,
4750 } ,
@@ -66,13 +69,14 @@ const config: HardhatUserConfig = {
6669 } ,
6770 etherscan : {
6871 apiKey : {
69- polygon : process . env . POLYGON_API_KEY ,
70- optimisticEthereum : process . env . OPTIMISM_API_KEY ,
71- arbitrumOne : process . env . ARBITRUM_API_KEY ,
72- bsc : process . env . BSC_API_KEY ,
73- aurora : 'no' ,
74- xdai : 'no' ,
75- avalanche : process . env . AVALANCHE_API_KEY ,
72+ 'mainnet' : process . env . ETHEREUM_API_KEY ? process . env . ETHEREUM_API_KEY . toString ( ) : '' ,
73+ 'polygon' : process . env . POLYGON_API_KEY ? process . env . POLYGON_API_KEY . toString ( ) : '' ,
74+ 'optimisticEthereum' : process . env . OPTIMISM_API_KEY ? process . env . OPTIMISM_API_KEY . toString ( ) : '' ,
75+ 'arbitrumOne' : process . env . ARBITRUM_API_KEY ? process . env . ARBITRUM_API_KEY . toString ( ) : '' ,
76+ 'bsc' : process . env . BSC_API_KEY ? process . env . BSC_API_KEY . toString ( ) : '' ,
77+ 'aurora' : 'no' ,
78+ 'gnosis' : process . env . GNOSIS_API_KEY ? process . env . GNOSIS_API_KEY . toString ( ) : '' ,
79+ 'avalanche' : process . env . AVALANCHE_API_KEY ? process . env . AVALANCHE_API_KEY . toString ( ) : '' ,
7680 } ,
7781 } ,
7882 docgen : {
0 commit comments