File tree Expand file tree Collapse file tree 4 files changed +346
-46
lines changed Expand file tree Collapse file tree 4 files changed +346
-46
lines changed Original file line number Diff line number Diff line change 1- require ( "@nomicfoundation/hardhat-toolbox" ) ;
1+ import "@nomicfoundation/hardhat-ethers" ;
22
33/** @type import('hardhat/config').HardhatUserConfig */
44const config = {
55 solidity : "0.8.24" ,
6- networks : {
7- hardhat : { } ,
8- sepolia : {
9- url : process . env . SEPOLIA_RPC_URL || `https://sepolia.infura.io/v3/${ process . env . INFURA_API_KEY } ` ,
10- accounts : process . env . PRIVATE_KEY ? [ process . env . PRIVATE_KEY ] : [ ] ,
11- } ,
12- mainnet : {
13- url : process . env . MAINNET_RPC_URL || `https://mainnet.infura.io/v3/${ process . env . INFURA_API_KEY } ` ,
14- accounts : process . env . PRIVATE_KEY ? [ process . env . PRIVATE_KEY ] : [ ] ,
15- } ,
16- polygon : {
17- url : process . env . POLYGON_RPC_URL || `https://polygon-mainnet.infura.io/v3/${ process . env . INFURA_API_KEY } ` ,
18- accounts : process . env . PRIVATE_KEY ? [ process . env . PRIVATE_KEY ] : [ ] ,
19- } ,
20- bsc : {
21- url : process . env . BSC_RPC_URL || "https://bsc-dataseed1.binance.org" ,
22- accounts : process . env . PRIVATE_KEY ? [ process . env . PRIVATE_KEY ] : [ ] ,
23- } ,
24- } ,
25- gasReporter : {
26- enabled : process . env . REPORT_GAS !== undefined ,
27- currency : "USD" ,
28- } ,
29- etherscan : {
30- apiKey : process . env . ETHERSCAN_API_KEY ,
31- } ,
326} ;
337
34- module . exports = config ;
8+ export default config ;
You can’t perform that action at this time.
0 commit comments