-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathhardhat.config.ts
More file actions
48 lines (43 loc) · 1.16 KB
/
Copy pathhardhat.config.ts
File metadata and controls
48 lines (43 loc) · 1.16 KB
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
import { HardhatUserConfig } from "hardhat/config";
import "@gelatonetwork/web3-functions-sdk/hardhat-plugin";
import "@matterlabs/hardhat-zksync-deploy";
import "@matterlabs/hardhat-zksync-solc";
import "@matterlabs/hardhat-zksync-verify";
const config: HardhatUserConfig = {
w3f: {
rootDir: "./web3-functions",
debug: false,
networks: ["zkSyncEra"], //(multiChainProvider) injects provider for these networks
},
zksolc: {
version: "latest",
settings: {},
},
defaultNetwork: "zkSyncEra",
networks: {
hardhat: {
zksync: false,
},
zkSyncTestnet: {
url: "https://zksync2-testnet.zksync.dev",
ethNetwork: "goerli",
zksync: true,
// contract verification endpoint
verifyURL:
"https://zksync2-testnet-explorer.zksync.dev/contract_verification",
},
zkSyncEra: {
url: "https://mainnet.era.zksync.io",
ethNetwork: "mainnet",
zksync: true,
chainId: 324,
// contract verification endpoint
verifyURL:
"https://zksync2-mainnet-explorer.zksync.io/contract_verification",
},
},
solidity: {
version: "0.8.17",
},
};
export default config;