-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhardhat.config.js
More file actions
49 lines (48 loc) · 1.38 KB
/
hardhat.config.js
File metadata and controls
49 lines (48 loc) · 1.38 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
49
require("@nomicfoundation/hardhat-toolbox");
require("dotenv").config()
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
solidity: "0.8.27",
networks: {
hardhat: {
},
hyperEvmTestnet: {
accounts: [process.env.PRIVATE_KEY],
chainId: 998,
url: 'https://api.hyperliquid-testnet.xyz/evm',
},
hyperEvm: {
accounts: [process.env.PRIVATE_KEY_MAINNET || process.env.PRIVATE_KEY],
chainId: 0,
url: 'https://api.hyperliquid.xyz/evm',
}
},
sourcify: {
enabled: true,
apiUrl: "https://sourcify.parsec.finance",
browserUrl: "https://sourcify.parsec.finance/",
},
etherscan: {
apiKey: {
hyperEvmTestnet: "empty"
},
customChains: [
{
network: "hyperEvmTestnet",
chainId: 998,
urls: {
apiURL: "https://sourcify.parsec.finance",
browserURL: "https://sourcify.parsec.finance/"
}
},
{
network: "hyperEvm",
chainId: 0,
urls: {
apiURL: "https://sourcify.parsec.finance",
browserURL: "https://sourcify.parsec.finance/"
}
}
]
}
};