forked from paco0x/snx-liquidator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
hardhat.config.ts
35 lines (32 loc) · 855 Bytes
/
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
import { HardhatUserConfig } from 'hardhat/config';
import '@typechain/hardhat';
import '@nomiclabs/hardhat-waffle';
import operator from './.secret';
const config: HardhatUserConfig = {
solidity: { version: '0.8.4' },
networks: {
hardhat: {
// loggingEnabled: true,
forking: {
url: 'https://eth-mainnet.alchemyapi.io/v2/iAHwO4-koDDdXeemLhT-4i8jsx8phFnb',
enabled: true,
blockNumber: 12697464,
},
},
mainnet: {
url: 'https://mainnet.infura.io/v3/3a57292f72e4472b8ac896816a27d51f',
accounts: [operator.private],
},
rinkeby: {
url: 'https://rinkeby.infura.io/v3/b042a80255fa41e5a2f22f53e3190b44',
accounts: [operator.private],
},
},
mocha: {
timeout: 300000,
},
};
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = config;