forked from CUIT-CBI/dapp-lesson2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.ts
43 lines (41 loc) · 1.05 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
import { HardhatUserConfig } from "hardhat/config";
import "@nomicfoundation/hardhat-toolbox";
const config: HardhatUserConfig = {
defaultNetwork: "localhost",
networks: {
hardhat: {},
rinkeby: {
url: "https://eth-rinkeby.alchemyapi.io/v2/123abc123abc123abc123abc123abcde",
},
localhost: {
url: "http://127.0.0.1:8545/",
accounts: ["0xdf57089febbacf7ba0bc227dafbffa9fc08a93fdc68e1e42411a14efcf23656e", "0xde9be858da4a475276426320d5e9262ecfc3ba460bfac56360bfa6c4c28b4ee0"]
},
heco_testnet: {
url: "https://http-testnet.hecochain.com",
chainId: 256,
},
heco_mainnet: {
url: "https://http-mainnet.hecochain.com",
chainId: 128,
},
bsc_testnet: {
url: "https://data-seed-prebsc-1-s1.binance.org:8545",
chainId: 97,
},
bsc_mainnet: {
url: "https://bsc-dataseed1.binance.org",
chainId: 56,
},
},
solidity: {
version: "0.8.17",
settings: {
optimizer: {
enabled: true,
runs: 200,
},
},
},
};
export default config;