-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.js
58 lines (53 loc) · 1.57 KB
/
hardhat.config.js
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
require("@nomiclabs/hardhat-waffle");
require('@openzeppelin/hardhat-upgrades');
require("solidity-coverage");
require('hardhat-contract-sizer');
require("hardhat-gas-reporter");
const SEPOLIA_API_KEY = "...";
const GOERLI_API_KEY = "...";
const ETH_MAINNET_API_KEY = "...";
const POLYGON_API_KEY = "...";
const PRIVATE_KEY = "...";
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: "0.8.16",
networks: {
eth: {
url: "https://eth-rpc.gateway.pokt.network",
accounts: [`${PRIVATE_KEY}`]
},
bsc: {
url: "https://bsc-dataseed.binance.org/",
accounts: [`${PRIVATE_KEY}`]
},
tron: {
url: "http://grpc.shasta.trongrid.io:50051",
accounts: [`${PRIVATE_KEY}`]
},
goerli: {
url: `https://eth-goerli.g.alchemy.com/v2/${GOERLI_API_KEY}`,
accounts: [`${PRIVATE_KEY}`]
},
sepolia: {
url: `https://sepolia.infura.io/v3/${SEPOLIA_API_KEY}`,
accounts: [`${PRIVATE_KEY}`]
},
mainnet: {
url: `https://eth-mainnet.g.alchemy.com/v2/${ETH_MAINNET_API_KEY}`,
accounts: [`${PRIVATE_KEY}`]
},
polygon: {
url: `https://polygon-mainnet.g.alchemy.com/v2/${POLYGON_API_KEY}`,
accounts: [`${PRIVATE_KEY}`]
},
bsc_testnet: {
url: 'https://data-seed-prebsc-1-s3.binance.org:8545',
accounts: [`${PRIVATE_KEY}`]
}
},
gasReporter: {
enabled: true
}
};