forked from metta2085/pyth-oracles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhardhat.config.zksync.ts
More file actions
37 lines (35 loc) · 890 Bytes
/
hardhat.config.zksync.ts
File metadata and controls
37 lines (35 loc) · 890 Bytes
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
import { HardhatUserConfig } from "hardhat/config";
import "@matterlabs/hardhat-zksync-toolbox";
const config: HardhatUserConfig = {
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://zksync2-mainnet.zksync.io",
ethNetwork: "mainnet",
zksync: true,
// chainId: 324,
// contract verification endpoint
verifyURL:
"https://zksync2-mainnet-explorer.zksync.io/contract_verification",
},
},
solidity: {
version: "0.8.20",
},
};
export default config;