-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhardhat.config.ts
58 lines (56 loc) · 1.33 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
require("dotenv").config();
const config: HardhatUserConfig = {
networks: {
hardhat: {
chainId: 1337,
blockGasLimit: 1000000000,
allowUnlimitedContractSize: true,
// forking: {
// url: "https://goerli.infura.io/v3/bb621c9372d048979f8677ba78fe41d7"
// },
},
goerli: {
url: "https://goerli.infura.io/v3/bb621c9372d048979f8677ba78fe41d7",
accounts: ["0x" + process.env.PRIVATE_KEY],
},
harmony_testnet: {
url: "https://api.s0.b.hmny.io",
accounts: ["0x" + process.env.PRIVATE_KEY],
},
aurora_testnet: {
url: "https://testnet.aurora.dev",
accounts: ["0x" + process.env.PRIVATE_KEY],
chainId: 1313161555,
timeout: 2000000,
},
bttc_donau: {
url: 'https://pre-rpc.bt.io/',
accounts: ["0x" + process.env.PRIVATE_KEY]
},
localhost:{
url: "http://localhost:8545"
}
},
solidity: {
compilers: [
{
version: "0.8.6",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
// viaIR: true,
},
},
],
},
etherscan: {
apiKey: {
auroraTestnet: 'KXKDYB8C31DM98X1UXY3WZPIPE96B752KU',
}
},
};
export default config;