forked from Swap-Subnet/swap-subnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhardhat.config.js
More file actions
28 lines (26 loc) · 726 Bytes
/
Copy pathhardhat.config.js
File metadata and controls
28 lines (26 loc) · 726 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
require("@nomicfoundation/hardhat-toolbox");
dotenv = require("dotenv")
dotenv.config()
const accounts = {
mnemonic: process.env.MNEMONIC || "test test test test test test test test test test test junk",
accountsBalance: "100000000000000000000000000000",
}
/** @type import('hardhat/config').HardhatUserConfig */
module.exports = {
networks: {
hardhat: {
forking: {
url: process.env.ETHEREUM_MAINNET_PROVIDER_URL,
// blockNumber: 20233401,
// blockNumber: 20825292,
// blockNumber: 20874859
// blockNumber: 20892138
// blockNumber: 20976304
// blockNumber: 21080765
// latest
blockNumber: 21150770
},
accounts,
}
},
}