Skip to content

Commit

Permalink
Add default Goerli RPC (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
bertux authored Sep 9, 2023
1 parent 6466e3a commit 1d73d37
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions hardhat.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,26 @@ const {
} = process.env

const config: HardhatUserConfig = {
solidity: {
version: "0.8.19",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
},
defaultNetwork: "hardhat",
networks: {
'hardhat': {
chainId: 1337,
allowUnlimitedContractSize: true
},
'goerli': {
url: GOERLI_RPC_ENDPOINT_URL as string,
url: GOERLI_RPC_ENDPOINT_URL || "https://goerli.gateway.tenderly.co",
accounts: GOERLI_PRIVATE_KEY !== undefined ? [GOERLI_PRIVATE_KEY] : [],
}
},
solidity: {
version: "0.8.19",
settings: {
optimizer: {
enabled: true,
runs: 200
}
}
},
etherscan: {
apiKey: {
goerli: ETHERSCAN_API_KEY || ""
Expand Down

0 comments on commit 1d73d37

Please sign in to comment.