forked from alxrnz2/ERC1155-with-EIP2981-for-OpenSea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhardhat.config.js
37 lines (34 loc) · 884 Bytes
/
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
require("@nomiclabs/hardhat-waffle");
require("@nomiclabs/hardhat-ethers");
require("@nomiclabs/hardhat-etherscan");
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
solidity: "0.8.2",
defaultNetwork: "hardhat",
networks: {
hardhat: {
},
mumbai: {
url: "https://rpc-mumbai.maticvigil.com",
accounts: ["<ADD WALLET PRIVATE KEY>"]
},
polygon: {
url: "https://polygon-mainnet.infura.io/v3/<ADD API KEY>",
accounts: ["<ADD WALLET PRIVATE KEY>"]
},
rinkeby: {
url: "https://rinkeby.infura.io/v3/<ADD API KEY>",
accounts: ["<ADD WALLET PRIVATE KEY>"]
},
ethereum: {
url: "https://mainnet.infura.io/v3/<ADD API KEY>",
accounts: ["<ADD WALLET PRIVATE KEY>"]
}
},
etherscan: {
// Your API key for Etherscan or Polygonscan
apiKey: "<ADD API KEY>"
},
};