-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.ts
40 lines (38 loc) · 1.06 KB
/
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
36
37
38
39
40
import "@nomicfoundation/hardhat-toolbox"
import "@truffle/dashboard-hardhat-plugin"
import { HardhatUserConfig } from "hardhat/config"
import "solidity-coverage"
const config: HardhatUserConfig = {
defaultNetwork: "hardhat",
solidity: {
compilers: [
{
version: "0.8.25",
settings: {
evmVersion: "istanbul",
optimizer: {
enabled: true,
runs: 200,
},
},
},
],
},
networks: {
hardhat: {
allowUnlimitedContractSize: true,
blockGasLimit: 130_000_000,
},
bscTestnet: {
url: "https://data-seed-prebsc-1-s1.binance.org:8545",
chainId: 97,
//accounts: [ process.env.PRIVATE_KEY || ""],
},
bsc: {
url: "https://bsc-dataseed.binance.org/",
chainId: 56,
//accounts: [ process.env.PRIVATE_KEY || ""],
},
},
}
export default config