-
Notifications
You must be signed in to change notification settings - Fork 0
/
hardhat.config.js
44 lines (43 loc) · 948 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
38
39
40
41
42
43
44
require("@nomiclabs/hardhat-waffle");
require("dotenv").config();
/**
* @type import('hardhat/config').HardhatUserConfig
*/
module.exports = {
defaultNetwork: "localhost",
networks: {
aurora: {
url: `https://mainnet.aurora.dev`,
accounts: [process.env.privateKey],
},
auroraTestnet: {
url: `https://testnet.aurora.dev`,
accounts: [process.env.privateKey],
},
fantom: {
url: `https://rpc.ftm.tools/`,
accounts: [process.env.privateKey],
},
sepolia: {
url: `https://rpc.sepolia.org`,
accounts: [process.env.privateKey],
},
localhost: {
url: `http://127.0.0.1:8545`,
accounts: [process.env.privateKey],
},
},
hardhat: {
forking: {
url: process.env.MAINNET_RPC_URL_INFURA,
},
chainId: 1,
},
solidity: {
compilers: [
{ version: "0.8.7" },
{ version: "0.7.6" },
{ version: "0.6.6" },
],
},
};