forked from matter-labs/zksync-withdrawal-finalizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.js
42 lines (40 loc) · 1.11 KB
/
hardhat.config.js
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
require("@nomicfoundation/hardhat-toolbox");
require("@nomiclabs/hardhat-solpp");
require('dotenv').config();
require("./scripts/deploy");
const config = {
ZKSYNC_ADDRESS: process.env.CONTRACTS_DIAMOND_PROXY_ADDR,
ERC20_BRIDGE_ADDRESS: process.env.CONTRACTS_L1_ERC20_BRIDGE_PROXY_ADDR
};
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: "0.8.19",
solpp: {
defs: config
},
paths: {
cache: "contracts/cache",
artifacts: "contracts/artifacts",
},
networks: {
lineatest: {
url: process.env.ETH_CLIENT_HTTP_URL,
accounts: [process.env.WITHDRAWAL_FINALIZER_ACCOUNT_PRIVATE_KEY]
}
},
etherscan: {
apiKey: {
lineatest: process.env.MISC_ETHERSCAN_API_KEY
},
customChains: [
{
network: "lineatest",
chainId: 59140,
urls: {
apiURL: "https://api-testnet.lineascan.build/api",
browserURL: "https://goerli.lineascan.build"
}
}
]
}
};