Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ninokeldishvili committed May 3, 2024
1 parent 29ad950 commit 770f28f
Showing 1 changed file with 61 additions and 61 deletions.
122 changes: 61 additions & 61 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,73 +7,73 @@ import "@nomiclabs/hardhat-etherscan";
require("dotenv").config();

const {
PRIVATE_KEY,
POLYGON_URL,
ETHEREUM_URL,
POLYGONSCAN_API_KEY,
ETHERSCAN_API_KEY,
SEPOLIA_URL,
POLYGON_AMOY_URL,
PRIVATE_KEY,
POLYGON_URL,
ETHEREUM_URL,
POLYGONSCAN_API_KEY,
ETHERSCAN_API_KEY,
SEPOLIA_URL,
POLYGON_AMOY_URL,
} = process.env;

export const config = {
networks: {
// Running 'hardhat test' will use this network, which forks mainnet using the "london" hardfork
hardhat: {
blockGasLimit: 100000000,
allowUnlimitedContractSize: true,
hardfork: "london",
},
matic: {
url: POLYGON_URL || "",
accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [],
gasPrice: 141900000000,
},
ethereum: {
url: ETHEREUM_URL || "",
accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [],
gasPrice: 22000000000,
},
sepolia: {
chainId: 11155111,
url: SEPOLIA_URL || "",
accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [],
gasPrice: 22000000000,
},
amoy: {
chainId: 80002,
url: POLYGON_AMOY_URL || "",
accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [],
gasPrice: 22000000000,
},

// arbitrumSepolia: {
// url: ARBITRUM_SEPOLIA_URL || "",
// accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [],
// gasPrice: 22000000000,
// },
networks: {
// Running 'hardhat test' will use this network, which forks mainnet using the "london" hardfork
hardhat: {
blockGasLimit: 100000000,
allowUnlimitedContractSize: true,
hardfork: "london",
},
matic: {
url: POLYGON_URL || "",
accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [],
gasPrice: 141900000000,
},
solidity: {
compilers: [
{
version: "0.8.17",
settings: {
optimizer: {
enabled: true,
runs: 100000,
},
},
},
],
ethereum: {
url: ETHEREUM_URL || "",
accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [],
gasPrice: 22000000000,
},
etherscan: {
// Your API key for Etherscan
// Obtain one at https://etherscan.io/
apiKey: ETHERSCAN_API_KEY,
sepolia: {
chainId: 11155111,
url: SEPOLIA_URL || "",
accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [],
gasPrice: 22000000000,
},
gasReporter: {
currency: "USD",
gasPrice: 10,
amoy: {
chainId: 80002,
url: POLYGON_AMOY_URL || "",
accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [],
gasPrice: 22000000000,
},

// arbitrumSepolia: {
// url: ARBITRUM_SEPOLIA_URL || "",
// accounts: PRIVATE_KEY ? [`0x${PRIVATE_KEY}`] : [],
// gasPrice: 22000000000,
// },
},
solidity: {
compilers: [
{
version: "0.8.17",
settings: {
optimizer: {
enabled: true,
runs: 100000,
},
},
},
],
},
etherscan: {
// Your API key for Etherscan
// Obtain one at https://etherscan.io/
apiKey: ETHERSCAN_API_KEY,
},
gasReporter: {
currency: "USD",
gasPrice: 10,
},
};
export default config;

0 comments on commit 770f28f

Please sign in to comment.