-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.ts
58 lines (56 loc) · 1.38 KB
/
hardhat.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import { HardhatUserConfig } from "hardhat/config";
import "hardhat-deploy";
import "hardhat-contract-sizer";
import "@nomicfoundation/hardhat-verify";
import "@nomicfoundation/hardhat-ethers";
import "@typechain/hardhat";
const config: HardhatUserConfig = {
solidity: {
version: "0.8.24",
settings: {
optimizer: {
enabled: true,
runs: 10_000,
},
},
},
networks: {
hardhat: {
deploy: ["./deploy/hardhat/"],
accounts: {
mnemonic:
"abstract vacuum mammal awkward pudding scene penalty purchase dinner depart evoke puzzle",
},
},
sepolia: {
deploy: ["./deploy/sepolia/"],
url: process.env.SEPOLIA_RPC_URL,
chainId: 11155111,
accounts: [process.env.DEPLOYER_PRIVATE_KEY!],
},
},
namedAccounts: {
deployer: {
hardhat: 0,
sepolia: "0x08C6fBA53BF2Ae19DBdC330E258B510c1C148e44",
},
},
etherscan: {
apiKey: {
sepolia: process.env.ETHERSCAN_API_KEY!,
edgelessSepoliaTestnet:
"You can enter any api key here, it doesn't matter ",
},
customChains: [
{
network: "edgelessSepoliaTestnet",
chainId: 202,
urls: {
apiURL: "https://edgeless-testnet.explorer.caldera.xyz/api/",
browserURL: "https://edgeless-testnet.explorer.caldera.xyz/",
},
},
],
},
};
export default config;